示例#1
0
        protected virtual void OnClientInputRecieved(ClientInputMessage e)
        {
            ClientInputRecievedEventHandler handler = ClientInputRecieved;

            if (handler != null)
            {
                // Invokes the delegates.
                handler(this, e);
            }
        }
示例#2
0
        public ClientInputServiceHost()
        {
            WorkerRole rol = new WorkerRole();

            ClientInputRecieved += new ClientInputRecievedEventHandler(rol.ServiceHost_ClientInputRecieved);
        }
 public ClientInputServiceHost()
 {
     WorkerRole rol = new WorkerRole();
     ClientInputRecieved += new ClientInputRecievedEventHandler(rol.ServiceHost_ClientInputRecieved);
 }