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