ClassEnum<T> Class

Summary

A base class that can be used to create more powerful "enum" classes that use fields to store the values, which are instances of the class.
Assembly
Wyam.Configuration.dll
Namespace
Wyam.Configuration
Base Types
  • Object
Derived Types
graph BT Type-->Base0["Object"] Type["ClassEnum<T>"] class Type type-node Derived0["KnownRecipe"]-->Type click Derived0 "/api/Wyam.Configuration/KnownRecipe" Derived1["KnownExtension"]-->Type click Derived1 "/api/Wyam.Configuration/KnownExtension" Derived2["KnownTheme"]-->Type click Derived2 "/api/Wyam.Configuration/KnownTheme"

Syntax

public abstract class ClassEnum<T> where T : ClassEnum<T>

Type Parameters

Name Description
T The derived class type.

Properties

Name Value Summary
Values IReadOnlyDictionary<string, T>
static
GitHub