Click or drag to resize

OptionT Class



An global option. An instance of this class can be used to access an option value from an OptionSet.
Inheritance Hierarchy
SystemObject
  Microsoft.CodeAnalysis.OptionsOptionT

Namespace:  Microsoft.CodeAnalysis.Options
Assembly:  Microsoft.CodeAnalysis.Workspaces (in Microsoft.CodeAnalysis.Workspaces.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public class Option<T> : IOption

Type Parameters

T

The OptionT type exposes the following members.

Constructors
  NameDescription
Public methodOptionT(String, String)
Initializes a new instance of the OptionT class
Public methodOptionT(String, String, T)
Initializes a new instance of the OptionT class
Public methodOptionT(String, String, T, OptionStorageLocation)
Initializes a new instance of the OptionT class
Top
Properties
  NameDescription
Public propertyDefaultValue
The default value of the option.
Public propertyFeature
Feature this option is associated with.
Public propertyName
The name of the option.
Public propertyStorageLocations
Public propertyType
The type of the option value.
Top
Methods
  NameDescription
Public methodToString
Top
Operators
Explicit Interface Implementations
See Also