Click or drag to resize

SchemaGenerator Class

Creates a json editor schema structure for C# code.
Inheritance Hierarchy
SystemObject
  MFiles.VAF.Configuration.JsonEditorSchemaGenerator

Namespace:  MFiles.VAF.Configuration.JsonEditor
Assembly:  MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 2.2.0.9
Syntax
C#
public class SchemaGenerator

The SchemaGenerator type exposes the following members.

Constructors
  NameDescription
Public methodSchemaGenerator
Constructor.
Top
Properties
  NameDescription
Public propertyConfigurationRequestContext
The configuration request context.
Public propertyMemberAddedCallback
Event triggered when a member is added to a generated type editor.
Public propertyResourceManager
The resource manager object for resolving the resource ids.
Top
Methods
  NameDescription
Public methodStatic memberGenerate
Static convenience method used to generate a schema from a type.
Public methodGenerateSchema
Generates a JSON editor schema for the object's Type. Recursively creates member definitions for it's members and it's members' members, also creating type editors for any member types that can't use an existing one.
Public methodGetEnumLabel
Resolves a custom JsonConfEditorAttribute 'Label' from an Enum.
Public methodMergeDynamics
Adds the values returned from IJsonConfEditorAttr.GetOptions() to the provided targetDynamic.
Top
Fields
  NameDescription
Public fieldEditorsByType
Explicit Mapping of C# types to existing JSON type editors. Types in this list will reference the associated editor name, and no type editor will be generated for them.
Top
See Also