public void SetContext(IActiveTaskContext ctx)
 {
     _ctx = ctx;
     log = ctx.Log;
 }
 public virtual void Passivate()
 {
     _activated = false;
     _ctx = null;
 }