C# Class Scroller.StrategyBridge

Make the bridge between the different implementations
Inheritance: IScrollingStrategy
Afficher le fichier Open project: Invenietis/ck-certified Class Usage Examples

Private Properties

Свойство Type Description
StrategyBridge System

Méthodes publiques

Méthode Description
ElementUnregistered ( HighlightModel element ) : void
GetStrategyNames ( ) : IEnumerable

Get all the available strategy names

GetStrategyTypes ( ) : IEnumerable

Get the list of all types that implements IScrollingStrategy

GoToElement ( HighlightModel element ) : void
OnExternalEvent ( ) : void
Pause ( bool forceEndHighlight ) : void
Resume ( ) : void
Setup ( DispatcherTimer timer, Func getElements, IPluginConfigAccessor config ) : void
Start ( ) : void
Stop ( ) : void
StrategyBridge ( DispatcherTimer timer, Func getElements, IPluginConfigAccessor config ) : System
SwitchTo ( string strategyName ) : void

Switch to the specified strategy

Private Methods

Méthode Description
StrategyBridge ( ) : System

Method Details

ElementUnregistered() public méthode

public ElementUnregistered ( HighlightModel element ) : void
element HighlightModel
Résultat void

GetStrategyNames() public static méthode

Get all the available strategy names
public static GetStrategyNames ( ) : IEnumerable
Résultat IEnumerable

GetStrategyTypes() public static méthode

Get the list of all types that implements IScrollingStrategy
public static GetStrategyTypes ( ) : IEnumerable
Résultat IEnumerable

GoToElement() public méthode

public GoToElement ( HighlightModel element ) : void
element HighlightModel
Résultat void

OnExternalEvent() public méthode

public OnExternalEvent ( ) : void
Résultat void

Pause() public méthode

public Pause ( bool forceEndHighlight ) : void
forceEndHighlight bool
Résultat void

Resume() public méthode

public Resume ( ) : void
Résultat void

Setup() public méthode

public Setup ( DispatcherTimer timer, Func getElements, IPluginConfigAccessor config ) : void
timer System.Windows.Threading.DispatcherTimer
getElements Func
config IPluginConfigAccessor
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

StrategyBridge() public méthode

public StrategyBridge ( DispatcherTimer timer, Func getElements, IPluginConfigAccessor config ) : System
timer System.Windows.Threading.DispatcherTimer
getElements Func
config IPluginConfigAccessor
Résultat System

SwitchTo() public méthode

Switch to the specified strategy
public SwitchTo ( string strategyName ) : void
strategyName string The name of the strategy to switch to
Résultat void