/// <summary> /// The on perpare. /// </summary> /// <param name="context"> /// The context. /// </param> public override void OnPerpare(IBuildContext context) { if (!context.CanHandleLiftime()) return; context.ErrorTracer.Phase = "Reciving Liftime Informations for " + context.Metadata; context.Policys.Add( new LifetimeTimePolicy { LiftimeType = context.Metadata.Lifetime, ShareLiftime = context.Metadata.Export.ShareLifetime }); }