Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.DataManagement.AssetPropertiesSystem.AssetPropertiesCollection.ProperiesDomain Class Reference

Detailed Description

Implements API for the layer relayed features.

Inheritance diagram for Doloro.DataManagement.AssetPropertiesSystem.AssetPropertiesCollection.ProperiesDomain:
Collaboration diagram for Doloro.DataManagement.AssetPropertiesSystem.AssetPropertiesCollection.ProperiesDomain:

Classes

class  PropertiesLayerEnum
 Enumerator relayed to the ProperiesDomain collection. More...
 

Public Member Functions

 ProperiesDomain (string key)
 Creates layer with the key and empty children collection. More...
 
 ProperiesDomain (SerializationInfo info, StreamingContext context)
 Allows to binary serializer instantiate the object from binary. More...
 
void GetObjectData (SerializationInfo info, StreamingContext context)
 Calling by binary serializer to get object's data. More...
 
void Add (IKeyHolder entry)
 Adding new entry at the layer. More...
 
bool Remove (string key)
 Trying to remove entry by the key. More...
 
bool RemovePropertyByPath (string path)
 Trying to remove child property by the path. More...
 
bool Exists (string key)
 Check is the key already exists at the layer in any format.. More...
 
IList< T > FindAll< T > ()
 Searching for elements of the certain type. More...
 
IKeyHolder Find (string key)
 Looking for key holder by the key. More...
 
void Reorder (int idx0, int idx1)
 Reorders two entries. More...
 
void Clear ()
 Clears the layer without damaging links on child layers.
 
bool Contains (IKeyHolder item)
 Checks is the hierarchy contains the item. More...
 
void CopyTo (IKeyHolder[] array, int arrayIndex)
 Copies children array to the another array. More...
 
bool Remove (IKeyHolder item)
 Removing entry from the layer. Not looking at the hierarchy deep. More...
 
IEnumerator< IKeyHolderGetEnumerator ()
 Returns enumerator for the layer's entries. More...
 

Properties

int Count [get]
 Elements in hierarchy.
 
string Key [get]
 Unique key of the layer. More...
 
ProperiesDomain Root [get]
 Reference to the root layer.
 
bool IsRoot [get]
 Is the root layer.
 
ProperiesDomain Parent [get]
 Reference to the parent layer. Null if root.
 
bool IsReadOnly [get]
 Always false.
 

Constructor & Destructor Documentation

◆ ProperiesDomain() [1/2]

Doloro.DataManagement.AssetPropertiesSystem.AssetPropertiesCollection.ProperiesDomain.ProperiesDomain ( string  key)

Creates layer with the key and empty children collection.

Parameters
keyLayer's key.

◆ ProperiesDomain() [2/2]

Doloro.DataManagement.AssetPropertiesSystem.AssetPropertiesCollection.ProperiesDomain.ProperiesDomain ( SerializationInfo  info,
StreamingContext  context 
)

Allows to binary serializer instantiate the object from binary.

Parameters
info
context

Member Function Documentation

◆ Add()

void Doloro.DataManagement.AssetPropertiesSystem.AssetPropertiesCollection.ProperiesDomain.Add ( IKeyHolder  entry)

Adding new entry at the layer.

Parameters
entryEntry to add.
Exceptions
ArgumentNullExceptionproperty is null.
ArgumentExceptionproperty.Key is invalid.
EntryAlreadyExistsExceptionEntry with the same key already exists at the layer.

◆ Contains()

bool Doloro.DataManagement.AssetPropertiesSystem.AssetPropertiesCollection.ProperiesDomain.Contains ( IKeyHolder  item)

Checks is the hierarchy contains the item.

Parameters
itemItem to search.
Returns
Result of search.

◆ CopyTo()

void Doloro.DataManagement.AssetPropertiesSystem.AssetPropertiesCollection.ProperiesDomain.CopyTo ( IKeyHolder[]  array,
int  arrayIndex 
)

Copies children array to the another array.

Parameters
arrayDestination array.
arrayIndexStart index at the destination array.

◆ Exists()

bool Doloro.DataManagement.AssetPropertiesSystem.AssetPropertiesCollection.ProperiesDomain.Exists ( string  key)

Check is the key already exists at the layer in any format..

Parameters
keyKey to search
Returns

◆ Find()

IKeyHolder Doloro.DataManagement.AssetPropertiesSystem.AssetPropertiesCollection.ProperiesDomain.Find ( string  key)

Looking for key holder by the key.

Parameters
keyKey for search.
Returns
Instance.

◆ FindAll< T >()

IList< T > Doloro.DataManagement.AssetPropertiesSystem.AssetPropertiesCollection.ProperiesDomain.FindAll< T > ( )

Searching for elements of the certain type.

Template Parameters
TType to search.
Returns
Collection of found elements.

◆ GetEnumerator()

IEnumerator< IKeyHolder > Doloro.DataManagement.AssetPropertiesSystem.AssetPropertiesCollection.ProperiesDomain.GetEnumerator ( )

Returns enumerator for the layer's entries.

Returns
Enumerator of the collection.

◆ GetObjectData()

void Doloro.DataManagement.AssetPropertiesSystem.AssetPropertiesCollection.ProperiesDomain.GetObjectData ( SerializationInfo  info,
StreamingContext  context 
)

Calling by binary serializer to get object's data.

Parameters
info
context

◆ Remove() [1/2]

bool Doloro.DataManagement.AssetPropertiesSystem.AssetPropertiesCollection.ProperiesDomain.Remove ( IKeyHolder  item)

Removing entry from the layer. Not looking at the hierarchy deep.

Parameters
itemEntry to remove.
Returns
Result of removing. Try if entry found among children at this layer.

◆ Remove() [2/2]

bool Doloro.DataManagement.AssetPropertiesSystem.AssetPropertiesCollection.ProperiesDomain.Remove ( string  key)

Trying to remove entry by the key.

Parameters
keykey to remove.
Returns
Is entry was found.

◆ RemovePropertyByPath()

bool Doloro.DataManagement.AssetPropertiesSystem.AssetPropertiesCollection.ProperiesDomain.RemovePropertyByPath ( string  path)

Trying to remove child property by the path.

Parameters
pathKey path of the property.
Returns
Is the property found.

◆ Reorder()

void Doloro.DataManagement.AssetPropertiesSystem.AssetPropertiesCollection.ProperiesDomain.Reorder ( int  idx0,
int  idx1 
)

Reorders two entries.

Parameters
idx0Index of the first entry.
idx1Index of the second entry.
Exceptions
IndexOutOfRangeExceptionInvalid index.

Property Documentation

◆ Key

string Doloro.DataManagement.AssetPropertiesSystem.AssetPropertiesCollection.ProperiesDomain.Key
get

Unique key of the layer.

Implements Doloro.DataManagement.AssetPropertiesSystem.IKeyHolder.


The documentation for this class was generated from the following file: