Show / Hide Table of Contents

Class OptionsManager

Provides methods for an addin to load and store custom options.

Inheritance
object
OptionsManager
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Algenta.Colectica.ViewModel
Assembly: Algenta.Colectica.ViewModel.dll
Syntax
public static class OptionsManager

Methods

LoadOptions<T>(string)

Loads options.

Declaration
public static T LoadOptions<T>(string optionsKey) where T : class, new()
Parameters
Type Name Description
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
string optionsKey
T options
Type Parameters
Name Description
T
In this article
Back to top Generated by DocFX