C# Class YAMP.ArgumentsAttribute

Inheritance: System.Attribute
Show file Open project: FlorianRappl/YAMP

Public Methods

Method Description
ArgumentsAttribute ( int index, int min = 1, int max = int.MaxValue, int delta = 1 ) : System

Creates a new attribute to declare a container for optional arguments.

Method Details

ArgumentsAttribute() public method

Creates a new attribute to declare a container for optional arguments.
public ArgumentsAttribute ( int index, int min = 1, int max = int.MaxValue, int delta = 1 ) : System
index int The index that stores optional arguments.
min int The minimum number of arguments that need to be specified.
max int The maximum number of arguments that will be delegated to this container.
delta int The chunks of arguments to include, i.e. 2 is always an even number of arguments.
return System