TcHmiJSchemaGenerator.CreateEnumGenerationProvider Method
Creates a new JSchemaGenerationProvider for the specified Type where IsEnum is true.
Namespace: TcHmiSrv.Core.Tools.DynamicSymbols
Assembly: TcHmiSrvExtNet.Core (in
TcHmiSrvExtNet.Core.dll) Version: 1.3.0.0
Syntax
C#
public static JSchemaGenerationProvider CreateEnumGenerationProvider(
Type enumType,
bool hasDefault
)
Parameters
enumType |
Type: System.Type |
hasDefault |
Type: System.Boolean |
Return Value
Type: JSchemaGenerationProvider
A new JSchemaGenerationProvider for enumType.