/// <summary> /// Initialize the template /// </summary> public override void Initialize() { base.Initialize(); if ((this.Errors.HasErrors == false)) { bool DebugCallbackValueAcquired = false; if (this.Session.ContainsKey("DebugCallback")) { this._DebugCallbackField = ((global::System.EventHandler)(this.Session["DebugCallback"])); DebugCallbackValueAcquired = true; } if ((DebugCallbackValueAcquired == false)) { object data = global::System.Runtime.Remoting.Messaging.CallContext.LogicalGetData("DebugCallback"); if ((data != null)) { this._DebugCallbackField = ((global::System.EventHandler)(data)); } } bool AngularModuleValueAcquired = false; if (this.Session.ContainsKey("AngularModule")) { this._AngularModuleField = ((global::AbstraX.Angular.AngularModule)(this.Session["AngularModule"])); AngularModuleValueAcquired = true; } if ((AngularModuleValueAcquired == false)) { object data = global::System.Runtime.Remoting.Messaging.CallContext.LogicalGetData("AngularModule"); if ((data != null)) { this._AngularModuleField = ((global::AbstraX.Angular.AngularModule)(data)); } } bool AppNameValueAcquired = false; if (this.Session.ContainsKey("AppName")) { this._AppNameField = ((string)(this.Session["AppName"])); AppNameValueAcquired = true; } if ((AppNameValueAcquired == false)) { object data = global::System.Runtime.Remoting.Messaging.CallContext.LogicalGetData("AppName"); if ((data != null)) { this._AppNameField = ((string)(data)); } } bool ModuleNameValueAcquired = false; if (this.Session.ContainsKey("ModuleName")) { this._ModuleNameField = ((string)(this.Session["ModuleName"])); ModuleNameValueAcquired = true; } if ((ModuleNameValueAcquired == false)) { object data = global::System.Runtime.Remoting.Messaging.CallContext.LogicalGetData("ModuleName"); if ((data != null)) { this._ModuleNameField = ((string)(data)); } } } }
/// <summary> /// Initialize the template /// </summary> public override void Initialize() { base.Initialize(); if ((this.Errors.HasErrors == false)) { bool DebugCallbackValueAcquired = false; if (this.Session.ContainsKey("DebugCallback")) { this._DebugCallbackField = ((global::System.EventHandler)(this.Session["DebugCallback"])); DebugCallbackValueAcquired = true; } if ((DebugCallbackValueAcquired == false)) { object data = global::System.Runtime.Remoting.Messaging.CallContext.LogicalGetData("DebugCallback"); if ((data != null)) { this._DebugCallbackField = ((global::System.EventHandler)(data)); } } bool ImportsValueAcquired = false; if (this.Session.ContainsKey("Imports")) { this._ImportsField = ((global::System.Collections.Generic.IEnumerable <ModuleImportDeclaration>)(this.Session["Imports"])); ImportsValueAcquired = true; } if ((ImportsValueAcquired == false)) { object data = global::System.Runtime.Remoting.Messaging.CallContext.LogicalGetData("Imports"); if ((data != null)) { this._ImportsField = ((global::System.Collections.Generic.IEnumerable <ModuleImportDeclaration>)(data)); } } bool AngularModuleValueAcquired = false; if (this.Session.ContainsKey("AngularModule")) { this._AngularModuleField = ((global::AbstraX.Angular.AngularModule)(this.Session["AngularModule"])); AngularModuleValueAcquired = true; } if ((AngularModuleValueAcquired == false)) { object data = global::System.Runtime.Remoting.Messaging.CallContext.LogicalGetData("AngularModule"); if ((data != null)) { this._AngularModuleField = ((global::AbstraX.Angular.AngularModule)(data)); } } bool ModuleNameValueAcquired = false; if (this.Session.ContainsKey("ModuleName")) { this._ModuleNameField = ((string)(this.Session["ModuleName"])); ModuleNameValueAcquired = true; } if ((ModuleNameValueAcquired == false)) { object data = global::System.Runtime.Remoting.Messaging.CallContext.LogicalGetData("ModuleName"); if ((data != null)) { this._ModuleNameField = ((string)(data)); } } bool IsComponentValueAcquired = false; if (this.Session.ContainsKey("IsComponent")) { this._IsComponentField = ((bool)(this.Session["IsComponent"])); IsComponentValueAcquired = true; } if ((IsComponentValueAcquired == false)) { object data = global::System.Runtime.Remoting.Messaging.CallContext.LogicalGetData("IsComponent"); if ((data != null)) { this._IsComponentField = ((bool)(data)); } } } }