C# Class HoldItCore.Level

Inheritance: System.Windows.Controls.ContentControl
Mostrar archivo Open project: ibdknox/swred Class Usage Examples

Public Properties

Property Type Description
AccidentsProperty System.Windows.DependencyProperty
LevelNames List
RemainingProperty System.Windows.DependencyProperty
ScoreIncrementProperty System.Windows.DependencyProperty
ScoreProperty System.Windows.DependencyProperty
ScoreReasonProperty System.Windows.DependencyProperty

Private Properties

Property Type Description
HandleCurrentStateChanged void
UpdateWaitingLine void

Public Methods

Method Description
AccidentHappened ( ) : void
AdjustScore ( int change ) : void
Deselect ( Person person ) : void
GetNeighborCount ( Stall stall ) : int
GetNeighbors ( Stall stall ) : IEnumerable
Level ( ) : System
OnApplyTemplate ( ) : void
RemoveFromLine ( Person person ) : void
RemovePerson ( Person person ) : void
ScoreStallChoice ( Stall stall ) : void
Select ( Person person ) : void
SendPersonTo ( Stall stall ) : void
Stop ( ) : void

Protected Methods

Method Description
AddPerson ( Person person ) : void
OnCompleted ( ) : void
OnPersonRemoved ( Person person ) : void
Start ( ) : void

Private Methods

Method Description
HandleCurrentStateChanged ( object sender, System.Windows.VisualStateChangedEventArgs e ) : void
UpdateWaitingLine ( ) : void

Method Details

AccidentHappened() public method

public AccidentHappened ( ) : void
return void

AddPerson() protected method

protected AddPerson ( Person person ) : void
person HoldItCore.People.Person
return void

AdjustScore() public method

public AdjustScore ( int change ) : void
change int
return void

Deselect() public method

public Deselect ( Person person ) : void
person HoldItCore.People.Person
return void

GetNeighborCount() public method

public GetNeighborCount ( Stall stall ) : int
stall Stall
return int

GetNeighbors() public method

public GetNeighbors ( Stall stall ) : IEnumerable
stall Stall
return IEnumerable

Level() public method

public Level ( ) : System
return System

OnApplyTemplate() public method

public OnApplyTemplate ( ) : void
return void

OnCompleted() protected method

protected OnCompleted ( ) : void
return void

OnPersonRemoved() protected method

protected OnPersonRemoved ( Person person ) : void
person HoldItCore.People.Person
return void

RemoveFromLine() public method

public RemoveFromLine ( Person person ) : void
person HoldItCore.People.Person
return void

RemovePerson() public method

public RemovePerson ( Person person ) : void
person HoldItCore.People.Person
return void

ScoreStallChoice() public method

public ScoreStallChoice ( Stall stall ) : void
stall Stall
return void

Select() public method

public Select ( Person person ) : void
person HoldItCore.People.Person
return void

SendPersonTo() public method

public SendPersonTo ( Stall stall ) : void
stall Stall
return void

Start() protected method

protected Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Property Details

AccidentsProperty public_oe static_oe property

public static DependencyProperty,System.Windows AccidentsProperty
return System.Windows.DependencyProperty

LevelNames public_oe static_oe property

public static List LevelNames
return List

RemainingProperty public_oe static_oe property

public static DependencyProperty,System.Windows RemainingProperty
return System.Windows.DependencyProperty

ScoreIncrementProperty public_oe static_oe property

public static DependencyProperty,System.Windows ScoreIncrementProperty
return System.Windows.DependencyProperty

ScoreProperty public_oe static_oe property

public static DependencyProperty,System.Windows ScoreProperty
return System.Windows.DependencyProperty

ScoreReasonProperty public_oe static_oe property

public static DependencyProperty,System.Windows ScoreReasonProperty
return System.Windows.DependencyProperty