Table of Contents

Class ReferenceCollection

Namespace
Loehnert.Lisrt.Scripting.Project.References
Assembly
Loehnert.Lisrt.Scripting.dll

Collection project item for references.

public class ReferenceCollection : PropertyChangedBase, INotifyPropertyChangedEx, IReferenceCollection, ICompositeProjectItem, IProjectItem, INotifyPropertyChanged, IByteSerializable
Inheritance
PropertyChangedBase
ReferenceCollection
Implements
INotifyPropertyChangedEx
Inherited Members
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged
Extension Methods

Constructors

ReferenceCollection(string)

Initializes a new instance of the ReferenceCollection class.

public ReferenceCollection(string name)

Parameters

name string

Name for the references.

Properties

Icon

Gets the icon.

public Uri Icon { get; }

Property Value

Uri

Items

Gets the reference items.

public IProjectItemCollection Items { get; }

Property Value

IProjectItemCollection

Name

Gets the name.

public string Name { get; }

Property Value

string

Parent

Gets or sets the parent item.

[DoNotTrack]
public ICompositeProjectItem Parent { get; set; }

Property Value

ICompositeProjectItem

Methods

FromBytes(byte[])

Populates an object from a byte[].

public void FromBytes(byte[] data)

Parameters

data byte[]

byte[] representation of the object.

Exceptions

NotImplementedException

Always thrown.

ToBytes()

Retrieves a byte[] representation of the references.

public byte[] ToBytes()

Returns

byte[]

Bytes representing the instance.