C# Class WebApplications.Utilities.Service.ServiceCommandAttribute

Inheritance: System.Attribute
Datei anzeigen Open project: webappsuk/CoreLibraries Class Usage Examples

Public Properties

Property Type Description
ConsumeLine bool
MinimumArguments int

Public Methods

Method Description
ServiceCommandAttribute ( [ resourceType, [ namesProperty, [ descriptionProperty, bool consumeLine = false, int minimumArguments, [ idParameter = null ) : System

Initializes a new instance of the ServiceCommandAttribute class.

Method Details

ServiceCommandAttribute() public method

Initializes a new instance of the ServiceCommandAttribute class.
public ServiceCommandAttribute ( [ resourceType, [ namesProperty, [ descriptionProperty, bool consumeLine = false, int minimumArguments, [ idParameter = null ) : System
resourceType [ Type of the resource.
namesProperty [ The names property.
descriptionProperty [ The description property.
consumeLine bool if set to [consume line].
minimumArguments int The minimum arguments.
idParameter [ The identifier parameter. if specified, this parameter must be of type /// , /// and it will be passed the current connection ID.
return System

Property Details

ConsumeLine public_oe property

If then the last parameter should accept the entire line; otherwise .
public bool ConsumeLine
return bool

MinimumArguments public_oe property

The minimum arguments.
public int MinimumArguments
return int