C# Class Hourglass.Timing.TimerOptions

Configuration data for a timer.
Inheritance: INotifyPropertyChanged
显示文件 Open project: Dziemborowicz/Hourglass Class Usage Examples

Public Methods

Method Description
FromTimerOptions ( TimerOptions options ) : TimerOptions

Returns a TimerOptions for the specified TimerOptions, or null if the specified TimerOptions is null.

FromTimerOptionsInfo ( TimerOptionsInfo info ) : TimerOptions

Returns a TimerOptions for the specified TimerOptionsInfo, or null if the specified TimerOptionsInfo is null.

Set ( TimerOptions options ) : void

Sets all of the options from another instance of the TimerOptions class.

Set ( TimerOptionsInfo info ) : void

Sets all of the options from an instance of the TimerOptionsInfo class.

TimerOptions ( ) : System

Initializes a new instance of the TimerOptions class.

TimerOptions ( TimerOptions options ) : System

Initializes a new instance of the TimerOptions class from another instance of the class.

TimerOptions ( TimerOptionsInfo info ) : System

Initializes a new instance of the TimerOptions class from a TimerOptionsInfo.

ToTimerOptionsInfo ( ) : TimerOptionsInfo

Returns the representation of the TimerOptions used for XML serialization.

Protected Methods

Method Description
OnPropertyChanged ( ) : void

Raises the PropertyChanged event.

Method Details

FromTimerOptions() public static method

Returns a TimerOptions for the specified TimerOptions, or null if the specified TimerOptions is null.
public static FromTimerOptions ( TimerOptions options ) : TimerOptions
options TimerOptions A .
return TimerOptions

FromTimerOptionsInfo() public static method

Returns a TimerOptions for the specified TimerOptionsInfo, or null if the specified TimerOptionsInfo is null.
public static FromTimerOptionsInfo ( TimerOptionsInfo info ) : TimerOptions
info Hourglass.Serialization.TimerOptionsInfo A .
return TimerOptions

OnPropertyChanged() protected method

Raises the PropertyChanged event.
protected OnPropertyChanged ( ) : void
return void

Set() public method

Sets all of the options from another instance of the TimerOptions class.
public Set ( TimerOptions options ) : void
options TimerOptions A .
return void

Set() public method

Sets all of the options from an instance of the TimerOptionsInfo class.
public Set ( TimerOptionsInfo info ) : void
info Hourglass.Serialization.TimerOptionsInfo A .
return void

TimerOptions() public method

Initializes a new instance of the TimerOptions class.
public TimerOptions ( ) : System
return System

TimerOptions() public method

Initializes a new instance of the TimerOptions class from another instance of the class.
public TimerOptions ( TimerOptions options ) : System
options TimerOptions A .
return System

TimerOptions() public method

Initializes a new instance of the TimerOptions class from a TimerOptionsInfo.
public TimerOptions ( TimerOptionsInfo info ) : System
info Hourglass.Serialization.TimerOptionsInfo A .
return System

ToTimerOptionsInfo() public method

Returns the representation of the TimerOptions used for XML serialization.
public ToTimerOptionsInfo ( ) : TimerOptionsInfo
return Hourglass.Serialization.TimerOptionsInfo