IEditorOptionValue Interface

Definition

The value of an editor option.

public interface IEditorOptionValue
type IEditorOptionValue = interface
Public Interface IEditorOptionValue
Derived

Properties

Error

The error that occurred during the retrieval of the editor option value. Error is null if the retrieval of the value was successful.

Succeeded

Gets a value indicating whether Error is null, meaning that the retrieval of the editor option's value was successful.

Methods

Value<T>()

Gets the value converted to the type T.

ValueOrDefault<T>(T)

Gets the value converted to the type T, if the retrieval and the conversion to T are successful. Returns defaultValue otherwise.

Applies to