Table of Contents

Class CreationRuleMetadataCollection

Namespace
Dynamicweb.Content.Items.Metadata
Assembly
Dynamicweb.dll

Represents a collection of creation rule metadata.

public class CreationRuleMetadataCollection : Collection<CreationRuleMetadata>, IList<CreationRuleMetadata>, ICollection<CreationRuleMetadata>, IReadOnlyList<CreationRuleMetadata>, IReadOnlyCollection<CreationRuleMetadata>, IEnumerable<CreationRuleMetadata>, IList, ICollection, IEnumerable
Inheritance
CreationRuleMetadataCollection
Implements
Inherited Members
Extension Methods

Constructors

CreationRuleMetadataCollection()

Initializes a new instance of an object.

public CreationRuleMetadataCollection()

CreationRuleMetadataCollection(IEnumerable<CreationRuleMetadata>)

Initializes a new instance of an object.

public CreationRuleMetadataCollection(IEnumerable<CreationRuleMetadata> items)

Parameters

items IEnumerable<CreationRuleMetadata>

Elements to be copied to this collection.

Methods

DeserializeFrom(StringBuilder)

Deserializes the state of the current object from a given source.

public virtual void DeserializeFrom(StringBuilder metadata)

Parameters

metadata StringBuilder

Xml string.

DeserializeFrom(XmlReader)

Deserializes the state of the current object from a given source.

public virtual void DeserializeFrom(XmlReader reader)

Parameters

reader XmlReader

Xml reader.

Find(string)

Returns the first element with the given type name.

public CreationRuleMetadata Find(string typeName)

Parameters

typeName string

Type name.

Returns

CreationRuleMetadata

The first element with the given type name.

FindIndex(string)

Returns an index of a first element from the collection with the given type name.

public int FindIndex(string typeName)

Parameters

typeName string

Type name.

Returns

int

An index of a first element from the collection with the given type name.

SerializeTo(StringBuilder)

Serializes the state of the current object into the given source.

public virtual void SerializeTo(StringBuilder metadata)

Parameters

metadata StringBuilder

Xml string.

SerializeTo(XmlWriter)

Serializes the state of the current object into the given source.

public virtual void SerializeTo(XmlWriter writer)

Parameters

writer XmlWriter

Xml writer.

To top