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