/// <summary> /// Do not override or call base when you do /// </summary> public virtual void Initialize(RFEngineProcessorParam p, IRFProcessingContext context, RFKeyDomain keyDomain, string processName) { InstanceParams = p?.ConvertTo <P>(); Context = context; KeyDomain = keyDomain; ProcessName = processName; _isCancelling = false; _processEntry = null; Log = new RFProcessLog(Context.SystemLog, context.UserLog, this); }
public void Initialize(IRFProcessingContext context) { _context = context; Log = new RFProcessLog(_context?.SystemLog ?? RFStatic.Log, _context?.UserLog, this); }