Inheritance: IDisposable
示例#1
0
 public InvocationReporter(StatsDClient statsDClient)
 {
     _statsDClient = statsDClient;
 }
		protected override object CreateBehavior()
		{
			var client = new StatsDClient(Hostname, Port, KeyPrefix);

			return new OperationTimingEndpointBehavior(new InvocationReporter(client));
		}
 public StatsdClient(string hostname, int port)
 {
     pipe = new StatsDClient(hostname, port);
 }