Mono.TextTemplating.TemplatingAppDomainRecycler.RecyclableAppDomain.GetHandle C# (CSharp) Method

GetHandle() public method

public GetHandle ( ) : Handle
return Handle
			public Handle GetHandle ()
			{
				lock (this) {
					if (unusedHandles <= 0) {
						throw new InvalidOperationException ("No handles left");
					}
					unusedHandles--;
					liveHandles++;
				}
				return new Handle (this);
			}