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

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

            return(new WcfPerformanceCountersEndpointBehavior(config));
        }
コード例 #3
0
 public WcfPerformanceCountersEndpointBehavior(WcfPerformanceCountersConfig config)
 {
     _config = config;
 }