GraphZen
  • Home
  • Blog
  • Documentation
  • API
  • Get Started
Show / Hide Table of Contents

Class EnumTypeValuesAccessorExtensions

Inheritance
Object
EnumTypeValuesAccessorExtensions
Namespace: GraphZen.TypeSystem
Assembly: GraphZen.TypeSystem.dll
Syntax
public static class EnumTypeValuesAccessorExtensions

Methods

FindValue(EnumType, String)

Declaration
public static EnumValue FindValue(this EnumType source, string name)
Parameters
Type Name Description
EnumType source
String name
Returns
Type Description
EnumValue

GetValue(EnumType, String)

Declaration
public static EnumValue GetValue(this EnumType source, string name)
Parameters
Type Name Description
EnumType source
String name
Returns
Type Description
EnumValue

HasValue(EnumType, String)

Declaration
public static bool HasValue(this EnumType source, string name)
Parameters
Type Name Description
EnumType source
String name
Returns
Type Description
Boolean

TryGetValue(EnumType, String, out EnumValue)

Declaration
public static bool TryGetValue(this EnumType source, string name, out EnumValue enumValue)
Parameters
Type Name Description
EnumType source
String name
EnumValue enumValue
Returns
Type Description
Boolean
Back to top Copyright © 2017-2019 GraphZen LLC