WIP
DirectOutput framework for virtual pinball cabinets WIP
Go to:
Overview 
DirectOutput.General.Generic.NamedItemBase Class Reference

Abstract base class for named items.
Implements the name property and the necessary events. More...

Inheritance diagram for DirectOutput.General.Generic.NamedItemBase:
DirectOutput.General.Generic.INamedItem DirectOutput.Cab.Out.Output DirectOutput.Cab.Out.OutputControllerBase DirectOutput.Cab.Out.OutputControllerCompleteBase DirectOutput.Cab.Toys.ToyBase DirectOutput.FX.EffectBase DirectOutput.FX.MatrixFX.BitmapShapes.Shape DirectOutput.General.BitmapHandling.FastImage DirectOutput.General.Curve

Protected Member Functions

virtual void AfterNameChange (string OldName, string NewName)
 
virtual void BeforeNameChange (string OldName, string NewName)
 
virtual void OnPropertyChanged (string propertyName)
 
virtual void OnPropertyChanging (string propertyName)
 

Properties

string Name [get, set]
 Name of the named item.
Triggers BeforeNameChange before a new Name is set.
Triggers AfterNameChanged after a new name has been set. More...
 
- Properties inherited from DirectOutput.General.Generic.INamedItem
string Name [get, set]
 Gets or sets the name of the item.
Must fire the BeforeNameChange and AfterNameChange events when the value of the property is changed. More...
 

Events

EventHandler< NameChangeEventArgsAfterNameChanged
 Event is fired after the value of the property Name has changed. More...
 
EventHandler< NameChangeEventArgsBeforeNameChanged
 Event is fired before the value of the property Name is changed. More...
 
PropertyChangedEventHandler PropertyChanged
 
PropertyChangingEventHandler PropertyChanging
 
- Events inherited from DirectOutput.General.Generic.INamedItem
EventHandler< NameChangeEventArgsBeforeNameChanged
 Occurs before the name of the item changes. More...
 
EventHandler< NameChangeEventArgsAfterNameChanged
 Occurs when after the name of the item has changed. More...
 

Detailed Description

Abstract base class for named items.
Implements the name property and the necessary events.

Definition at line 10 of file NamedItemBase.cs.

Member Function Documentation

virtual void DirectOutput.General.Generic.NamedItemBase.AfterNameChange ( string  OldName,
string  NewName 
)
protectedvirtual

Reimplemented in DirectOutput.Cab.Out.OutputControllerCompleteBase.

Definition at line 41 of file NamedItemBase.cs.

virtual void DirectOutput.General.Generic.NamedItemBase.BeforeNameChange ( string  OldName,
string  NewName 
)
protectedvirtual

Definition at line 46 of file NamedItemBase.cs.

virtual void DirectOutput.General.Generic.NamedItemBase.OnPropertyChanged ( string  propertyName)
protectedvirtual

Definition at line 80 of file NamedItemBase.cs.

virtual void DirectOutput.General.Generic.NamedItemBase.OnPropertyChanging ( string  propertyName)
protectedvirtual

Definition at line 91 of file NamedItemBase.cs.

Property Documentation

string DirectOutput.General.Generic.NamedItemBase.Name
getset

Name of the named item.
Triggers BeforeNameChange before a new Name is set.
Triggers AfterNameChanged after a new name has been set.

The name of the item.

Definition at line 23 of file NamedItemBase.cs.

Event Documentation

EventHandler<NameChangeEventArgs> DirectOutput.General.Generic.NamedItemBase.AfterNameChanged

Event is fired after the value of the property Name has changed.

Definition at line 70 of file NamedItemBase.cs.

EventHandler<NameChangeEventArgs> DirectOutput.General.Generic.NamedItemBase.BeforeNameChanged

Event is fired before the value of the property Name is changed.

Definition at line 75 of file NamedItemBase.cs.

PropertyChangedEventHandler DirectOutput.General.Generic.NamedItemBase.PropertyChanged

Definition at line 78 of file NamedItemBase.cs.

PropertyChangingEventHandler DirectOutput.General.Generic.NamedItemBase.PropertyChanging

Definition at line 88 of file NamedItemBase.cs.


The documentation for this class was generated from the following file: