Example #1
0
        public Camera(ScriptEngine scriptEngine, IApplicationContext context)
        {
            _scriptEngine = scriptEngine;
            _context = context;

            Size = 200;
        }
Example #2
0
        public FileSystem(ScriptEngine scriptEngine, IApplicationContext context)
        {
            _scriptEngine = scriptEngine;
            _context = context;

            ReadFsLog();
        }
 //进入平台时调用此方法
 public LteDefinedFunctionFactory(IApplicationContext appContext)
 {
     this.m_AppContext = appContext;
     this.m_SpecialStudyList = new List<string>();
     string[] collection = new string[] { "Best Server", "PUSCH MCS", "PDSCH MCS", "RPDSCH MCS", "RPUSCH MCS" };
     this.m_SpecialStudyList.AddRange(collection);
 }
Example #4
0
        public FileSystem(IScriptEngine scriptEngine, IApplicationContext io)
        {
            _scriptEngine = scriptEngine;
            _io = io;

            ReadFsLog();
        }
		protected override void RunExample(IApplicationContext ctx)
		{
			var sender = ctx.GetObject<Sender>();
			sender.Run();
			//to let background tasks to finish
			Thread.Sleep(3000);
		}
        /// <summary>
        /// Loads the application
        /// </summary>
        public void Run()
        {
            _logger.Log("Creating Unity container", Category.Debug, Priority.Low);
            _container = CreateContainer();

            if (Container == null)
            {
                throw new InvalidOperationException(Properties.Resources.NullContainerException);
            }

            _logger.Log("Configuring container", Category.Debug, Priority.Low);

            ConfigureContainer();

            _logger.Log("Configuring region adapters", Category.Debug, Priority.Low);

            ConfigureRegionAdapterMappings();

            _logger.Log("Creating shell", Category.Debug, Priority.Low);
            DependencyObject shell = CreateShell();

            if (shell != null)
            {
                RegionManager.SetRegionManager(shell, (IRegionManager)_container.GetObject("IRegionManager"));
            }

            _logger.Log("Initializing modules", Category.Debug, Priority.Low);
            InitializeModules();

            _logger.Log("Bootstrapper sequence completed", Category.Debug, Priority.Low);
        }
 public void Setup()
 {
     // WELLKNOWN
     //NamespaceParserRegistry.RegisterParser(typeof(NmsNamespaceParser));
     ctx = new XmlApplicationContext(ReadOnlyXmlTestResource.GetFilePath("NmsNamespaceHandlerTests.xml", GetType()));
     mocks = new MockRepository();
 }
 public void SetUp()
 {
     //LogManager.Adapter = new ConsoleOutLoggerFactoryAdapter();
     ctx =
         new XmlApplicationContext("assembly://Spring.Data.Tests/Spring.Data/AutoDeclarativeTxTests.xml");
     
 }
        /// <summary>
        /// Intercepts the given <see cref="ControlCollection"/> by dynamically deriving 
        /// the original type and let it implement <see cref="ISupportsWebDependencyInjection"/>.
        /// </summary>
        /// <param name="defaultApplicationContext">the ApplicationContext to be set on the collection instance.</param>
        /// <param name="ctlAccessor">a wrapper around the owner control instance.</param>
        /// <param name="ctlColAccessor">a wrapper around the collection instance.</param>
        /// <returns><value>true</value>, if interception was successful.  <value>false</value> otherwise</returns>
        public bool Intercept(IApplicationContext defaultApplicationContext,
            ControlAccessor ctlAccessor, ControlCollectionAccessor ctlColAccessor)
        {
            Type collectionType = ctlColAccessor.GetTargetType();
            if (collectionType.IsSealed ||
                !ReflectionUtils.IsTypeVisible(collectionType, DynamicProxyManager.ASSEMBLY_NAME))
            //  || (null == collectionType.GetConstructor(new Type[] {typeof (Control)}))
            {
                return false;
            }

            // this will enhance the collection's type and create a new instance of this type with fields copied from original collection
            try
            {
                ControlCollection childControls = InterceptCollection(ctlAccessor.GetTarget(), ctlColAccessor.GetTarget() );
                ((ISupportsWebDependencyInjection)childControls).DefaultApplicationContext = defaultApplicationContext;
                ctlAccessor.Controls = childControls;
            }
            catch
            {
                // this may happen, if the ControlCollection doesn't contain a standard-ctor ControlCollection( Control owner)
                return false;
            }
            return true;
        }
 private void RegisterContextIfNeeded(IApplicationContext childContext)
 {
     if (!ContextRegistry.IsContextRegistered(childContext.Name))
     {
         ContextRegistry.RegisterContext(childContext);
     }
 }
