Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
YunchuWang committed Jan 9, 2025
1 parent 5c72ee7 commit c6e42c5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
5 changes: 2 additions & 3 deletions src/Extensions/Azure/DurableTaskSchedulerConnectionString.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation.All rights reserved.
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using System.Data.Common;

Expand Down
5 changes: 2 additions & 3 deletions src/Extensions/Azure/DurableTaskSchedulerExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation.All rights reserved.
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using Azure.Core;
using Microsoft.DurableTask.Client;
Expand Down
18 changes: 10 additions & 8 deletions src/Extensions/Azure/DurableTaskSchedulerOptions.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation.All rights reserved.
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

Check warning on line 2 in src/Extensions/Azure/DurableTaskSchedulerOptions.cs

View workflow job for this annotation

GitHub Actions / build

Check warning on line 2 in src/Extensions/Azure/DurableTaskSchedulerOptions.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp)


using System.Globalization;
using Azure.Core;
Expand All @@ -13,6 +12,9 @@ namespace Microsoft.DurableTask.Extensions.Azure;
/// </summary>
public class DurableTaskSchedulerOptions
{
/// <summary>
/// Initializes a new instance of the <see cref="DurableTaskSchedulerOptions"/> class.
/// </summary>
internal DurableTaskSchedulerOptions(string endpointAddress, string taskHubName, TokenCredential? credential = null)

Check warning on line 18 in src/Extensions/Azure/DurableTaskSchedulerOptions.cs

View workflow job for this annotation

GitHub Actions / build

The documentation for parameter 'endpointAddress' is missing (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1611.md)

Check warning on line 18 in src/Extensions/Azure/DurableTaskSchedulerOptions.cs

View workflow job for this annotation

GitHub Actions / build

The documentation for parameter 'taskHubName' is missing (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1611.md)

Check warning on line 18 in src/Extensions/Azure/DurableTaskSchedulerOptions.cs

View workflow job for this annotation

GitHub Actions / build

Check warning on line 18 in src/Extensions/Azure/DurableTaskSchedulerOptions.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp)

The documentation for parameter 'endpointAddress' is missing (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1611.md)

Check warning on line 18 in src/Extensions/Azure/DurableTaskSchedulerOptions.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp)

The documentation for parameter 'taskHubName' is missing (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1611.md)

Check warning on line 18 in src/Extensions/Azure/DurableTaskSchedulerOptions.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp)

{
this.EndpointAddress = endpointAddress ?? throw new ArgumentNullException(nameof(endpointAddress));
Expand All @@ -21,29 +23,29 @@ internal DurableTaskSchedulerOptions(string endpointAddress, string taskHubName,
}

/// <summary>
/// The endpoint address of the Durable Task Scheduler resource.
/// Gets the endpoint address of the Durable Task Scheduler resource.
/// Expected to be in the format "https://{scheduler-name}.{region}.durabletask.io".
/// </summary>
public string EndpointAddress { get; }

/// <summary>
/// The name of the task hub resource associated with the Durable Task Scheduler resource.
/// Gets the name of the task hub resource associated with the Durable Task Scheduler resource.
/// </summary>
public string TaskHubName { get; }

/// <summary>
/// The credential used to authenticate with the Durable Task Scheduler task hub resource.
/// Gets the credential used to authenticate with the Durable Task Scheduler task hub resource.
/// </summary>
public TokenCredential? Credential { get; }

/// <summary>
/// The resource ID of the Durable Task Scheduler resource.
/// Gets or sets the resource ID of the Durable Task Scheduler resource.
/// The default value is https://durabletask.io.
/// </summary>
public string? ResourceId { get; set; }

/// <summary>
/// The worker ID used to identify the worker instance.
/// Gets or sets the worker ID used to identify the worker instance.
/// The default value is a string containing the machine name and the process ID.
/// </summary>
public string? WorkerId { get; set; }
Expand Down

0 comments on commit c6e42c5

Please sign in to comment.