VOOZH about

URL: https://www.nuget.org/packages/Ansight.Tools.Preferences/

⇱ NuGet Gallery | Ansight.Tools.Preferences 0.1.0




👁 Image
Ansight.Tools.Preferences 0.1.0

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Ansight.Tools.Preferences --version 0.1.0
 
 
NuGet\Install-Package Ansight.Tools.Preferences -Version 0.1.0
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Ansight.Tools.Preferences" Version="0.1.0" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ansight.Tools.Preferences" Version="0.1.0" />
 
Directory.Packages.props
<PackageReference Include="Ansight.Tools.Preferences" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Ansight.Tools.Preferences --version 0.1.0
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Ansight.Tools.Preferences, 0.1.0"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Ansight.Tools.Preferences@0.1.0
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Ansight.Tools.Preferences&version=0.1.0
 
Install as a Cake Addin
#tool nuget:?package=Ansight.Tools.Preferences&version=0.1.0
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Ansight.Tools.Preferences

Grouped shared-preferences and user-defaults tool registrations for the Ansight .NET SDK.

License

The Ansight SDK is source-available software under the Ansight SDK Source-Available License. It is not open-source software. Production use is licensed only for use with Ansight Services.

Registered tools:

  • prefs.list_keys
  • prefs.get_value
  • prefs.set_value
  • prefs.remove_key

Usage

using Ansight;
using Ansight.Tools.Preferences;

var options = Options.CreateBuilder()
 .WithPreferencesTools(preferences =>
 {
 preferences.AllowKeyPrefix("ansight.");
 })
 .WithReadWriteToolAccess()
 .Build();

prefs.remove_key is delete-scoped. Use WithAllToolAccess() or a custom ToolGuard if you want delete operations to execute.

Restrictions

Preferences tools can be constrained at registration time:

  • AllowStore(...) / AllowStores(...)
  • AllowKey(...) / AllowKeys(...)
  • AllowKeyPrefix(...) / AllowKeyPrefixes(...)
  • WithDefaultStore(...)

When a value is not a plain string, the tool returns a string representation and a valueType. string_array values are represented as JSON arrays encoded in the value field.

These tools are intended for local debugging only and may expose sensitive application data.

Build-time remote tool policy

Projects that reference this package are covered by AnsightRemoteToolsPolicy. The default AllowedWithWarnings policy logs detected tool type and assembly details and emits a build warning when remote tools are included. Because this package contains remote tools, Disallowed only succeeds when the package is omitted from that build, for example with Debug-only package references. Use Allowed to bypass remote tool scanning and warnings. Set AnsightLogRemoteTools=false to suppress the detected-tool list.

Product Versions Compatible and additional computed target framework versions.
.NET net9.0 net9.0 is compatible.  net9.0-android net9.0-android was computed.  net9.0-android35.0 net9.0-android35.0 is compatible.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-ios18.0 net9.0-ios18.0 is compatible.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-maccatalyst18.0 net9.0-maccatalyst18.0 is compatible.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Ansight.Tools.Preferences:

Package Downloads
Ansight

All-in-one Ansight SDK package for .NET apps, including core runtime, pairing, and remote tools.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.2.0-preview.1 64 6/3/2026
0.1.0 151 5/26/2026
0.1.0-preview.24 74 5/25/2026
0.1.0-preview.23 58 5/23/2026
0.1.0-preview.22 65 5/23/2026
0.1.0-preview.21 64 5/19/2026
0.1.0-preview.20 65 5/15/2026
0.1.0-preview.19 75 5/8/2026
0.1.0-preview.18 76 5/8/2026
0.1.0-preview.17 60 5/8/2026
0.1.0-preview.16 64 5/6/2026
0.1.0-preview.15 59 5/5/2026
0.1.0-preview.14 60 5/5/2026
0.1.0-preview.13 58 5/5/2026
0.1.0-pre9 125 5/3/2026
0.1.0-pre8 88 5/3/2026
0.1.0-pre7 93 4/30/2026
0.1.0-pre12 123 5/4/2026
0.1.0-pre11 139 5/4/2026
0.1.0-pre10 120 5/3/2026
Loading failed