Class CommandOptions
- Namespace
- Cratis.Applications
- Assembly
- Cratis.Applications.dll
Represents the options for command handling.
public class CommandOptions
- Inheritance
-
CommandOptions
- Inherited Members
Properties
IncludeCommandNameInRoute
Whether to include the command name as the last segment of the route.
public bool IncludeCommandNameInRoute { get; set; }
Property Value
RoutePrefix
Gets or sets the route prefix to use for commands.
public string RoutePrefix { get; set; }
Property Value
SegmentsToSkipForRoute
Number of segments to skip from the start of the command type's namespace when constructing the route.
public int SegmentsToSkipForRoute { get; set; }