RegisterEnum

RegisterEnum<T>()

public static void RegisterEnum<T>() ;

Description

Register Enum type in ValueMediator.

Type Parameters

Type Parameter Name Description Type Constraints
T The type of value you want to broker.
  • Enum
  • struct

Remarks

By specifying the ValueMediatorInitializeOnLoadMethod attribute to a method, a ValueMediator of any type can be registered at the time of initialization.