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

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

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