Skip to content

Commit

Permalink
Added explicit access modifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
linkdotnet committed Nov 17, 2024
1 parent a87f387 commit ea1dd7c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/NCronJob/IJob.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ public interface IJob
/// </summary>
/// <param name="context">The context of the job execution.</param>
/// <param name="token">A cancellation token that can be used to cancel the job.</param>
Task RunAsync(IJobExecutionContext context, CancellationToken token);
public Task RunAsync(IJobExecutionContext context, CancellationToken token);
}
2 changes: 1 addition & 1 deletion src/NCronJob/IJobExecutionContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ public interface IJobExecutionContext
/// Calling <see cref="JobExecutionContext.SkipChildren"/> has no effects when no dependent jobs are defined
/// via <see cref="INotificationStage{TJob}.ExecuteWhen"/>.
/// </remarks>
void SkipChildren();
public void SkipChildren();
}
2 changes: 1 addition & 1 deletion src/NCronJob/IJobNotificationHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public interface IJobNotificationHandler
/// <remarks>
/// The method will be invoked with the same scope as the job itself.
/// </remarks>
Task HandleAsync(IJobExecutionContext context, Exception? exception, CancellationToken cancellationToken);
public Task HandleAsync(IJobExecutionContext context, Exception? exception, CancellationToken cancellationToken);
}

/// <summary>
Expand Down

0 comments on commit ea1dd7c

Please sign in to comment.