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.1.0.1 (2.1.0.1)
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 methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
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 Obsolete.
Resolves a custom JsonConfEditorAttribute 'Label' from an Enum.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMergeDynamics
Adds the values returned from IJsonConfEditorAttr.GetOptions() to the provided targetDynamic.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
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