Table of Contents

Class AttributeMapping

Namespace
Garyon.Reflection
Assembly
Garyon.dll

Provides fluent builders for constructing enum-to-attribute mappings.

public static class AttributeMapping
Inheritance
AttributeMapping
Inherited Members

Methods

ForEnum<TEnum>()

Creates a fluent builder for the provided enum type.

public static EnumAttributeMappingBuilder<TEnum> ForEnum<TEnum>() where TEnum : struct, Enum

Returns

EnumAttributeMappingBuilder<TEnum>

Type Parameters

TEnum

The type of the enum whose fields to map.