Table of Contents

Class ChoiceSet

Namespace
Microsoft.Accordant
Assembly
Accordant.Choose.dll

This class represents a choice between a set of values for an expression, as well as the index representing the current choice.

public class ChoiceSet
Inheritance
ChoiceSet
Inherited Members

Properties

ValueIndex

The index of the current choice.

public int ValueIndex { get; set; }

Property Value

int

Values

The set of values that can be chosen.

public object[] Values { get; set; }

Property Value

object[]

Methods

Clone()

Clones this object.

public ChoiceSet Clone()

Returns

ChoiceSet

CurrentChoice()

This method returns the current choice.

public object CurrentChoice()

Returns

object