Share via


OptionSet Class

Definition

public ref class OptionSet abstract
public abstract class OptionSet
type OptionSet = class
Public MustInherit Class OptionSet
Inheritance
OptionSet
Derived

Constructors

OptionSet()

Methods

GetOption(OptionKey)

Gets the value of the option, or the default value if not otherwise set.

GetOption<T>(Option<T>)

Gets the value of the option, or the default value if not otherwise set.

GetOption<T>(OptionKey)

Gets the value of the option, or the default value if not otherwise set.

GetOption<T>(PerLanguageOption<T>, String)

Gets the value of the option, or the default value if not otherwise set.

WithChangedOption(OptionKey, Object)

Creates a new OptionSet that contains the changed value.

WithChangedOption<T>(Option<T>, T)

Creates a new OptionSet that contains the changed value.

WithChangedOption<T>(PerLanguageOption<T>, String, T)

Creates a new OptionSet that contains the changed value.

Applies to