Esempio n. 1
0
 internal void CheckCompatible(ServiceMethod sign)
 {
     if (Params == sign.Params || Result == sign.Result)
         return;
     throw new InvalidCastException(sign.Name);
 }
Esempio n. 2
0
 public ServiceMethod(ServiceMethod prototype)
 {
     Params = prototype.Params;
     Result = prototype.Result;
     Name = prototype.Name;
 }