예제 #1
0
 public bool SetValue(int newval, Param1 p)
 {
     Console.WriteLine("MyRemoteService.setValue(): old {0} new {1}",
                           myvalue, newval);
     param.Id = p.Id;
     param.UserName = p.UserName;
     myvalue = newval;
     Console.WriteLine(" .setValue() -> value is now set");
     return true;
 }
예제 #2
0
 public MyRemoteService()
 {
     Console.WriteLine("MyRemoteObject.Constructor: New Object created");
     param = new Param1();
 }