Example #11
0
 public CellMapPropertiesFrm(IApplicationContext context, List<NetWorkType> netTypeList)
 {
     this.m_AllTerminal = new Dictionary<string, Terminal>();
     this.m_AllMobility = new Dictionary<string, Mobility>();
     this.m_CellNamesInLowercase = new List<string>();
     this.m_ServiceContext = null;
     this.m_TrafficService = null;
     this.modelService = null;
     this.m_CellDataGridViewDict = new Dictionary<int, Dictionary<int, List<object>>>();
     this.inNode = null;
     this.m_ServiceList = null;
     this.m_TerminalList = null;
     this.m_OldMapName = string.Empty;
     this.components = null;
     this.m_ServiceContext = context;
     this.m_TrafficService = context.Lookup(typeof(ITrafficService).FullName) as ITrafficService;
     this.modelService = context.Lookup(typeof(ITrafficMapModelService).FullName) as ITrafficMapModelService;
     this.m_TrafficMapAutomation = context.Lookup(typeof(ITrafficMapFunction).FullName) as ITrafficMapFunction;
     this.m_netWorkTypeList = netTypeList;
     this.m_TrafficForMap = this.m_ServiceContext.Lookup(typeof(ITrafficForMap).FullName) as ITrafficForMap;
     this.InitializeComponent();
     this.InitCellMap();
     this.m_OldMapName = this.m_Map.Name;
     this.m_IsNodeAdded = false;
     this.Text = TrafficMapResource.TRAFFICMAP_CELL_PROPERTY;
     this.LoadCellMapProperty();
     this.btnApply.Enabled = false;
 }
Example #12
0
        public CultureService()
        {
            _resourceDictionary = new Dictionary<string, ResourceManager>();

            try
            {
                _resourceAssembly = Assembly.LoadFrom(ConfigurationManager.AppSettings[APP_SETTINGS_KEY_RESOURCE_ASSEMBLY]);
            }
            catch
            {
                _resourceAssembly = Assembly.GetExecutingAssembly();
            }

            try
            {
                _resourceClassName = ConfigurationManager.AppSettings[APP_SETTINGS_KEY_RESOURCE_CLASS];
            }
            catch
            {
                _resourceClassName = "MessageResource";
            }

            _resourceManager = GetResourceManager(_resourceAssembly, _resourceClassName);
            _resourceDictionary.Add(String.Empty, _resourceManager);

            springContext = Spring.Context.Support.ContextRegistry.GetContext();
        }
 public void Setup()
 {
     if (context == null)
     {
         context = new XmlApplicationContext(ConfigLocations);
     }
 }
Example #14
0
 public MoveMapOperator(IApplicationContext appContext, GeoMapMgr geoMapMgr, GeoTileDrawMgr tileMgr)
 {
     this.m_Helper = ServiceHelper.Lookup<IGeoSelectionHelper>(appContext);
     this.m_Cursor = new Cursor(Huawei.UNet.Common.GlobalResource.GlobalResource.move.GetHicon());
     this.m_GeoMapMgr = geoMapMgr;
     this.m_TileMgr = tileMgr;
 }
 public void SetUp()
 {
     applicationContext = new XmlApplicationContext("spring-config.xml");
     personRepository = (IRepository<Person>)applicationContext.GetObject("PersonRepository");
     addressRepository = (IRepository<Address>)applicationContext.GetObject("AddressRepository");
     contRepository = (IRepository<ContBancar>)applicationContext.GetObject("ContBancarRepository");
 }
Example #16
0
		public static extern int CreateAssemblyEnum(
			out IAssemblyEnum ppEnum,
			IApplicationContext pAppCtx,
			IAssemblyName pName,
			uint dwFlags,
			int pvReserved
			);
