Skip to content

Commit 6367860

Browse files
committed
fix
1 parent cc00dd8 commit 6367860

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/ScheduledTasks/Models/ScheduleConfiguration.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,10 @@ class ScheduleConfiguration
1717
/// <param name="scheduleId">The ID of the schedule.</param>
1818
/// <param name="orchestrationName">The name of the orchestration to schedule.</param>
1919
/// <param name="interval">The interval between schedule executions. Must be positive and at least 1 second.</param>
20-
#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring as nullable.
2120
public ScheduleConfiguration(string scheduleId, string orchestrationName, TimeSpan interval)
22-
#pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring as nullable.
2321
{
2422
this.ScheduleId = Check.NotNullOrEmpty(scheduleId, nameof(scheduleId));
25-
this.OrchestrationName = Check.NotNullOrEmpty(orchestrationName, nameof(orchestrationName));
23+
this.orchestrationName = Check.NotNullOrEmpty(orchestrationName, nameof(orchestrationName));
2624
if (interval <= TimeSpan.Zero)
2725
{
2826
throw new ArgumentException("Interval must be positive", nameof(interval));

0 commit comments

Comments
 (0)