IsInResolutionContext() public method

Method used by handlers to test whether they are being resolved in the context.
This method is provided as part of double dispatch mechanism for use by handlers. Outside of handlers, call IHandler.IsBeingResolvedInContext instead.
public IsInResolutionContext ( IHandler handler ) : bool
handler IHandler
return bool
		public bool IsBeingResolvedInContext(CreationContext context)
		{
			return context.IsInResolutionContext(this);
		}
		public bool IsBeingResolvedInContext(CreationContext context)
		{
			return (context != null && context.IsInResolutionContext(this)) || parentHandler.IsBeingResolvedInContext(context);
		}