Class PropertyContentReferenceList

Property for storing multiple ContentReference instances. Supports content properties of type System.Collections.Generic.IList<T>, System.Collections.Generic.ICollection<T> or System.Collections.Generic.IEnumerable<T>

Inheritance
System.Object
PropertyContentReferenceList
Inherited Members
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: EPiServer.SpecializedProperties
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
[PropertyDefinitionTypePlugIn]
public class PropertyContentReferenceList : PropertyList<ContentReference>, IReadOnly<PropertyData>, IReadOnly, ILazyProperty

Constructors

PropertyContentReferenceList()

Initializes a new instance of the PropertyContentReferenceList class.

Declaration
public PropertyContentReferenceList()

PropertyContentReferenceList(IEnumerable<ContentReference>)

Initializes a new instance of the PropertyContentReferenceList class with the provided list.

Declaration
public PropertyContentReferenceList(IEnumerable<ContentReference> list)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<ContentReference> list

Methods

ParseItem(String)

Declaration
protected override ContentReference ParseItem(string value)
Parameters
Type Name Description
System.String value
Returns
Type Description
ContentReference
Overrides
EPiServer.Core.PropertyList<EPiServer.Core.ContentReference>.ParseItem(System.String)

ParseToObject(String)

Creates a new instance of PropertyData with the given value, ie reversed ToString().

Declaration
public override PropertyData ParseToObject(string value)
Parameters
Type Name Description
System.String value

The string value to parse.

Returns
Type Description
PropertyData

A new instance of PropertyData with the given value.

Overrides

Implements

Extension Methods