/** * */ public WorkerContextImpl() { this.mc = new MapContext(); }
public override IPipeline Init(IWorkerContext context) { MapContext mc = new MapContext(); continiously = true; mc[CONTINUOUS] = continiously; if (null != doc) { mc[DOCUMENT] = doc; } if (null != writer) { mc[WRITER] = writer; } context.Put(GetContextKey(), mc); return base.Init(context); }