Click or drag to resize

MFJsonCollectionAdaptorT, IT, TI Class

Abstract class implementing JSON compatible adaptors for MFilesAPI collections.
Inheritance Hierarchy
SystemObject
  System.Collections.ObjectModelCollectionIT
    MFiles.VAF.Configuration.JsonAdaptorMFJsonCollectionAdaptorT, IT, TI
      MFiles.VAF.Configuration.JsonAdaptorLookupsJA
      MFiles.VAF.Configuration.JsonAdaptorPropertyDefOrObjectTypesJA
      MFiles.VAF.Configuration.JsonAdaptorSearchConditionsJA

Namespace:  MFiles.VAF.Configuration.JsonAdaptor
Assembly:  MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 2.2.0.9
Syntax
C#
[SerializableAttribute]
public abstract class MFJsonCollectionAdaptor<T, IT, TI> : Collection<IT>, 
	IMFJsonAdaptor<T>
where IT : Object, IMFJsonAdaptor<TI>

Type Parameters

T
The api type with with this json adaptor is compatible.
IT
The item type which this collection contains.
TI
The item type which the adapted API type contains.

The MFJsonCollectionAdaptorT, IT, TI type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCount (Inherited from CollectionIT.)
Public propertyItem
Gets or sets the element at the specified index.
(Inherited from CollectionIT.)
Protected propertyItems (Inherited from CollectionIT.)
Top
Methods
  NameDescription
Public methodAdd (Inherited from CollectionIT.)
Public methodClear (Inherited from CollectionIT.)
Protected methodClearItems (Inherited from CollectionIT.)
Public methodContains (Inherited from CollectionIT.)
Public methodCopyTo (Inherited from CollectionIT.)
Public methodGetEnumerator (Inherited from CollectionIT.)
Public methodIndexOf (Inherited from CollectionIT.)
Public methodInsert (Inherited from CollectionIT.)
Protected methodInsertItem (Inherited from CollectionIT.)
Public methodLoadApiObject
(Re-)Initializes this adaptor object to be the equivalent of the passed API object.
Public methodRemove (Inherited from CollectionIT.)
Public methodRemoveAt (Inherited from CollectionIT.)
Protected methodRemoveItem (Inherited from CollectionIT.)
Protected methodSetItem
Replaces the element at the specified index.
(Inherited from CollectionIT.)
Public methodToApiObject
Converts this JsonCompatible object to an equivalent API object.
Public methodToJson
Serialize the object to a json string.
Public methodValidate
Performs validation checks on the object and sub-objects and returns any findings.
Top
See Also