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

Class EnumTypeValuesByValueAccessorExtensions

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

Methods

FindValue(EnumType, Object)

Declaration
public static EnumValue FindValue(this EnumType source, object value)
Parameters
Type Name Description
EnumType source
Object value
Returns
Type Description
EnumValue

GetValue(EnumType, Object)

Declaration
public static EnumValue GetValue(this EnumType source, object value)
Parameters
Type Name Description
EnumType source
Object value
Returns
Type Description
EnumValue

HasValue(EnumType, Object)

Declaration
public static bool HasValue(this EnumType source, object value)
Parameters
Type Name Description
EnumType source
Object value
Returns
Type Description
Boolean

TryGetValue(EnumType, Object, out EnumValue)

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