Пример #1
0
        public EditorServer(RemotingManager remotingManager, HostEndPoint endPoint)
            : base(remotingManager, endPoint)
        {
            UserManager = new UserManager();
            //serviceManager.AddImplementation<IUserManager>(UserManager);
            //var serviceManager = remotingManager.ServiceManager;
            //serviceManager.

            ProjectManager = new ProjectManager();
            //serviceManager.AddImplementation<IProjectManager>(ProjectManager);
        }
Пример #2
0
        public EditorServer(HostEndPoint endPoint)
            : base(endPoint)
        {
            var serviceManager = Host.ServiceManager;

            UserManager = new UserManager();
            //serviceManager.AddImplementation<IUserManager>(UserManager);

            ProjectManager = new ProjectManager(Database);
            //serviceManager.AddImplementation<IProjectManager>(ProjectManager);
        }