예제 #1
0
 /// <summary>
 /// Initialize a new instance of the <see cref="DistributorSettings"/> using the given default category and formatter.
 /// </summary>
 /// <param name="defaultCategory">The name of the default category to use.</param>
 /// <param name="defaultFormatter">The name of the default formatter to use.</param>
 public DistributorSettings(string defaultCategory, string defaultFormatter)
 {
     this.defaultCategory = defaultCategory;
     this.defaultFormatter = defaultFormatter;
     this.sinkDataCollection = new SinkDataCollection();
     this.categoryDataCollection = new CategoryDataCollection();
     this.formatters = new FormatterDataCollection();
     this.distributorServiceData = new MsmqDistributorServiceData();
 }
예제 #2
0
 /// <summary>
 /// Initialize a new instance of the <see cref="DistributorSettings"/> using the given default category and formatter.
 /// </summary>
 /// <param name="defaultCategory">The name of the default category to use.</param>
 /// <param name="defaultFormatter">The name of the default formatter to use.</param>
 public DistributorSettings(string defaultCategory, string defaultFormatter)
 {
     this.defaultCategory        = defaultCategory;
     this.defaultFormatter       = defaultFormatter;
     this.sinkDataCollection     = new SinkDataCollection();
     this.categoryDataCollection = new CategoryDataCollection();
     this.formatters             = new FormatterDataCollection();
     this.distributorServiceData = new MsmqDistributorServiceData();
 }