C# Class DigitalWatch.Behaviors.ClockBehavior

The base class for every behavior that might be implemented
显示文件 Open project: DannyvanderJagt/CSharp-Design-Patterns

Public Methods

Method Description
Load ( IClock clock ) : void

Sets the clock.

Load ( IClock clock, DateTime data ) : void

Loads the behavior.

OnClick ( IClockButtonClick buttonClick ) : void

Called when a button is clicked.

Unload ( ) : void

Unloads this instance.

Method Details

Load() public abstract method

Sets the clock.
public abstract Load ( IClock clock ) : void
clock IClock The clock.
return void

Load() public abstract method

Loads the behavior.
public abstract Load ( IClock clock, DateTime data ) : void
clock IClock The clock.
data DateTime The data.
return void

OnClick() public abstract method

Called when a button is clicked.
public abstract OnClick ( IClockButtonClick buttonClick ) : void
buttonClick IClockButtonClick The button click.
return void

Unload() public abstract method

Unloads this instance.
public abstract Unload ( ) : void
return void