C# 클래스 Scroller.StrategyBridge

Make the bridge between the different implementations
상속: IScrollingStrategy
파일 보기 프로젝트 열기: Invenietis/ck-certified 1 사용 예제들

Private Properties

프로퍼티 타입 설명
StrategyBridge System

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
StrategyBridge ( ) : System

메소드 상세

ElementUnregistered() 공개 메소드

public ElementUnregistered ( HighlightModel element ) : void
element HighlightModel
리턴 void

GetStrategyNames() 공개 정적인 메소드

Get all the available strategy names
public static GetStrategyNames ( ) : IEnumerable
리턴 IEnumerable

GetStrategyTypes() 공개 정적인 메소드

Get the list of all types that implements IScrollingStrategy
public static GetStrategyTypes ( ) : IEnumerable
리턴 IEnumerable

GoToElement() 공개 메소드

public GoToElement ( HighlightModel element ) : void
element HighlightModel
리턴 void

OnExternalEvent() 공개 메소드

public OnExternalEvent ( ) : void
리턴 void

Pause() 공개 메소드

public Pause ( bool forceEndHighlight ) : void
forceEndHighlight bool
리턴 void

Resume() 공개 메소드

public Resume ( ) : void
리턴 void

Setup() 공개 메소드

public Setup ( DispatcherTimer timer, Func getElements, IPluginConfigAccessor config ) : void
timer System.Windows.Threading.DispatcherTimer
getElements Func
config IPluginConfigAccessor
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Stop() 공개 메소드

public Stop ( ) : void
리턴 void

StrategyBridge() 공개 메소드

public StrategyBridge ( DispatcherTimer timer, Func getElements, IPluginConfigAccessor config ) : System
timer System.Windows.Threading.DispatcherTimer
getElements Func
config IPluginConfigAccessor
리턴 System

SwitchTo() 공개 메소드

Switch to the specified strategy
public SwitchTo ( string strategyName ) : void
strategyName string The name of the strategy to switch to
리턴 void