C# Class Neutronium.Core.Binding.GlueObject.JSCommand

Inheritance: GlueBase, IJSObservableBridge
Exibir arquivo Open project: David-Desmaisons/MVVM.CEF.Glue Class Usage Examples

Private Properties

Property Type Description
CanExecuteCommand void
Command_CanExecuteChanged void
ExecuteCommand void
UpdateProperty void

Public Methods

Method Description
GetChildren ( ) : IEnumerable
JSCommand ( HTMLViewContext context, IJavascriptToCSharpConverter converter, ICommand command ) : System
ListenChanges ( ) : void
SetMappedJSValue ( IJavascriptObject ijsobject ) : void
UnListenChanges ( ) : void

Protected Methods

Method Description
ComputeString ( StringBuilder sb, HashSet alreadyComputed ) : void
LocalComputeJavascriptValue ( IJavascriptObjectFactory factory ) : bool

Private Methods

Method Description
CanExecuteCommand ( IJavascriptObject e ) : void
Command_CanExecuteChanged ( object sender, EventArgs e ) : void
ExecuteCommand ( IJavascriptObject e ) : void
UpdateProperty ( string propertyName, IJavascriptObject>.Func factory ) : void

Method Details

ComputeString() protected method

protected ComputeString ( StringBuilder sb, HashSet alreadyComputed ) : void
sb StringBuilder
alreadyComputed HashSet
return void

GetChildren() public method

public GetChildren ( ) : IEnumerable
return IEnumerable

JSCommand() public method

public JSCommand ( HTMLViewContext context, IJavascriptToCSharpConverter converter, ICommand command ) : System
context HTMLViewContext
converter IJavascriptToCSharpConverter
command ICommand
return System

ListenChanges() public method

public ListenChanges ( ) : void
return void

LocalComputeJavascriptValue() protected method

protected LocalComputeJavascriptValue ( IJavascriptObjectFactory factory ) : bool
factory IJavascriptObjectFactory
return bool

SetMappedJSValue() public method

public SetMappedJSValue ( IJavascriptObject ijsobject ) : void
ijsobject IJavascriptObject
return void

UnListenChanges() public method

public UnListenChanges ( ) : void
return void