C# Class TechDays.UI.Map.ViewModel.ZoneViewModel

Inheritance: ViewModelBase
Mostrar archivo Open project: Zenika/Presidentielles-RabbitMQ Class Usage Examples

Public Methods

Method Description
GetStatus ( String status ) : bool

GetTimestamp ( String date, String hours ) : System.DateTime

SetColor ( System.Windows.Media.Brush brNewColor, int nSecondsToBlink ) : void

SetWinner ( System.Xml.Linq.XElement el ) : void

StartBlinking ( int nSecondsToBlink = 30, int nMilliseconds = 500 ) : void

StopBlinking ( ) : void

Update ( System.Xml.Linq.XElement el ) : bool

ZoneViewModel ( ) : System

ZoneViewModel ( System.Xml.Linq.XElement el ) : System

Private Methods

Method Description
Initialize ( System.Xml.Linq.XElement el ) : void

timer_Tick ( object state ) : void

Method Details

GetStatus() public method

public GetStatus ( String status ) : bool
status String
return bool

GetTimestamp() public method

public GetTimestamp ( String date, String hours ) : System.DateTime
date String
hours String
return System.DateTime

SetColor() public method

public SetColor ( System.Windows.Media.Brush brNewColor, int nSecondsToBlink ) : void
brNewColor System.Windows.Media.Brush
nSecondsToBlink int
return void

SetWinner() public method

public SetWinner ( System.Xml.Linq.XElement el ) : void
el System.Xml.Linq.XElement
return void

StartBlinking() public method

public StartBlinking ( int nSecondsToBlink = 30, int nMilliseconds = 500 ) : void
nSecondsToBlink int
nMilliseconds int
return void

StopBlinking() public method

public StopBlinking ( ) : void
return void

Update() public method

public Update ( System.Xml.Linq.XElement el ) : bool
el System.Xml.Linq.XElement
return bool

ZoneViewModel() public method

public ZoneViewModel ( ) : System
return System

ZoneViewModel() public method

public ZoneViewModel ( System.Xml.Linq.XElement el ) : System
el System.Xml.Linq.XElement
return System