C# Class clipr.MutuallyExclusiveGroupAttribute

Inheritance: System.Attribute
Afficher le fichier Open project: nemec/clipr

Méthodes publiques

Méthode Description
MutuallyExclusiveGroupAttribute ( string name ) : System

Subscribes the property to a mutually exclusive parsing group. If multiple command line arguments are provided from one group, a ParseException will be thrown.

If a group is required and no command line arguments are provided for the group, a ParseException will also be thrown.

This attribute only applies to NamedArgumentAttributes.

Method Details

MutuallyExclusiveGroupAttribute() public méthode

Subscribes the property to a mutually exclusive parsing group. If multiple command line arguments are provided from one group, a ParseException will be thrown.

If a group is required and no command line arguments are provided for the group, a ParseException will also be thrown.

This attribute only applies to NamedArgumentAttributes.

public MutuallyExclusiveGroupAttribute ( string name ) : System
name string
Résultat System