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

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

            return(new WcfPerformanceCountersEndpointBehavior(config));
        }
Beispiel #3
0
 public WcfPerformanceCountersEndpointBehavior(WcfPerformanceCountersConfig config)
 {
     _config = config;
 }