Class DefaultBindings
Provides predefined bindings for the command handler parameters.
Inherited Members
Namespace: DotNext.Maintenance.CommandLine.Binding
Assembly: DotNext.MaintenanceServices.dll
Syntax
public static class DefaultBindings
Properties
| Edit this page View SourceConsole
Gets a descriptor that allows to obtain IMaintenanceConsole for bound parameter.
Declaration
public static IValueDescriptor<IMaintenanceConsole> Console { get; }
Property Value
Type | Description |
---|---|
IValueDescriptor<IMaintenanceConsole> |
Session
Gets a descriptor that allows to obtain IMaintenanceSession for bound parameter.
Declaration
public static IValueDescriptor<IMaintenanceSession> Session { get; }
Property Value
Type | Description |
---|---|
IValueDescriptor<IMaintenanceSession> |
Token
Gets a descriptor that allows to obtain CancellationToken associated with AMI host.
Declaration
public static IValueDescriptor<CancellationToken> Token { get; }
Property Value
Type | Description |
---|---|
IValueDescriptor<CancellationToken> |