Пример #1
0
        public override async Task <string> TestMe(string value)
        {
            value = await base.TestMe(value);

            value = await EngineServiceProvider.GetService <IMyEngine>().TestMe(value);

            value = await AccessorServiceProvider.GetService <IMyAccessor>().TestMe(value);

            return(value);
        }
Пример #2
0
 protected ManagerBase(IUserContext userContext, ILogger logger, IConfiguration configuration) : base(userContext, logger, configuration)
 {
     AccessorServiceProvider = new AccessorServiceProvider(userContext, logger, configuration);
     EngineServiceProvider   = new EngineServiceProvider(userContext, logger, configuration);
 }