SchemaGeneratorGetEnumLabel Method

Resolves a custom JsonConfEditorAttribute 'Label' from an Enum.

Definition

Namespace: MFiles.VAF.Configuration.JsonEditor
Assembly: MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 23.12.13247.3
C#
public string GetEnumLabel(
	Type type,
	string name,
	JsonConfEditorAttribute attr
)

Parameters

type  Type
Enum Type
name  String
Enum numeric value.
attr  JsonConfEditorAttribute
JsonConfEditorAttribute

Return Value

String
Enum Name or Label.

See Also