示例#1
0
文件: Server.cs 项目: mayuki/SassTray
        public static Server Start(ApplicationCore applicationCore)
        {
            var serverChannel = new IpcServerChannel("SassTray");
            ChannelServices.RegisterChannel(serverChannel, true);
            var server = new Server(applicationCore);
            RemotingServices.Marshal(server, "Server", typeof(Server));

            return server;
        }
示例#2
0
文件: Server.cs 项目: mayuki/SassTray
 public Server(ApplicationCore applicationCore)
 {
     _application = applicationCore;
 }