Show / Hide Table of Contents

Class CompositeObjectList<TObject>

Provides a way to store collection of ICompositeObject items.

Inheritance
System.Object
System.Collections.Generic.List<TObject>
CompositeObjectList<TObject>
Implements
System.Collections.Generic.IList<TObject>
System.Collections.Generic.ICollection<TObject>
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IReadOnlyList<TObject>
ICompositeObjectList<TObject>
ISerializableObject
System.Collections.Generic.IReadOnlyCollection<TObject>
System.Collections.Generic.IEnumerable<TObject>
System.Collections.IEnumerable
Inherited Members
System.Collections.Generic.List<TObject>.System.Collections.IList.get_Item(System.Int32)
System.Collections.Generic.List<TObject>.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.Generic.List<TObject>.Add(TObject)
System.Collections.Generic.List<TObject>.System.Collections.IList.Add(System.Object)
System.Collections.Generic.List<TObject>.AddRange(System.Collections.Generic.IEnumerable<TObject>)
System.Collections.Generic.List<TObject>.AsReadOnly()
System.Collections.Generic.List<TObject>.BinarySearch(System.Int32, System.Int32, TObject, System.Collections.Generic.IComparer<TObject>)
System.Collections.Generic.List<TObject>.BinarySearch(TObject)
System.Collections.Generic.List<TObject>.BinarySearch(TObject, System.Collections.Generic.IComparer<TObject>)
System.Collections.Generic.List<TObject>.Clear()
System.Collections.Generic.List<TObject>.Contains(TObject)
System.Collections.Generic.List<TObject>.System.Collections.IList.Contains(System.Object)
System.Collections.Generic.List<TObject>.ConvertAll<TOutput>(System.Converter<TObject, TOutput>)
System.Collections.Generic.List<TObject>.CopyTo(TObject[])
System.Collections.Generic.List<TObject>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.Generic.List<TObject>.CopyTo(System.Int32, TObject[], System.Int32, System.Int32)
System.Collections.Generic.List<TObject>.CopyTo(TObject[], System.Int32)
System.Collections.Generic.List<TObject>.Exists(System.Predicate<TObject>)
System.Collections.Generic.List<TObject>.Find(System.Predicate<TObject>)
System.Collections.Generic.List<TObject>.FindAll(System.Predicate<TObject>)
System.Collections.Generic.List<TObject>.FindIndex(System.Predicate<TObject>)
System.Collections.Generic.List<TObject>.FindIndex(System.Int32, System.Predicate<TObject>)
System.Collections.Generic.List<TObject>.FindIndex(System.Int32, System.Int32, System.Predicate<TObject>)
System.Collections.Generic.List<TObject>.FindLast(System.Predicate<TObject>)
System.Collections.Generic.List<TObject>.FindLastIndex(System.Predicate<TObject>)
System.Collections.Generic.List<TObject>.FindLastIndex(System.Int32, System.Predicate<TObject>)
System.Collections.Generic.List<TObject>.FindLastIndex(System.Int32, System.Int32, System.Predicate<TObject>)
System.Collections.Generic.List<TObject>.ForEach(System.Action<TObject>)
System.Collections.Generic.List<TObject>.GetEnumerator()
System.Collections.Generic.List<TObject>.System.Collections.Generic.IEnumerable<TObject>.GetEnumerator()
System.Collections.Generic.List<TObject>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.Generic.List<TObject>.GetRange(System.Int32, System.Int32)
System.Collections.Generic.List<TObject>.IndexOf(TObject)
System.Collections.Generic.List<TObject>.System.Collections.IList.IndexOf(System.Object)
System.Collections.Generic.List<TObject>.IndexOf(TObject, System.Int32)
System.Collections.Generic.List<TObject>.IndexOf(TObject, System.Int32, System.Int32)
System.Collections.Generic.List<TObject>.Insert(System.Int32, TObject)
System.Collections.Generic.List<TObject>.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.Generic.List<TObject>.InsertRange(System.Int32, System.Collections.Generic.IEnumerable<TObject>)
System.Collections.Generic.List<TObject>.LastIndexOf(TObject)
System.Collections.Generic.List<TObject>.LastIndexOf(TObject, System.Int32)
System.Collections.Generic.List<TObject>.LastIndexOf(TObject, System.Int32, System.Int32)
System.Collections.Generic.List<TObject>.Remove(TObject)
System.Collections.Generic.List<TObject>.System.Collections.IList.Remove(System.Object)
System.Collections.Generic.List<TObject>.RemoveAll(System.Predicate<TObject>)
System.Collections.Generic.List<TObject>.RemoveAt(System.Int32)
System.Collections.Generic.List<TObject>.RemoveRange(System.Int32, System.Int32)
System.Collections.Generic.List<TObject>.Reverse()
System.Collections.Generic.List<TObject>.Reverse(System.Int32, System.Int32)
System.Collections.Generic.List<TObject>.Sort()
System.Collections.Generic.List<TObject>.Sort(System.Collections.Generic.IComparer<TObject>)
System.Collections.Generic.List<TObject>.Sort(System.Int32, System.Int32, System.Collections.Generic.IComparer<TObject>)
System.Collections.Generic.List<TObject>.Sort(System.Comparison<TObject>)
System.Collections.Generic.List<TObject>.ToArray()
System.Collections.Generic.List<TObject>.TrimExcess()
System.Collections.Generic.List<TObject>.TrueForAll(System.Predicate<TObject>)
System.Collections.Generic.List<TObject>.Capacity
System.Collections.Generic.List<TObject>.Count
System.Collections.Generic.List<TObject>.System.Collections.IList.IsFixedSize
System.Collections.Generic.List<TObject>.System.Collections.Generic.ICollection<TObject>.IsReadOnly
System.Collections.Generic.List<TObject>.System.Collections.IList.IsReadOnly
System.Collections.Generic.List<TObject>.System.Collections.ICollection.IsSynchronized
System.Collections.Generic.List<TObject>.System.Collections.ICollection.SyncRoot
System.Collections.Generic.List<TObject>.Item[System.Int32]
System.Collections.Generic.List<TObject>.System.Collections.IList.Item[System.Int32]
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Terrasoft.Common
Assembly: Terrasoft.Common.dll
Syntax
public class CompositeObjectList<TObject> : List<TObject>, IList<TObject>, ICollection<TObject>, IList, ICollection, IReadOnlyList<TObject>, ICompositeObjectList<TObject>, ISerializableObject, IReadOnlyCollection<TObject>, IEnumerable<TObject>, IEnumerable where TObject : ICompositeObject, ISerializableObject
Type Parameters
Name Description
TObject

