Registry of protobuf symbols
 /// <summary>
 /// Creates a new instance of <c>ReflectionServiceIml</c>.
 /// </summary>
 public ReflectionServiceImpl(IEnumerable <ServiceDescriptor> serviceDescriptors)
 {
     this.services       = new List <string>(serviceDescriptors.Select((serviceDescriptor) => serviceDescriptor.FullName));
     this.symbolRegistry = SymbolRegistry.FromFiles(serviceDescriptors.Select((serviceDescriptor) => serviceDescriptor.File));
 }
示例#2
0
 /// <summary>
 /// Creates a new instance of <c>ReflectionServiceIml</c>.
 /// </summary>
 public ReflectionServiceImpl(IEnumerable<ServiceDescriptor> serviceDescriptors)
 {
     this.services = new List<string>(serviceDescriptors.Select((serviceDescriptor) => serviceDescriptor.FullName));
     this.symbolRegistry = SymbolRegistry.FromFiles(serviceDescriptors.Select((serviceDescriptor) => serviceDescriptor.File));
 }
 /// <summary>
 /// Creates a new instance of <c>ReflectionServiceIml</c>.
 /// </summary>
 public ReflectionServiceImpl(IEnumerable <string> services, SymbolRegistry symbolRegistry)
 {
     this.services       = new List <string>(services);
     this.symbolRegistry = symbolRegistry;
 }
示例#4
0
 /// <summary>
 /// Creates a new instance of <c>ReflectionServiceIml</c>.
 /// </summary>
 public ReflectionServiceImpl(IEnumerable<string> services, SymbolRegistry symbolRegistry)
 {
     this.services = new List<string>(services);
     this.symbolRegistry = symbolRegistry;
 }