Click or drag to resize

JsonAdminCommentPreserver Class

Utility methods for extracting mfadmin-compatible comments and preserving them and restoring them inside json structures.
Inheritance Hierarchy
SystemObject
  MFiles.VAF.Configuration.JsonMappingJsonAdminCommentPreserver

Namespace:  MFiles.VAF.Configuration.JsonMapping
Assembly:  MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public class JsonAdminCommentPreserver

The JsonAdminCommentPreserver type exposes the following members.

Constructors
  NameDescription
Public methodJsonAdminCommentPreserver
Initializes a new instance of the JsonAdminCommentPreserver class
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 methodGetAdminComments
Extracts mfadmin-compatible comments from a json structure.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetPreservedComments
Extracts a list of comments preserved in a non-mfadmin-compatible json structure.
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 methodPreserveComments(JObject, JObject, String)
Preserves the MFAdmin-compatible comments in the source JSON structure under a single property in the target structure.
Public methodPreserveComments(IEnumerableJsonAdminComment, JObject, String)
Preserves the MFAdmin-compatible comments in the source JSON structure under a single property in the target structure.
Public methodRestoreComments(IEnumerableJsonAdminComment, JObject)
Restores the MFAdmin-compatible comments into the target JSON structure from preserved comments in the source JSON structure..
Public methodRestoreComments(JObject, JObject, String)
Restores the MFAdmin-compatible comments into the target JSON structure from preserved comments in the source JSON structure..
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also