Exemplo n.º 1
0
        protected MigrationServiceManager()
        {
            TryLoadMigrationService();

            m_serviceContainer = new ServiceContainer();

            IMigrationService migrationServiceProxy = new MigrationServiceClient();

            m_serviceContainer.AddService(typeof(IMigrationService), migrationServiceProxy);

            IRuntimeTrace runtimeTraceProxy = new RuntimeTraceClient();

            m_serviceContainer.AddService(typeof(IRuntimeTrace), runtimeTraceProxy);

            m_writer = new FileTraceWriter();
            m_writer.StartListening();
        }