Exemplo n.º 1
0
 public ServiceItem(RPCServer server, Type serviceType, object serviceInstance)
 {
     _server         = server;
     ServiceInstance = serviceInstance;
     ServiceType     = serviceType;
     Descriptor      = ServiceDescriptor.GetDescriptor(ServiceType);
 }
Exemplo n.º 2
0
 public ServiceItem(RPCServer server, Type serviceType, object serviceInstance)
 {
     _server         = server;
     ServiceInstance = serviceInstance;
     ServiceType     = serviceType;
     Descriptor      = ServiceDescriptor.GetDescriptor(ServiceType, server._counterCategory, server._counterLevel, server._counterKind);
 }