Class ExecuteMethodConvention
Sets McMaster.Extensions.CommandLineUtils.CommandLineApplication.Invoke to call a method named
OnExecute or OnExecuteAsync on the model type
of CommandLineApplication<TModel>.
Inheritance
System.Object
    ExecuteMethodConvention
  Implements
Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: McMaster.Extensions.CommandLineUtils.Conventions
Assembly: McMaster.Extensions.CommandLineUtils.dll
Syntax
public class ExecuteMethodConvention : IConvention
  Methods
| Improve this Doc View SourceApply(ConventionContext)
Apply the convention.
Declaration
public virtual void Apply(ConventionContext context)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ConventionContext | context | The context in which the convention is applied.  |