C# 클래스 Spinnaker.Core.ViewModelManager

파일 보기 프로젝트 열기: Claytonious/spinnaker

공개 메소드들

메소드 설명
ActivateRootViewModel ( INotifyPropertyChanged viewModel, BrowserBridge browser ) : void
BindViewModel ( INotifyPropertyChanged viewModel, BrowserBridge browser ) : void
HandleScriptPropertyChanged ( string id, string propertyName, string newValue ) : void
InjectFramework ( StringBuilder sb ) : void
InvokeViewModelMethod ( string id, string methodName ) : void
InvokeViewModelMethod ( string id, string methodName, string arg ) : void
Reset ( ) : void
ViewModelManager ( ) : System

비공개 메소드들

메소드 설명
GetViewModelDefinition ( Type viewModelType ) : ViewModelDefinition
GetViewModelInstance ( System.Guid id ) : ViewModelInstance
GetViewModelInstance ( INotifyPropertyChanged viewModel ) : ViewModelInstance
GetViewModelInstance ( string scriptId ) : ViewModelInstance
InstantiateInBrowser ( INotifyPropertyChanged instance, BrowserBridge browser ) : ViewModelInstance
IsViewModelDefinedInBrowser ( Type type ) : bool
RegisterViewModelDefinition ( Type viewModelType, ViewModelDefinition definition ) : void
ReleaseInBrowser ( System.Guid id ) : void
ReleaseInBrowser ( string scriptId ) : void
SetViewModelDefinedInBrowser ( Type type ) : void

메소드 상세

ActivateRootViewModel() 공개 메소드

public ActivateRootViewModel ( INotifyPropertyChanged viewModel, BrowserBridge browser ) : void
viewModel INotifyPropertyChanged
browser BrowserBridge
리턴 void

BindViewModel() 공개 메소드

public BindViewModel ( INotifyPropertyChanged viewModel, BrowserBridge browser ) : void
viewModel INotifyPropertyChanged
browser BrowserBridge
리턴 void

HandleScriptPropertyChanged() 공개 메소드

public HandleScriptPropertyChanged ( string id, string propertyName, string newValue ) : void
id string
propertyName string
newValue string
리턴 void

InjectFramework() 공개 메소드

public InjectFramework ( StringBuilder sb ) : void
sb StringBuilder
리턴 void

InvokeViewModelMethod() 공개 메소드

public InvokeViewModelMethod ( string id, string methodName ) : void
id string
methodName string
리턴 void

InvokeViewModelMethod() 공개 메소드

public InvokeViewModelMethod ( string id, string methodName, string arg ) : void
id string
methodName string
arg string
리턴 void

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

ViewModelManager() 공개 메소드

public ViewModelManager ( ) : System
리턴 System