Table of Contents

Class ExtEnumBase

Namespace
Global
Assembly
Assembly-CSharp.dll
public abstract class ExtEnumBase : IComparable
Inheritance
ExtEnumBase
Implements
Derived
Inherited Members

Constructors

ExtEnumBase(Type)

public ExtEnumBase(Type enumType)

Parameters

enumType Type

Fields

enumType

public Type enumType

Field Value

Type

index

public int index

Field Value

int

localVersion

public int localVersion

Field Value

int

value

public string value

Field Value

string

valueDictionary

public static Dictionary<Type, ExtEnumType> valueDictionary

Field Value

Dictionary<Type, ExtEnumType>

Properties

Index

public abstract int Index { get; }

Property Value

int

Methods

CompareTo(object)

public int CompareTo(object obj)

Parameters

obj object

Returns

int

GetExtEnumType(Type)

public static ExtEnumType GetExtEnumType(Type enumType)

Parameters

enumType Type

Returns

ExtEnumType

GetNames(Type)

public static string[] GetNames(Type enumType)

Parameters

enumType Type

Returns

string[]

IsDefined(Type, int)

public bool IsDefined(Type enumType, int index)

Parameters

enumType Type
index int

Returns

bool

IsDefined(Type, string, bool)

public bool IsDefined(Type enumType, string value, bool ignoreCase)

Parameters

enumType Type
value string
ignoreCase bool

Returns

bool

Parse(Type, string, bool)

public static object Parse(Type enumType, string value, bool ignoreCase)

Parameters

enumType Type
value string
ignoreCase bool

Returns

object

ToString()

public override string ToString()

Returns

string

TryGetExtEnumType(Type, out ExtEnumType)

public static bool TryGetExtEnumType(Type enumType, out ExtEnumType type)

Parameters

enumType Type
type ExtEnumType

Returns

bool

TryParse(Type, string, bool, out ExtEnumBase)

public static bool TryParse(Type enumType, string value, bool ignoreCase, out ExtEnumBase result)

Parameters

enumType Type
value string
ignoreCase bool
result ExtEnumBase

Returns

bool