상속: IThresholds
예제 #1
0
 public Configuration Read()
 {
     var config = Settings.GetSettings();
     var intervals = new AlertIntervals(config, AlertType);
     var thresholds = new AlertThreshold(config, AlertType);
     var notifications = new Notifications(config);
     var configuration = new Configuration(intervals, thresholds, notifications);
     return configuration;
 }
예제 #2
0
        public Configuration Read()
        {
            var config        = Settings.GetSettings();
            var intervals     = new AlertIntervals(config, AlertType);
            var thresholds    = new AlertThreshold(config, AlertType);
            var notifications = new Notifications(config);
            var configuration = new Configuration(intervals, thresholds, notifications);

            return(configuration);
        }