Method SetOption<T>
- Namespace
- MaaFramework.Binding.Abstractions
- Assembly
- MaaFramework.Binding.dll
SetOption<T>(TOption, T)
Sets value to an option.
bool SetOption<T>(TOption opt, T value)
Parameters
opt
TOption-
The option.
value
T-
The value.
Returns
Type Parameters
T
-
The type specified by the
opt
(see remarks of enumerations).
Exceptions
- ArgumentNullException
- NotSupportedException
-
The
opt
orvalue
is not supported.