protected override object CreateBehavior() { var config = new WcfPerformanceCountersConfig { InstanceNameFormat = string.IsNullOrWhiteSpace(InstanceNameFormat) ? "{0}" : InstanceNameFormat }; return new WcfPerformanceCountersEndpointBehavior(config); }
protected override object CreateBehavior() { var config = new WcfPerformanceCountersConfig { InstanceNameFormat = string.IsNullOrWhiteSpace(InstanceNameFormat) ? "{0}" : InstanceNameFormat }; return(new WcfPerformanceCountersEndpointBehavior(config)); }
public WcfPerformanceCountersEndpointBehavior(WcfPerformanceCountersConfig config) { _config = config; }