C# Class YAMP.ArgumentsAttribute

Inheritance: System.Attribute
Afficher le fichier Open project: FlorianRappl/YAMP

Méthodes publiques

Méthode 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 méthode

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.
Résultat System