This documentation is for legacy version 2 of CommandDotNet. Click here to visit latest documentation website
logo
CommandDotNet
Async methods
Type to start searching
    bilal-fazlani/commanddotnet
    • CommandDotNet_5.0.1
    • 608
    • 30
    bilal-fazlani/commanddotnet
    • CommandDotNet_5.0.1
    • 608
    • 30
    • Introduction
    • Quick Start
      • Parameters
      • Attributes
      • Constructors
      • Default method
      • Default values
      • Collections
      • Argument Models
      • Async methods
      • Custom return codes
      • Nesting commands
      • Exceptions
      • Directives
      • Fluent validation for parameters
      • Settings
      • Dependency Injection
      • Parameter types
      • Custom interceptors

    Async methods

    The following types of methods are supported :

    1. void
    2. int
    3. Task
    4. Task<int>
    5. async Task
    6. async Task<int>

    Task result types will be awaited automatically

    Previous Argument Models
    Next Custom return codes
    Made with Material for MkDocs