Class OptionsManager
Provides methods for an addin to load and store custom options.
Inheritance
System.Object
OptionsManager
Namespace: Algenta.Colectica.ViewModel
Assembly: Algenta.Colectica.ViewModel.dll
Syntax
public static class OptionsManager : object
Methods
LoadOptions<T>(String)
Loads options.
Declaration
public static T LoadOptions<T>(string optionsKey)where T : class, new ()
Parameters
Type | Name | Description |
---|---|---|
System.String | optionsKey |
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |
StoreOptions<T>(String, T)
Stores options.
Declaration
public static void StoreOptions<T>(string optionsKey, T options)
Parameters
Type | Name | Description |
---|---|---|
System.String | optionsKey | |
T | options |
Type Parameters
Name | Description |
---|---|
T |