Interface IOptionReserver<TOption>
Can be used in conjunction with a IOptionValidator to reserve options
Namespace: AnyPath.Managed
Assembly: AnyPath.dll
Syntax
public interface IOptionReserver<in TOption>
Type Parameters
| Name | Description |
|---|---|
| TOption | The type of target |
Methods
Reserve(TOption)
Gets called for the eligable option that is part of the result.
Declaration
void Reserve(TOption option)
Parameters
| Type | Name | Description |
|---|---|---|
| TOption | option | The option that is part of the result |
Remarks
You can use this callback to make sure this target doesn't get validated by other target validators.