Show / Hide Table of Contents

Class NamedObject

Defines some useful methods that can be used to create objects of type NamedObject<T>.

Inheritance
object
NamedObject
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: TheXDS.MCART.Types
Assembly: MCART.dll
Syntax
public static class NamedObject

Methods

| Edit this page View Source

FromEnum<T>()

Enumerates all enum values as named objects.

Declaration
public static IEnumerable<NamedObject<T>> FromEnum<T>() where T : struct, Enum
Returns
Type Description
IEnumerable<NamedObject<T>>

An enumeration of NamedObject<T> from the values of the specified Enum type.

Type Parameters
Name Description
T

Type of Enum to get a collection of named objects for.

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX