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));
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }