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.1.0.1 (2.1.0.1)
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 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 methodGetEnumerator (Inherited from CollectionIT.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
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.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from 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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValidate
Performs validation checks on the object and sub-objects and returns any findings.
Top
See Also