ICompositeObject and ISerializableObject successors.

Constructors

CompositeObjectList()

Initializes a new instance of the CompositeObjectList<TObject> type.

Declaration
public CompositeObjectList()

CompositeObjectList(IEnumerable<TObject>)

Initializes a new instance of the CompositeObjectList<TObject> type.

Declaration
public CompositeObjectList(IEnumerable<TObject> source)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<TObject> source

Source.

Methods

Deserialize(DataReader)

Deserializes own state using specified data reader.

Declaration
public void Deserialize(DataReader dataReader)
Parameters
Type Name Description
DataReader dataReader

The data reader.

Serialize(DataWriter)

Serializes own state using specified data writer.

Declaration
public void Serialize(DataWriter dataWriter)
Parameters
Type Name Description
DataWriter dataWriter

The data writer.

Implements

System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IReadOnlyList<T>
ICompositeObjectList<TObject>
ISerializableObject
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable

Extension Methods

BaseSerializableObjectUtilities.SerializeToJson(ISerializableObject, Stream)
CollectionUtilities.AddRange<T>(ICollection<T>, IEnumerable<T>)
CollectionUtilities.RemoveRange<T>(ICollection<T>, IEnumerable<T>)
CollectionUtilities.AddIfNotExists<T>(ICollection<T>, T)
CollectionUtilities.AddRangeIfNotExists<T>(ICollection<T>, IEnumerable<T>)
CollectionUtilities.Find<T>(IEnumerable<T>, Predicate<T>)
CollectionUtilities.Find<T>(IEnumerable<T>, Predicate<T>, T)
CollectionUtilities.ForEach<T>(IEnumerable<T>, Action<T>)
CollectionUtilities.ForEach<T>(IEnumerable<T>, Predicate<T>, Action<T>)
CollectionUtilities.ForEachAsync<T>(IEnumerable<T>, Func<T, Task>)
CollectionUtilities.ParallelForEachAsync<T>(IEnumerable<T>, Func<T, Task>)
CollectionUtilities.ParallelForEachAsync<T>(IEnumerable<T>, Func<T, Task>, Int32)
CollectionUtilities.GetItemsString<T>(IEnumerable<T>)
CollectionUtilities.GetItemsString<T>(IEnumerable<T>, String)
CollectionUtilities.SplitOnChunks<T>(IEnumerable<T>, Int32)
CollectionUtilities.SplitOnParts<T>(IEnumerable<T>, Int32)
CollectionUtilities.IsNotEmpty(IEnumerable)
CollectionUtilities.IsEmpty(IEnumerable)
CollectionUtilities.IsNullOrEmpty(IEnumerable)
CollectionUtilities.IsNotNullOrEmpty(IEnumerable)
CollectionUtilities.CompareZip<TFirst, TSecond>(IEnumerable<TFirst>, IEnumerable<TSecond>, Func<TFirst, TSecond, Boolean>)
CollectionUtilities.Except<T>(IEnumerable<T>, IEnumerable<T>, Func<T, T, Boolean>)
CollectionUtilities.Compare<TSource>(IEnumerable<TSource>, IEnumerable<TSource>)
ReflectionUtilities.GetPropertyValue(Object, String)
ReflectionUtilities.GetPropertyDefValue(Object, String, Object)
ReflectionUtilities.TryGetPropertyValue(Object, String, out Object)
ReflectionUtilities.HasProperty(Object, String)
ReflectionUtilities.GetPropertyValue(Object, String, BindingFlags)
ReflectionUtilities.GetPropertyValueByPath(Object, String)
ReflectionUtilities.SetPropertyValue(Object, String, Object)
ReflectionUtilities.TrySetPropertyValue(Object, String, Object)
ValidateUtilities.CheckArgumentNull(Object, String)
ValidateUtilities.CheckDependencyNull(Object, String)
ValidateUtilities.CheckArgumentNullOrEmpty<T>(IEnumerable<T>, String)
ValidateUtilities.EnsureDependencyNotNull<T>(T, String)
MetaDataTestUtils.MetaPropertiesShouldNotHaveDefValue<TInstance>(TInstance)
MetaDataTestUtils.MetaPropertiesShouldNotHaveDefValue<TInstance>(TInstance, Boolean)
NSubstituteExtension.Protected(Object, String, Object[])
NSubstituteExtension.Protected(Object, String, Boolean, Object[])
NSubstituteExtension.ProtectedGeneric<T>(Object, String, Object[])
NSubstituteExtension.ProtectedGeneric<T>(Object, String, Boolean, Object[])
NSubstituteExtension.ProtectedProperty(Object, String)
NSubstituteExtension.MatchInstance<T>(T)
SubstituteUtilities.GetIsSubstituteObject(Object)
SubstituteUtilities.Instead<TInstance, TValue>(TInstance, Func<TInstance, TValue>)
Back to top Generated by DocFX