Example #17
0
        public Gallery(IApplicationContext context, IScriptEngine engine)
        {
            _context = context;
            _scriptEngine = engine;

            Size = 200;
        }
 public void Setup()
 {            
     // IS WELLKNOWN NOW
     //NamespaceParserRegistry.RegisterParser(typeof(AopNamespaceParser));
     //ctx = new XmlApplicationContext( "assembly://Spring.Aop.Tests/Spring.Aop.Config/AopNamespaceParserTests.xml");
     ctx = new XmlApplicationContext(ReadOnlyXmlTestResource.GetFilePath("AopNamespaceParserTests.xml", this.GetType()));
 }
Example #19
0
 public TrafficMapFunctionImp(IApplicationContext context, TrafficMapView trafficMapView)
 {
     this.m_Context = context;
     this.m_TrafficMapView = trafficMapView;
     this.m_TrafficMapModelService = context.Lookup(typeof(ITrafficMapModelService).FullName) as ITrafficMapModelService;
     this.m_GisPolygonAssist = this.m_TrafficMapModelService.GeoProvider.PolygonRegionAssist;
 }
Example #20
0
 public SimulationOperator(IApplicationContext appContext, IGeoVectorData simulationData)
 {
     this.m_AppContext = appContext;
     this.m_SelectionHelper = ServiceHelper.Lookup<IGeoSelectionHelper>(this.m_AppContext);
     this.m_GisAnalyEvent = ServiceHelper.Lookup<IAnalyDispEvent>(this.m_AppContext) as GisAnalyEvent;
     this.m_SimulationData = simulationData;
 }
Example #21
0
 public void InitContext()
 {
     // Configure Spring programmatically
     NamespaceParserRegistry.RegisterParser(typeof(DatabaseNamespaceParser));
     ctx = new XmlApplicationContext(
         "assembly://Spring.DataQuickStart.Tests/Spring.DataQuickStart.GenericTemplate/ExampleTests.xml");
 }
        public MainForm(IApplicationContext applicationContext, IBooksOrderer booksOrderer)
        {
            _booksOrderer = booksOrderer;
            Context = applicationContext;

            InitializeComponent();
        }
 public NancyBootstrapper(IApplicationContext applicationContext, IStatisticsManager statisticsManager, IPoolManager poolManager, IConfigManager configManager)
 {
     _applicationContext = applicationContext;
     _statisticsManager = statisticsManager;
     _poolManager = poolManager;
     _configManager = configManager;
 }
Example #24
0
        public void Start(IApplicationContext ctx, bool rollBack = false)
        {
            InvokeCallback(ctx, WORKFLOW_START_EVENT);

            Step step = _currentStep ?? _firstStep.Clone();
            DoForward(ctx, step, null, rollBack);
        }
 public void SetUp()
 {
     string configLocation =
         ReadOnlyXmlTestResource.GetFilePath("objectNameAutoProxyCreatorTests.xml",
                                             typeof (ObjectNameAutoProxyCreatorTests));
     ctx = new XmlApplicationContext(configLocation);
 }
Example #26
0
 public GeometryTextOperator(List<IGeoVectorData> datas, GeoMapMgr mapMgr, IApplicationContext appContext)
 {
     this.m_VectorDatas = datas;
     this.m_Helper = ServiceHelper.Lookup<IGeoSelectionHelper>(appContext);
     this.m_GeoEntityRegionMgr = new GeoEntityRegionMgr(this.m_VectorDatas, mapMgr, this.m_Helper);
     this.InitContextMenuStrip();
 }
        public void ExcludeRegExpressionFilter()
        {
            _applicationContext = new XmlApplicationContext(ReadOnlyXmlTestResource.GetFilePath("ConfigFiles.TypeScannerTestRegExExclude.xml", GetType()));

            Assert.That(_applicationContext.GetObjectDefinitionNames().Count, Is.EqualTo(8));
            Assert.That(_applicationContext.GetObject("SomeIncludeType1"), Is.Not.Null);
            Assert.That(delegate { _applicationContext.GetObject("SomeExcludeType"); }, Throws.Exception.TypeOf<NoSuchObjectDefinitionException>());
        }
 public void SetUp()
 {
     //BasicConfigurator.Configure();
     string ctxName = "DTCAppContextNoInterfaces.xml"; // for .NET 2.0
     //string ctxName = "DTC1.1AppContextNoInterfaces.xml"; // for .NET 1.1
     ctx =
         new XmlApplicationContext("assembly://Spring.Data.Integration.Tests/Spring.Data/" + ctxName);            
 }
		protected override void RunExample(IApplicationContext ctx)
		{
			IFactory factory = ctx.GetObject<IFactory>("standardFactory");
			IFactory roboticFactory = ctx.GetObject<IFactory>("roboticFactory");

			BuildHouseUsing(factory);
			BuildHouseUsing(roboticFactory);
		}
 public void SetUp()
 {
     ctx =
         new XmlApplicationContext("assembly://Spring.Data.Integration.Tests/Spring.Data/autoDeclarativeServices.xml");
     dbProvider = ctx["DbProvider"] as IDbProvider;
     transactionManager = ctx["adoTransactionManager"] as IPlatformTransactionManager;
     
 }
 /// <summary>
 /// Initializes a new Instance of <see cref="ApplicationUserService"/>
 /// </summary>
 /// <param name="mapper">Injected <see cref="IMapper"/></param>
 /// <param name="context">Injected <see cref="IApplicationContext"/></param>
 /// <param name="logger">Injected <see cref="ILogger{ApplicationUserService}"/></param>
 public ApplicationUserService(IMapper @mapper,
                               IApplicationContext @context,
                               ILogger <ApplicationUserService> @logger) : base(@context, @mapper, @logger)
 {
 }
 public ArticleDetailWidgetService(IWidgetBasePartService widgetService, IArticleService articleService, IApplicationContext applicationContext, ArticleDbContext dbContext)
     : base(widgetService, applicationContext, dbContext)
 {
     _articleService = articleService;
 }
 /// <inheritdoc />
 public virtual bool Bootstrap(IApplicationContext applicationContext) => true;
