Example #1
0
 public ServiceItem(RPCServer server, Type serviceType, object serviceInstance)
 {
     _server         = server;
     ServiceInstance = serviceInstance;
     ServiceType     = serviceType;
     Descriptor      = ServiceDescriptor.GetDescriptor(ServiceType);
 }
Example #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);
 }