Ejemplo n.º 1
0
        private bool isWithinMaintenanceTimeFrame()
        {
            TimeFrame timeFrame =
                mCentralConfiguration.MaintenanceSchedule.FirstOrDefault(tf =>
                                                                         tf.GroupName.Equals(LocalConfig.GroupName, StringComparison.InvariantCultureIgnoreCase));

            bool result = TimeFrameDecision.IsWithinTimeFrame(timeFrame);

            return(result);
        }
        private TimeFrameDecision createSut()
        {
            var sut = new TimeFrameDecision();

            return(sut);
        }