TcHmiJSchemaGenerator.GetGenerationProvider Method (Type, IEnumerable.JSchemaGenerationProvider.)
Gets a JSchemaGenerationProvider from the specified IEnumerable.T. of JSchemaGenerationProviders that can generate a JSchema for the specified Type.
Namespace: TcHmiSrv.Core.Tools.DynamicSymbols
Assembly: TcHmiSrvExtNet.Core (in
TcHmiSrvExtNet.Core.dll) Version: 1.3.0.0
Syntax
C#
public static JSchemaGenerationProvider GetGenerationProvider(
Type objectType,
IEnumerable<JSchemaGenerationProvider> generationProviders
)
Parameters
objectType |
Type: System.Type |
generationProviders |
Type: System.Collections.Generic.IEnumerable.JSchemaGenerationProvider. |
Return Value
Type: JSchemaGenerationProvider
A JSchemaGenerationProvider from generationProviders that can generate a JSchema for objectType, if found; otherwise, null.