/// <summary> /// Handles the disposal of resources. Derived from abstract class <see cref="DisposableObject"/> which handles common required locking logic. /// </summary> protected override void DisposeResources() { NhEventListeners.RemoveNodeIdHandler(this); }
public NhSessionHelper(ISession nhSession, IFrameworkContext frameworkContext) { NhSession = nhSession; NhEventListeners.AddNodeIdHandler(this, HandleNodeIdAvailable); FrameworkContext = frameworkContext; }