Table of Contents

Class EnumMemberContract

Namespace
ShapeShift.Schema
Assembly
ShapeShift.dll

Describes one named member of an EnumContract.

public sealed class EnumMemberContract
Inheritance
EnumMemberContract
Inherited Members

Constructors

EnumMemberContract(string, ShapeShiftValue)

Describes one named member of an EnumContract.

public EnumMemberContract(string name, ShapeShiftValue value)

Parameters

name string

The name of the enum member.

value ShapeShiftValue

The underlying numeric value of the enum member.

Properties

Name

Gets the name of the enum member.

public string Name { get; }

Property Value

string

Value

Gets the underlying numeric value of the enum member.

public ShapeShiftValue Value { get; }

Property Value

ShapeShiftValue

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.