GetOptions(IDeclaration, Type)
Gets the merged hierarchical options that apply to a specific declaration.
Declaration
IHierarchicalOptions? GetOptions(IDeclaration declaration, Type optionsType)Parameters
| Type | Name | Description |
|---|---|---|
| IDeclaration | declaration | The declaration for which to retrieve options. |
| Type | optionsType | The type of options to retrieve, which must implement IHierarchicalOptions. |
Returns
| Type | Description |
|---|---|
| IHierarchicalOptions | The merged options for the declaration, or |