Castle.MicroKernel.Burden.Burden C# (CSharp) Method

Burden() private method

private Burden ( IHandler handler, bool requiresDecommission, bool trackedExternally ) : System
handler IHandler
requiresDecommission bool
trackedExternally bool
return System
		internal Burden(IHandler handler, bool requiresDecommission, bool trackedExternally)
		{
			this.handler = handler;
			TrackedExternally = trackedExternally;
			if (requiresDecommission)
			{
				decommission = Decommission.Yes;
			}
			else if (Model.Lifecycle.HasDecommissionConcerns)
			{
				if (Model.Implementation == typeof(LateBoundComponent) && Model.Lifecycle.DecommissionConcerns.All(IsLateBound))
				{
					decommission = Decommission.LateBound;
				}
				else
				{
					decommission = Decommission.Yes;
				}
			}
		}