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
-
PropertyChangedBaseReferenceCollection
- Implements
-
INotifyPropertyChangedEx
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
- Extension Methods
Constructors
ReferenceCollection(string)
Initializes a new instance of the ReferenceCollection class.
public ReferenceCollection(string name)
Parameters
name
stringName for the references.
Properties
Icon
Gets the icon.
public Uri Icon { get; }
Property Value
Items
Gets the reference items.
public IProjectItemCollection Items { get; }
Property Value
Name
Gets the name.
public string Name { get; }
Property Value
Parent
Gets or sets the parent item.
[DoNotTrack]
public ICompositeProjectItem Parent { get; set; }
Property Value
Methods
FromBytes(byte[])
Populates an object from a byte[].
public void FromBytes(byte[] data)
Parameters
Exceptions
- NotImplementedException
Always thrown.
ToBytes()
Retrieves a byte[] representation of the references.
public byte[] ToBytes()
Returns
- byte[]
Bytes representing the instance.