CommandState Constructor

Initializes a new instance of the CommandState class from an initial configuration if provided.

Definition

Namespace: KGySoft.ComponentModel
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public CommandState(
	IDictionary<string, Object?>? initialConfiguration = null
)

Parameters

initialConfiguration  IDictionaryString, Object  (Optional)
The initial configuration to use for initializing this CommandState instance. This parameter is optional.
Default value: .

Exceptions

ArgumentExceptioninitialConfiguration contains a non-bool Enabled entry.

See Also