MFJsonCollectionAdaptorT, IT, TI Class

Abstract class implementing JSON compatible adaptors for MFilesAPI collections.

Definition

Namespace: MFiles.VAF.Configuration.JsonAdaptor
Assembly: MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 23.12.13247.3
C#
[SerializableAttribute]
public abstract class MFJsonCollectionAdaptor<T, IT, TI> : Collection<IT>, 
	IMFJsonAdaptor<T>
where IT : Object, IMFJsonAdaptor<TI>
Inheritance
Object    CollectionIT    MFJsonCollectionAdaptorT, IT, TI
Derived
Implements
IMFJsonAdaptorT

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.

Constructors

MFJsonCollectionAdaptorT, IT, TI Simple constructor.
MFJsonCollectionAdaptorT, IT, TI(T) Constructor that initializes itself with an existing api object.

Properties

Count Gets the number of elements actually contained in the CollectionT.
(Inherited from CollectionIT)
Item Gets or sets the element at the specified index.
(Inherited from CollectionIT)
Items Gets a IListT wrapper around the CollectionT.
(Inherited from CollectionIT)

Methods

Add Adds an object to the end of the CollectionT.
(Inherited from CollectionIT)
Clear Removes all elements from the CollectionT.
(Inherited from CollectionIT)
ClearItems Removes all elements from the CollectionT.
(Inherited from CollectionIT)
Contains Determines whether an element is in the CollectionT.
(Inherited from CollectionIT)
CopyTo Copies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from CollectionIT)
GetEnumerator Returns an enumerator that iterates through the CollectionT.
(Inherited from CollectionIT)
IndexOf Searches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT.
(Inherited from CollectionIT)
Insert Inserts an element into the CollectionT at the specified index.
(Inherited from CollectionIT)
InsertItem Inserts an element into the CollectionT at the specified index.
(Inherited from CollectionIT)
LoadApiObject (Re-)Initializes this adaptor object to be the equivalent of the passed API object.
Remove Removes the first occurrence of a specific object from the CollectionT.
(Inherited from CollectionIT)
RemoveAt Removes the element at the specified index of the CollectionT.
(Inherited from CollectionIT)
RemoveItem Removes the element at the specified index of the CollectionT.
(Inherited from CollectionIT)
SetItem Replaces the element at the specified index.
(Inherited from CollectionIT)
ToApiObject Converts this JsonCompatible object to an equivalent API object.
ToJson Serialize the object to a json string.
Validate Performs validation checks on the object and sub-objects and returns any findings.

See Also