コード例 #1
0
ファイル: Initializer.cs プロジェクト: liangmingjie/connect
        /// <summary>
        /// It is used to initialize and start the framework
        /// </summary>
        public void Initialize()
        {
            IEnumerator <Object> iterator = parameters.GetEnumerator();

            while (iterator.MoveNext())
            {
                Object value = iterator.Current;
                resourceManager.AddApplicationContext(value);
            }

            /*
             * Add Connect Assembly
             */
            resourceManager.AddApplicationContext(typeof(Connect.Siminov).GetTypeInfo().Assembly);

            Siminov.Start();
        }
コード例 #2
0
        /// <summary>
        /// It is used to initialize and start the framework
        /// </summary>
        public void Initialize()
        {
            IEnumerator <Object> iterator = parameters.GetEnumerator();

            while (iterator.MoveNext())
            {
                Object value = iterator.Current;
                resourceManager.AddApplicationContext(value);
            }

            Siminov.Start();
        }