Example #34
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ObjectFactory" /> class.
 /// </summary>
 /// <param name="applicationContext">The application context.</param>
 public ObjectFactory(IApplicationContext applicationContext)
 {
     _applicationContext = applicationContext;
 }
Example #35
0
 public void TestInitialize()
 {
     _UnitOfWork         = new MockMainUnitOfWork();
     _UsuarioRepository  = new UsuarioRepository(_UnitOfWork);
     _ApplicationContext = new MockApplicationContext();
 }
Example #36
0
 protected AbstractRabbitListenerContainerFactory(IApplicationContext applicationContext, IConnectionFactory connectionFactory, ILoggerFactory loggerFactory = null)
 {
     ApplicationContext = applicationContext;
     _loggerFactory     = loggerFactory;
     ConnectionFactory  = connectionFactory;
 }
 public SettingsRepository(IApplicationContext context) : base(context)
 {
 }
Example #38
0
 public ScriptWidgetService(IWidgetBasePartService widgetService, IApplicationContext applicationContext, CMSDbContext dbContext)
     : base(widgetService, applicationContext, dbContext)
 {
 }
 /// <summary>
 /// Creates a new instance of the
 /// <see cref="Spring.Context.Support.AbstractXmlApplicationContext"/> class
 /// with the given parent context.
 /// </summary>
 /// <remarks>
 /// <p>
 /// This is an <see langword="abstract"/> class, and as such exposes
 /// no public constructors.
 /// </p>
 /// </remarks>
 /// <param name="name">The application context name.</param>
 /// <param name="caseSensitive">Flag specifying whether to make this context case sensitive or not.</param>
 /// <param name="parentContext">The parent context.</param>
 protected AbstractXmlApplicationContext(string name, bool caseSensitive,
                                         IApplicationContext parentContext)
     : base(name, caseSensitive, parentContext)
 {
 }
