public RemindTemplateModelCreator(ProcessInstanceCacheFactory cache, SysProcessInstance pi, SysActivityInstance ai, UseTimeType useTime, SysWorkItem wi = null, int?result = new int?()) { this._pi = pi; this._ai = ai; this._useTime = useTime; if (wi != null) { this._wi = wi; this._wiOwnerId = wi.OwnerId; } if (result.HasValue) { this._resultType = (ProcessTemplateResultType)result.Value; } this.serverHost = WebConfigAppSettings.GetServerHost(); this._piCacheFactory = cache; }
public ProcessRemindHandlerBase(ProcessInstanceCacheFactory cache, SysProcessInstance pi, SysActivityInstance ai, UseTimeType useTime, SysWorkItem wi = null, int?result = new int?()) { this.creator = new RemindTemplateModelCreator(cache, pi, ai, useTime, wi, result); this._piCacheFactory = cache; this._context = cache.Context; this._manager = cache.Manager; this.InitRemindList(); }