SettingsExtensions Class

Namespace
Shiny
Base Types
  • object
graph BT Type-->Base0["object"] Type["SettingsExtensions"] class Type type-node

Syntax

public static class SettingsExtensions

Methods

Name Value Summary
IncrementValue(ISettings, string) int
Thread safetied setting value incrementor
static
RegisterSettings<TImpl>(IServiceCollection, string) void
Register a strongly typed application settings provider on the service container
static
RegisterSettings<TService, TImpl>(IServiceCollection, string) void
Register a strongly typed application settings provider on the service container with a service interface
static

Extension Methods

Name Value Summary
ReflectGet(string) object
Gets an objects property dynamically through reflection - will throw an exception if proper has no getter or property does not exists
ReflectSet(string, object) void
Sets an objects property dynamically through reflection - will throw an exception if proper has no setter, wrong type, or property does not exists
GitHub