Skip to content

Commit 4a76e6a

Browse files
VitorCiolettitallesl
authored andcommitted
Added missing summaries.
1 parent 3db0042 commit 4a76e6a

File tree

5 files changed

+16
-1
lines changed

5 files changed

+16
-1
lines changed

FluentScheduler/Fluent/1 - Run/RunSpecifier.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ public RestrictionUnit Every(DayOfWeek day)
3434
return new RestrictionUnit(_calculator);
3535
}
3636

37+
/// <summary>
38+
/// Runs the job according to the given interval.
39+
/// </summary>
40+
/// <param name="time">Time to run the job</param>
3741
public void Every(TimeSpan time)
3842
{
3943
var timeOfDay = new TimeSpan(time.Hours, time.Minutes, time.Seconds);

FluentScheduler/Fluent/3 - Duration/Day/DayUnit.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
{
33
using System;
44

5+
/// <summary>
6+
/// The days the job should run
7+
/// </summary>
58
public class DayUnit
69
{
710
private readonly FluentTimeCalculator _calculator;

FluentScheduler/Fluent/3 - Duration/Month/MonthUnit.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
namespace FluentScheduler
22
{
33
using System;
4-
using System.Linq;
54

5+
/// <summary>
6+
/// The months the job should run
7+
/// </summary>
68
public class MonthUnit
79
{
810
private readonly FluentTimeCalculator _calculator;

FluentScheduler/Fluent/3 - Duration/PeriodOnceSet.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
{
33
using System;
44

5+
/// <summary>
6+
/// The "period" run has been set, but not its unit.
7+
/// </summary>
58
public class PeriodOnceSet
69
{
710
private readonly FluentTimeCalculator _calculator;

FluentScheduler/Fluent/4 - Restriction/RestrictionUnit.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ namespace FluentScheduler
44
using System.Collections.Generic;
55
using System.Linq;
66

7+
/// <summary>
8+
/// Restricts when the schedule should run
9+
/// </summary>
710
public class RestrictionUnit
811
{
912
private readonly FluentTimeCalculator _calculator;

0 commit comments

Comments
 (0)