GetDefaultOptions(OptionsInitializationContext)
Gets the default options from the current project.
Declaration
IHierarchicalOptions? GetDefaultOptions(OptionsInitializationContext context)
Parameters
Type | Name | Description |
---|---|---|
OptionsInitializationContext | context |
Returns
Type | Description |
---|---|
IHierarchicalOptions | The default options for the given project, or |
Remarks
If the aspect supports parameters supplied as MSBuild project properties, the implementation of this
method should read these properties and assign their values to the returned object. Otherwise, it can return null
.