PerLanguageOption<T> Class

Definition

An option that can be specified once per language.

C#
public class PerLanguageOption<T>
C#
public class PerLanguageOption<T> : IEquatable<Microsoft.CodeAnalysis.Options.IOption2>

Type Parameters

T
Inheritance
PerLanguageOption<T>
Implements
IOption IEquatable<Microsoft.CodeAnalysis.Options.IOption2>

Constructors

PerLanguageOption<T>(String, String, T, OptionStorageLocation[]) Microsoft.CodeAnalysis.Options.PerLanguageOption2`1
PerLanguageOption<T>(String, String, T) Microsoft.CodeAnalysis.Options.PerLanguageOption2`1

Properties

DefaultValue

The default option value.

Feature

Feature this option is associated with.

Name

The name of the option.

StorageLocations Microsoft.CodeAnalysis.Options.PerLanguageOption2`1.StorageLocations
Type

The type of the option value.

Methods

Equals(Object) Microsoft.CodeAnalysis.Options.PerLanguageOption2`1
GetHashCode() Microsoft.CodeAnalysis.Options.PerLanguageOption2`1
ToString() Microsoft.CodeAnalysis.Options.PerLanguageOption2`1

Explicit Interface Implementations

IEquatable<IOption2>.Equals(IOption2) Microsoft.CodeAnalysis.Options.PerLanguageOption2`1
IOption.DefaultValue Microsoft.CodeAnalysis.Options.PerLanguageOption2`1
IOption.IsPerLanguage Microsoft.CodeAnalysis.Options.PerLanguageOption2`1

Applies to

Product Versions
Roslyn 4.2.0, 4.3.0, 4.4.0, 4.5.0, 4.6.0, 4.7.0, 4.8.0, 4.9.2, 3.0.0, 3.1.0, 3.2.0, 3.2.1, 3.3.1, 3.4.0, 3.5.0, 3.6.0, 3.7.0, 3.8.0, 3.9.0, 3.10.0, 3.11.0, 4.0.1, 4.1.0, 4.12.2, 4.13.0