public Mother(int rawStartIndex, string rawValue, Basics.ControlResult.Message messageResult, string updateBlockControlID) : base(rawStartIndex, rawValue, ControllerTypes.Mother, null) { this._Pool = new ControllerPool(); this.Scheduler = new ControllerSchedule(ref this._Pool); this.MessageResult = messageResult; this.ProcessingUpdateBlockControlID = updateBlockControlID; base.Mother = this; }
public string Start(string xeoraContent, Basics.ControlResult.Message messageResult, string updateBlockControlID = null) { if (this._Instance == null) { throw new System.Exception("Injection required!"); } Mother ExternalController = new Mother(0, xeoraContent, messageResult, updateBlockControlID); ExternalController.ParseRequested += this.OnParseRequest; ExternalController.Setup(); ExternalController.Render(null); return(ExternalController.RenderedValue); }
public Mother( Single singleDirective, Basics.ControlResult.Message messageResult, IReadOnlyCollection <string> updateBlockIdList ) { this.PropertyLock = new object(); this.Pool = new DirectivePool(); this.MessageResult = messageResult; this.RequestedUpdateBlockIds = new List <string>(); if (updateBlockIdList != null && updateBlockIdList.Count > 0) { this.RequestedUpdateBlockIds.AddRange(updateBlockIdList); } this._SingleDirective = singleDirective; this._SingleDirective.Mother = this; this.AnalysisBulk = new ConcurrentDictionary <DirectiveTypes, Tuple <int, double> >(); }
public string Start(Basics.ServiceDefinition serviceDefinition, Basics.ControlResult.Message messageResult, string updateBlockControlID = null) => this.Start(string.Format("$T:{0}$", serviceDefinition.FullPath), messageResult, updateBlockControlID);
public string Render(string xeoraContent, Basics.ControlResult.Message messageResult, string updateBlockControlID = null) => this._Renderer.Start(xeoraContent, messageResult, updateBlockControlID);
public string Render(Basics.ServiceDefinition serviceDefinition, Basics.ControlResult.Message messageResult, string updateBlockControlID = null) => this._Renderer.Start(serviceDefinition, messageResult, updateBlockControlID);