Exemple #1
0
 protected override Yield Start(XDoc config, ILifetimeScope container, Result result)
 {
     yield return Coroutine.Invoke(base.Start, config, container, new Result());
     LifetimeTest = null;
     Shadowed = null;
     result.Return();
 }
Exemple #2
0
 public Yield Lifetime(DreamContext context, DreamMessage request, Result<DreamMessage> response)
 {
     LifetimeTest = context.Container.Resolve<ILifetimeTest>() as LifetimeTest;
     response.Return(DreamMessage.Ok());
     yield break;
 }