Show / Hide Table of Contents

Class DefaultBindings

Provides predefined bindings for the command handler parameters.

Inheritance
object
DefaultBindings
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DotNext.Maintenance.CommandLine.Binding
Assembly: DotNext.MaintenanceServices.dll
Syntax
public static class DefaultBindings

Properties

| Edit this page View Source

Console

Gets a descriptor that allows to obtain IMaintenanceConsole for bound parameter.

Declaration
public static IValueDescriptor<IMaintenanceConsole> Console { get; }
Property Value
Type Description
IValueDescriptor<IMaintenanceConsole>
| Edit this page View Source

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>
| Edit this page View Source

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>
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