Example #40
0
 /// <summary>
 /// Конструктор с параметрами.
 /// </summary>
 /// <param name="context">Контекст.</param>
 /// <param name="mapper">Маппер.</param>
 public GetAnimalsQueryHandler(IApplicationContext context,
                               IMapper mapper)
 {
     _context = context ?? throw new ArgumentNullException(nameof(context));
     _mapper  = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
Example #41
0
 public TestChannelBinder(IApplicationContext context, TestChannelBinderProvisioner provisioningProvider)
     : base(context, new string[] { }, provisioningProvider)
 {
 }
Example #42
0
 public BaseService(IApplicationContext applicationContext, UserContext userContext)
 {
     ApplicationContext = applicationContext;
     DbContext          = userContext;
 }
Example #43
0
 public TestMessageProducerSupportEndpoint(IApplicationContext context, TestMessageListeningContainer messageListenerContainer)
     : base(context)
 {
     _messageListenerContainer = messageListenerContainer;
 }
Example #44
0
 public TokenController(IConfiguration config, IApplicationContext contextDb)
 {
     this.config    = config;
     this.contextDb = contextDb;
 }
Example #45
0
        /// <summary>
        /// Creates an <see cref="Spring.Context.IApplicationContext"/> instance
        /// using the context definitions supplied in a custom
        /// configuration section.
        /// </summary>
        /// <remarks>
        /// <p>
        /// This <see cref="Spring.Context.IApplicationContext"/> instance is
        /// also used to configure the <see cref="ContextRegistry"/>.
        /// </p>
        /// </remarks>
        /// <param name="parent">
        /// The configuration settings in a corresponding parent
        /// configuration section.
        /// </param>
        /// <param name="configContext">
        /// The configuration context when called from the ASP.NET
        /// configuration system. Otherwise, this parameter is reserved and
        /// is <see langword="null"/>.
        /// </param>
        /// <param name="section">
        /// The <see cref="System.Xml.XmlNode"/> for the section.
        /// </param>
        /// <returns>
        /// An <see cref="Spring.Context.IApplicationContext"/> instance
        /// populated with the object definitions supplied in the configuration
        /// section.
        /// </returns>
        public object Create(object parent, object configContext, XmlNode section)
        {
            XmlElement contextElement = section as XmlElement;

            #region Sanity Checks

            if (contextElement == null)
            {
                throw ConfigurationUtils.CreateConfigurationException(
                          "Context configuration section must be an XmlElement.");
            }

            // sanity check on parent
            if ((parent != null) && !(parent is IApplicationContext))
            {
                throw ConfigurationUtils.CreateConfigurationException(
                          String.Format("Parent context must be of type IApplicationContext, but was '{0}'", parent.GetType().FullName));
            }

            #endregion

            // determine name of context to be created
            string contextName = GetContextName(configContext, contextElement);
            if (!StringUtils.HasLength(contextName))
            {
                contextName = AbstractApplicationContext.DefaultRootContextName;
            }

            #region Instrumentation
            if (Log.IsDebugEnabled)
            {
                Log.Debug(string.Format("creating context '{0}'", contextName));
            }
            #endregion

            IApplicationContext context = null;
            try
            {
                IApplicationContext parentContext = parent as IApplicationContext;

                // determine context type
                Type contextType = GetContextType(contextElement, parentContext);

                // determine case-sensitivity
                bool caseSensitive = GetCaseSensitivity(contextElement);

                // get resource-list
                string[] resources = GetResources(contextElement);

                // finally create the context instance
                context = InstantiateContext(parentContext, configContext, contextName, contextType, caseSensitive, resources);
                // and register with global context registry
                if (AutoRegisterWithContextRegistry)
                {
                    ContextRegistry.RegisterContext(context);
                }

                // get and create child context definitions
                XmlNode[] childContexts = GetChildContexts(contextElement);
                CreateChildContexts(context, configContext, childContexts);

                if (Log.IsDebugEnabled)
                {
                    Log.Debug(string.Format("context '{0}' created for name '{1}'", context, contextName));
                }
            }
            catch (Exception ex)
            {
                if (!ConfigurationUtils.IsConfigurationException(ex))
                {
                    throw ConfigurationUtils.CreateConfigurationException(
                              String.Format("Error creating context '{0}': {1}",
                                            contextName, ReflectionUtils.GetExplicitBaseException(ex).Message), ex);
                }
                throw;
            }
            return(context);
        }
Example #46
0
 public ProductService(IApplicationContext applicationContext) : base(applicationContext)
 {
 }
Example #47
0
 public ProductService(IApplicationContext applicationContext, IMapper mapper)
 {
     _applicationContext = applicationContext;
     _mapper             = mapper;
 }
 public SectionGroupService(ISectionContentProviderService sectionContentProviderService,
                            IPluginLoader pluginLoader, IApplicationContext applicationContext) : base(applicationContext)
 {
     _sectionContentProviderService = sectionContentProviderService;
     _pluginLoader = pluginLoader;
 }
 /// <summary>
 /// Internal shutdown handler declaration.
 /// </summary>
 /// <param name="applicationContext">the application context the service is being shutdown in</param>
 protected abstract void TaskStop([ValidatedNotNull] IApplicationContext applicationContext);
Example #50
0
 public override bool Matches(IApplicationContext appContext)
 {
     return(appContext.IsInstalled);
 }
Example #51
0
 public MyApplicationObjectSupport(IApplicationContext applicationContext) : base(applicationContext)
 {
 }
Example #52
0
        public static GacAssemblyName FindBestMatchingAssemblyName(GacAssemblyName name)
        {
            string[] info;
            string   version   = name.Version;
            string   publicKey = name.PublicKey;

            IApplicationContext applicationContext = null;
            IAssemblyEnum       assemblyEnum       = null;
            IAssemblyName       assemblyName;

            Fusion.CreateAssemblyNameObject(out assemblyName, name.Name, 0, 0);
            Fusion.CreateAssemblyEnum(out assemblyEnum, null, assemblyName, 2, 0);
            List <string> names = new List <string>();

            while (assemblyEnum.GetNextAssembly(out applicationContext, out assemblyName, 0) == 0)
            {
                uint nChars = 0;
                assemblyName.GetDisplayName(null, ref nChars, 0);

                StringBuilder sb = new StringBuilder((int)nChars);
                assemblyName.GetDisplayName(sb, ref nChars, 0);

                string fullName = sb.ToString();
                if (publicKey != null)
                {
                    info = fullName.Split(',');
                    if (publicKey != info[3].Substring(info[3].LastIndexOf('=') + 1))
                    {
                        // Assembly has wrong public key
                        continue;
                    }
                }
                names.Add(fullName);
            }
            if (names.Count == 0)
            {
                return(null);
            }
            string  best        = null;
            Version bestVersion = null;
            Version currentVersion;

            if (version != null)
            {
                // use assembly with lowest version higher or equal to required version
                Version requiredVersion = new Version(version);
                for (int i = 0; i < names.Count; i++)
                {
                    info           = names[i].Split(',');
                    currentVersion = new Version(info[1].Substring(info[1].LastIndexOf('=') + 1));
                    if (currentVersion.CompareTo(requiredVersion) < 0)
                    {
                        continue; // version not good enough
                    }
                    if (best == null || currentVersion.CompareTo(bestVersion) < 0)
                    {
                        bestVersion = currentVersion;
                        best        = names[i];
                    }
                }
                if (best != null)
                {
                    return(new GacAssemblyName(best));
                }
            }
            // use assembly with highest version
            best        = names[0];
            info        = names[0].Split(',');
            bestVersion = new Version(info[1].Substring(info[1].LastIndexOf('=') + 1));
            for (int i = 1; i < names.Count; i++)
            {
                info           = names[i].Split(',');
                currentVersion = new Version(info[1].Substring(info[1].LastIndexOf('=') + 1));
                if (currentVersion.CompareTo(bestVersion) > 0)
                {
                    bestVersion = currentVersion;
                    best        = names[i];
                }
            }
            return(new GacAssemblyName(best));
        }
 public WorksOrderService(IApplicationContext currentDbContext, IOrderService orderService)
 {
     _currentDbContext = currentDbContext;
     _orderService     = orderService;
 }
Example #54
0
 public AbpApiClient(IAccessTokenManager accessTokenManager, IApplicationContext applicationContext)
 {
     _accessTokenManager = accessTokenManager;
     _applicationContext = applicationContext;
 }
Example #55
0
 public CustomerTagLinkManager(IApplicationContext context) : base(context)
 {
 }
 public LogglyLocalDatabaseLoggingProvider(ILogsDatabase logsDatabase, IApplicationContext applicationContext, IPlatformService platformServices) : base(applicationContext, platformServices)
 {
     _database = logsDatabase;
 }
Example #57
0
 public static void Init(IApplicationContext driver)
 {
     _driver = driver;
     _driver.KeyDownEvent += (e) =>
     {
         if (KeyDown is null || e.Equals(default))
Example #58
0
 public AssemblyLoaderService(IApplicationContext runtimeCfg)
 {
     _runtimeCfg = runtimeCfg;
 }
Example #59
0
 public void Attach(IApplicationContext container, IDsConfigurationSection config)
 {
     XmlApplicationContext chaild = new XmlApplicationContext(container, "assembly://DS.WorkflowManager.Services/DS.WorkflowManager.Services.Objects/Objects.xml");
 }
 public MarketRouteScheduleService(IApplicationContext currentDbContext)
 {
     _currentDbContext = currentDbContext;
 }