Class MediaReferenceList<T>
Defines a media list that can be serialized to a EPiServer property
Implements
System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
System.ICloneable
EPiServer.Data.Entity.IReadOnly<MediaReferenceList<T>>
EPiServer.Data.Entity.IReadOnly
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ImageVault.EPiServer
Assembly: ImageVault.EPiServer.dll
Syntax
[Obsolete("This is no longer maintained, we recommend using a ContentArea with blocks instead to list media", false)]
public class MediaReferenceList<T> : MediaReferenceListBase<T>, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable, IReadOnlyItem<MediaReferenceListBase<T>>, ICloneable where T : MediaReference, new()
Type Parameters
Name | Description |
---|---|
T |
Constructors
MediaReferenceList()
Initializes a new instance of the MediaReferenceList<T> class.
Declaration
public MediaReferenceList()
MediaReferenceList(IEnumerable<T>)
Initializes a new instance of the MediaReferenceList<T> class.
Declaration
public MediaReferenceList(IEnumerable<T> items)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<T> | items |
MediaReferenceList(String)
Initializes a new instance of the MediaReferenceList<T> class.
Declaration
public MediaReferenceList(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Methods
CreateWritableClone()
Creates a new object that is a copy of the current instance.
Declaration
public MediaReferenceList<T> CreateWritableClone()
Returns
Type | Description |
---|---|
MediaReferenceList<T> | A new object that is a copy of this instance. |
Implements
System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
System.ICloneable
EPiServer.Data.Entity.IReadOnly<>
EPiServer.Data.Entity.IReadOnly