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.2.0.9
Syntax
C#
public class JsonAdminCommentPreserver

The JsonAdminCommentPreserver type exposes the following members.

Constructors
  NameDescription
Public methodJsonAdminCommentPreserver
Top
Methods
  NameDescription
Public methodGetAdminComments
Extracts mfadmin-compatible comments from a json structure.
Public methodGetPreservedComments
Extracts a list of comments preserved in a non-mfadmin-compatible json structure.
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..
Top
See Also