Class LisrtModule
Represents a base class for an ILisrtModule implementation.
public abstract class LisrtModule : PropertyChangedBase, INotifyPropertyChangedEx, ILisrtModule, INotifyPropertyChanged
- Inheritance
-
PropertyChangedBaseLisrtModule
- Implements
-
INotifyPropertyChangedEx
- Derived
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
- Extension Methods
Constructors
LisrtModule(string)
Initializes a new instance of the LisrtModule class.
protected LisrtModule(string name)
Parameters
name
stringThe name for the LisrtModule.
Exceptions
- ArgumentNullException
Thrown when
name
is null or empty.
Properties
Enabled
Gets or sets a value indicating whether the LisrtModule instance is enabled.
[Configuration(false)]
public virtual bool Enabled { get; set; }
Property Value
Icon
Gets an icon which is representative for the module. Default value is null.
public virtual Uri Icon { get; }
Property Value
Name
Gets the name of the LisrtModule instance.
public virtual string Name { get; }
Property Value
Parent
Gets or sets the parent LisrtModule instance.
public virtual ILisrtModule Parent { get; set; }
Property Value
Remarks
Returns null if it is root module.
TreeItem
Gets the view model for the module.
public virtual ITreeItem TreeItem { get; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.