| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 | 
							- // Generated by the protocol buffer compiler.  DO NOT EDIT!
 
- using pb = global::Google.ProtocolBuffers;
 
- using pbc = global::Google.ProtocolBuffers.Collections;
 
- using pbd = global::Google.ProtocolBuffers.Descriptors;
 
- using scg = global::System.Collections.Generic;
 
- namespace Google.ProtocolBuffers.TestProtos {
 
-   
 
-   public abstract class ServiceWithNoOuter : pb::IService {
 
-     public abstract void Foo(
 
-         pb::IRpcController controller,
 
-         global::Google.ProtocolBuffers.TestProtos.MessageWithNoOuter request,
 
-         global::System.Action<global::Google.ProtocolBuffers.TestProtos.TestAllTypes> done);
 
-     
 
-     public static pbd::ServiceDescriptor Descriptor {
 
-       get { return global::Google.ProtocolBuffers.TestProtos.MultiFileProto.Descriptor.Services[0]; }
 
-     }
 
-     public pbd::ServiceDescriptor DescriptorForType {
 
-       get { return Descriptor; }
 
-     }
 
-     
 
-     public void CallMethod(
 
-         pbd::MethodDescriptor method,
 
-         pb::IRpcController controller,
 
-         pb::IMessage request,
 
-         global::System.Action<pb::IMessage> done) {
 
-       if (method.Service != Descriptor) {
 
-         throw new global::System.ArgumentException(
 
-           "Service.CallMethod() given method descriptor for wrong " +
 
-           "service type.");
 
-       }
 
-       switch(method.Index) {
 
-         case 0:
 
-           this.Foo(controller, (global::Google.ProtocolBuffers.TestProtos.MessageWithNoOuter)request,
 
-             pb::RpcUtil.SpecializeCallback<global::Google.ProtocolBuffers.TestProtos.TestAllTypes>(
 
-               done));
 
-           return;
 
-         default:
 
-           throw new global::System.InvalidOperationException("Can't get here.");
 
-       }
 
-     }
 
-     
 
-     public pb::IMessage GetRequestPrototype(pbd::MethodDescriptor method) {
 
-       if (method.Service != Descriptor) {
 
-         throw new global::System.ArgumentException(
 
-           "Service.GetRequestPrototype() given method " +
 
-           "descriptor for wrong service type.");
 
-       }
 
-       switch(method.Index) {
 
-         case 0:
 
-           return global::Google.ProtocolBuffers.TestProtos.MessageWithNoOuter.DefaultInstance;
 
-         default:
 
-           throw new global::System.ArgumentException("Can't get here.");
 
-       }
 
-     }
 
-     
 
-     public pb::IMessage GetResponsePrototype(pbd::MethodDescriptor method) {
 
-       if (method.Service != Descriptor) {
 
-         throw new global::System.ArgumentException(
 
-           "Service.GetResponsePrototype() given method " +
 
-           "descriptor for wrong service type.");
 
-       }
 
-       switch(method.Index) {
 
-         case 0:
 
-           return global::Google.ProtocolBuffers.TestProtos.TestAllTypes.DefaultInstance;
 
-         default:
 
-           throw new global::System.ArgumentException("Can't get here.");
 
-       }
 
-     }
 
-     
 
-     public static Stub CreateStub(
 
-         pb::IRpcChannel channel) {
 
-       return new Stub(channel);
 
-     }
 
-     
 
-     public class Stub : global::Google.ProtocolBuffers.TestProtos.ServiceWithNoOuter {
 
-       internal Stub(pb::IRpcChannel channel) {
 
-         this.channel = channel;
 
-       }
 
-       
 
-       private readonly pb::IRpcChannel channel;
 
-       
 
-       public pb::IRpcChannel Channel {
 
-         get { return channel; }
 
-       }
 
-       
 
-       public override void Foo(
 
-           pb::IRpcController controller,
 
-           global::Google.ProtocolBuffers.TestProtos.MessageWithNoOuter request,
 
-           global::System.Action<global::Google.ProtocolBuffers.TestProtos.TestAllTypes> done) {
 
-         channel.CallMethod(
 
-           Descriptor.Methods[0],
 
-           controller,
 
-           request,
 
-           global::Google.ProtocolBuffers.TestProtos.TestAllTypes.DefaultInstance,
 
-           pb::RpcUtil.GeneralizeCallback<global::Google.ProtocolBuffers.TestProtos.TestAllTypes, global::Google.ProtocolBuffers.TestProtos.TestAllTypes.Builder>(done, global::Google.ProtocolBuffers.TestProtos.TestAllTypes.DefaultInstance));
 
-       }
 
-     }
 
-   }
 
-   
 
- }
 
 
  |