Udostępnij za pośrednictwem


IEnumValueFactory<T> Interface

Definition

Factory to create a new enum value of the specified type.

public interface IEnumValueFactory<T> where T : IEnumValue
type IEnumValueFactory<'T (requires 'T :> IEnumValue)> = interface
Public Interface IEnumValueFactory(Of T)

Type Parameters

T

Type to create enum.

Derived

Methods

Create(String)

Creates an enum value with the supplied value.

Applies to