MetalamaAPI documentationAspect APIMetalama.​Framework.​CodeDeclaration­Enhancements<T>Get­Options
Open sandboxFocus

DeclarationEnhancements<T>.GetOptions Method

GetOptions<TOptions>()

Gets the options effective for the current declarations. Options provided by aspects through the IHierarchicalOptionsProvider are available only when and after the given aspect instance has been initialized; options provided by other means are available immediately.

Declaration
public TOptions GetOptions<TOptions>()
where TOptions : class, IHierarchicalOptions<T>, new()
Returns
Type Description
TOptions
Type Parameters
Name Description
TOptions

The type of options.

See Also