Castle.MicroKernel.Context.DependencyTrackingScope.Dispose C# (CSharp) Method

Dispose() public method

public Dispose ( ) : void
return void
		public void Dispose()
		{
			// if the dependency were being tracked, and we reached the dispose...
			if (dependencies != null && dependencyTrackingKey != null)
			{
				// ...then the dependency was resolved successfully, we can stop tracking it.
				UntrackDependency(dependencyTrackingKey);
			}
		}