Struct AssetLink
Represent a link between Assets.
public struct AssetLink : IContentLink
- Implements
- Inherited Members
Constructors
AssetLink(AssetItem, ContentLinkType)
Create an asset dependency of type type
and pointing to item
public AssetLink(AssetItem item, ContentLinkType type)
Parameters
item
AssetItemThe item the dependency is pointing to
type
ContentLinkTypeThe type of the dependency between the items
Fields
Item
The asset item pointed by the dependency.
public readonly AssetItem Item
Field Value
Properties
Element
The reference to the element at the opposite side of the link.
public IReference Element { get; }
Property Value
Type
The type of the link.
public ContentLinkType Type { get; set; }
Property Value
Methods
Clone()
Gets a clone copy of the asset dependency.
public AssetLink Clone()
Returns
- AssetLink
the clone instance