Beispiel #1
0
        internal override void OnInitialization()
        {
            base.OnInitialization();

            _helper = Helper as IProcedureHelper;
            _helper.AnyProcedureSwitchEvent += (last, next) =>
            {
                AnyProcedureSwitchEvent?.Invoke(last, next);
            };
        }
Beispiel #2
0
 public BaseService()
 {
     this.procedureHelper = IocManager.Instance.Resolve <IProcedureHelper>();
 }
Beispiel #3
0
 public BaseService()
 {
     httpContextAccessor = IocManager.Instance.Resolve <IHttpContextAccessor>();
     procedureHelper     = IocManager.Instance.IocContainer.Resolve <IProcedureHelper>();
 }
Beispiel #4
0
 protected BSWebsiteAppServiceBase()
 {
     LocalizationSourceName = AbpZeroTemplateConsts.LocalizationSourceName;
     procedureHelper        = IocManager.Instance.IocContainer.Resolve <IProcedureHelper>();
 }
Beispiel #5
0
        protected override void OnRuntimeEnable()
        {
            base.OnRuntimeEnable();

            _procedureHelper = _helper as IProcedureHelper;
        }
        protected override void OnRuntimeEnable()
        {
            base.OnRuntimeEnable();

            _procedureHelper = Target.GetType().GetField("_helper", BindingFlags.Instance | BindingFlags.NonPublic).GetValue(Target) as IProcedureHelper;
        }
Beispiel #7
0
 public Group3AppServiceBase()
 {
     this.procedureHelper = IocManager.Instance.Resolve <IProcedureHelper>();
 }