示例#1
0
        public void ReceiveAndPrint(Object ob)
        {
            TenXunWt tenxun = ob as TenXunWt;

            if (tenxun != null)
            {
                Console.WriteLine("通知:{1}的{0}信息是: {2}", Name, tenxun.Symbol, tenxun.Info);
            }
        }
示例#2
0
        public void ReceiveAndPrint(Object ob)
        {
            TenXunWt tenxun = ob as TenXunWt;

            if (tenxun != null)
            {
                Console.WriteLine("Notified {0} of {1}'s" + " Info is: {2}", Name, tenxun.Symbol, tenxun.Info);
            }
        }