Class DataPropertyCollection
Represents a serializable collection of name/value properties.
Inheritance
System.Object
System.Collections.ObjectModel.Collection<DataProperty>
DataPropertyCollection
Implements
System.Collections.Generic.IList<DataProperty>
System.Collections.Generic.ICollection<DataProperty>
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IReadOnlyList<DataProperty>
System.Collections.Generic.IReadOnlyCollection<DataProperty>
System.Collections.Generic.IEnumerable<DataProperty>
System.Collections.IEnumerable
Inherited Members
System.Collections.ObjectModel.Collection<Nevatech.Vsb.Repository.Entities.DataProperty>.Add(Nevatech.Vsb.Repository.Entities.DataProperty)
System.Collections.ObjectModel.Collection<Nevatech.Vsb.Repository.Entities.DataProperty>.Clear()
System.Collections.ObjectModel.Collection<Nevatech.Vsb.Repository.Entities.DataProperty>.CopyTo(Nevatech.Vsb.Repository.Entities.DataProperty[], System.Int32)
System.Collections.ObjectModel.Collection<Nevatech.Vsb.Repository.Entities.DataProperty>.Contains(Nevatech.Vsb.Repository.Entities.DataProperty)
System.Collections.ObjectModel.Collection<Nevatech.Vsb.Repository.Entities.DataProperty>.GetEnumerator()
System.Collections.ObjectModel.Collection<Nevatech.Vsb.Repository.Entities.DataProperty>.IndexOf(Nevatech.Vsb.Repository.Entities.DataProperty)
System.Collections.ObjectModel.Collection<Nevatech.Vsb.Repository.Entities.DataProperty>.Insert(System.Int32, Nevatech.Vsb.Repository.Entities.DataProperty)
System.Collections.ObjectModel.Collection<Nevatech.Vsb.Repository.Entities.DataProperty>.Remove(Nevatech.Vsb.Repository.Entities.DataProperty)
System.Collections.ObjectModel.Collection<Nevatech.Vsb.Repository.Entities.DataProperty>.RemoveAt(System.Int32)
System.Collections.ObjectModel.Collection<Nevatech.Vsb.Repository.Entities.DataProperty>.ClearItems()
System.Collections.ObjectModel.Collection<Nevatech.Vsb.Repository.Entities.DataProperty>.InsertItem(System.Int32, Nevatech.Vsb.Repository.Entities.DataProperty)
System.Collections.ObjectModel.Collection<Nevatech.Vsb.Repository.Entities.DataProperty>.RemoveItem(System.Int32)
System.Collections.ObjectModel.Collection<Nevatech.Vsb.Repository.Entities.DataProperty>.SetItem(System.Int32, Nevatech.Vsb.Repository.Entities.DataProperty)
System.Collections.ObjectModel.Collection<Nevatech.Vsb.Repository.Entities.DataProperty>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.ObjectModel.Collection<Nevatech.Vsb.Repository.Entities.DataProperty>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.ObjectModel.Collection<Nevatech.Vsb.Repository.Entities.DataProperty>.System.Collections.IList.get_Item(System.Int32)
System.Collections.ObjectModel.Collection<Nevatech.Vsb.Repository.Entities.DataProperty>.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<Nevatech.Vsb.Repository.Entities.DataProperty>.System.Collections.IList.Add(System.Object)
System.Collections.ObjectModel.Collection<Nevatech.Vsb.Repository.Entities.DataProperty>.System.Collections.IList.Contains(System.Object)
System.Collections.ObjectModel.Collection<Nevatech.Vsb.Repository.Entities.DataProperty>.System.Collections.IList.IndexOf(System.Object)
System.Collections.ObjectModel.Collection<Nevatech.Vsb.Repository.Entities.DataProperty>.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<Nevatech.Vsb.Repository.Entities.DataProperty>.System.Collections.IList.Remove(System.Object)
System.Collections.ObjectModel.Collection<Nevatech.Vsb.Repository.Entities.DataProperty>.Count
System.Collections.ObjectModel.Collection<Nevatech.Vsb.Repository.Entities.DataProperty>.Items
System.Collections.ObjectModel.Collection<Nevatech.Vsb.Repository.Entities.DataProperty>.Item[System.Int32]
System.Collections.ObjectModel.Collection<Nevatech.Vsb.Repository.Entities.DataProperty>.System.Collections.Generic.ICollection<Nevatech.Vsb.Repository.Entities.DataProperty>.IsReadOnly
System.Collections.ObjectModel.Collection<Nevatech.Vsb.Repository.Entities.DataProperty>.System.Collections.ICollection.IsSynchronized
System.Collections.ObjectModel.Collection<Nevatech.Vsb.Repository.Entities.DataProperty>.System.Collections.ICollection.SyncRoot
System.Collections.ObjectModel.Collection<Nevatech.Vsb.Repository.Entities.DataProperty>.System.Collections.IList.Item[System.Int32]
System.Collections.ObjectModel.Collection<Nevatech.Vsb.Repository.Entities.DataProperty>.System.Collections.IList.IsReadOnly
System.Collections.ObjectModel.Collection<Nevatech.Vsb.Repository.Entities.DataProperty>.System.Collections.IList.IsFixedSize
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: Nevatech.Vsb.Repository.Entities
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class DataPropertyCollection : Collection<DataProperty>, IList<DataProperty>, ICollection<DataProperty>, IList, ICollection, IReadOnlyList<DataProperty>, IReadOnlyCollection<DataProperty>, IEnumerable<DataProperty>, IEnumerable
Constructors
DataPropertyCollection()
Initializes an empty instance.
Declaration
public DataPropertyCollection()
DataPropertyCollection(IDictionary<String, Object>)
Initializes a new instance and populates if from the provided dictionary.
Declaration
public DataPropertyCollection(IDictionary<string, object> properties)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> | properties | Dictionary to be initialized from. |
Methods
Add(String, Object)
Adds new property to provided collection.
Declaration
public void Add(string name, object value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Property name. |
System.Object | value | Property value. |
Deserialize(String)
Deserializes collection of properties from the provided XML string.
Declaration
public static DataPropertyCollection Deserialize(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | XML string representing a serialized collection of properties. |
Returns
Type | Description |
---|---|
DataPropertyCollection | Collection of properties deserialized from the provided XML string. |
Serialize()
Serializes collection to an XML string.
Declaration
public string Serialize()
Returns
Type | Description |
---|---|
System.String | XML string representing this collection. |
Implements
System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IReadOnlyList<T>
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable