C# Class Emmet.Engine.EngineWrapper

Encapsulates Emmet library compiled using V8 engine and provides command execution functionality.
Inheritance: IDisposable
Exibir arquivo Open project: sergey-rybalkin/emmet.net Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

EngineWrapper ( string extensionsDirectory ) : System

Constructor.

RunCommand ( int cmdId, IEmmetEditor editor ) : bool

Executes Emmet command with the specified identifier on the specified editor view.

Private Methods

Method Description
InitializeEngine ( ) : void

Method Details

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

EngineWrapper() public method

Constructor.
public EngineWrapper ( string extensionsDirectory ) : System
extensionsDirectory string Pathname of the directory to load Emmet extensions from.
return System

RunCommand() public method

Executes Emmet command with the specified identifier on the specified editor view.
/// Indicates that the specified command identifier was not found. ///
public RunCommand ( int cmdId, IEmmetEditor editor ) : bool
cmdId int Identifier of the command to execute.
editor IEmmetEditor Editor to execute command in.
return bool