C# Class Mercurial.Hooks.MercurialHookBase

This is the base class for Mercurial hook type implementations.
Inheritance: IDisposable
Mostrar archivo Open project: TargetProcess/Target-Process-Plugins

Public Methods

Method Description
Dispose ( ) : void

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

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

LoadRevision ( string environmentVariableName ) : RevSpec

Loads a RevSpec from a hash specified by an environment variable.

MercurialHookBase ( ) : System

Initializes a new instance of the MercurialHookBase class.

Method Details

Dispose() public method

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

Dispose() protected method

Releases unmanaged and - optionally - managed resources
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
return void

LoadRevision() protected static method

Loads a RevSpec from a hash specified by an environment variable.
protected static LoadRevision ( string environmentVariableName ) : RevSpec
environmentVariableName string /// The name of the environment variable to load the from. ///
return RevSpec

MercurialHookBase() protected method

Initializes a new instance of the MercurialHookBase class.
protected MercurialHookBase ( ) : System
return System