C# Class clipr.MutuallyExclusiveGroupAttribute

Inheritance: System.Attribute
Exibir arquivo Open project: nemec/clipr

Public Methods

Method 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 method

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
return System