C# Class Spinnaker.Core.ViewModelManager

Afficher le fichier Open project: Claytonious/spinnaker

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

ActivateRootViewModel() public méthode

public ActivateRootViewModel ( INotifyPropertyChanged viewModel, BrowserBridge browser ) : void
viewModel INotifyPropertyChanged
browser BrowserBridge
Résultat void

BindViewModel() public méthode

public BindViewModel ( INotifyPropertyChanged viewModel, BrowserBridge browser ) : void
viewModel INotifyPropertyChanged
browser BrowserBridge
Résultat void

HandleScriptPropertyChanged() public méthode

public HandleScriptPropertyChanged ( string id, string propertyName, string newValue ) : void
id string
propertyName string
newValue string
Résultat void

InjectFramework() public méthode

public InjectFramework ( StringBuilder sb ) : void
sb StringBuilder
Résultat void

InvokeViewModelMethod() public méthode

public InvokeViewModelMethod ( string id, string methodName ) : void
id string
methodName string
Résultat void

InvokeViewModelMethod() public méthode

public InvokeViewModelMethod ( string id, string methodName, string arg ) : void
id string
methodName string
arg string
Résultat void

Reset() public méthode

public Reset ( ) : void
Résultat void

ViewModelManager() public méthode

public ViewModelManager ( ) : System
Résultat System