Exemple #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);
        }
Exemple #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);
        }