1- // ------------------------------------------------------------
2- // Copyright (c) Microsoft Corporation.All rights reserved.
3- // ------------------------------------------------------------
1+ // Copyright (c) Microsoft Corporation.
2+ // Licensed under the MIT License.
43
54using System . Globalization ;
65using Azure . Core ;
@@ -13,6 +12,9 @@ namespace Microsoft.DurableTask.Extensions.Azure;
1312/// </summary>
1413public class DurableTaskSchedulerOptions
1514{
15+ /// <summary>
16+ /// Initializes a new instance of the <see cref="DurableTaskSchedulerOptions"/> class.
17+ /// </summary>
1618 internal DurableTaskSchedulerOptions ( string endpointAddress , string taskHubName , TokenCredential ? credential = null )
1719 {
1820 this . EndpointAddress = endpointAddress ?? throw new ArgumentNullException ( nameof ( endpointAddress ) ) ;
@@ -21,29 +23,29 @@ internal DurableTaskSchedulerOptions(string endpointAddress, string taskHubName,
2123 }
2224
2325 /// <summary>
24- /// The endpoint address of the Durable Task Scheduler resource.
26+ /// Gets the endpoint address of the Durable Task Scheduler resource.
2527 /// Expected to be in the format "https://{scheduler-name}.{region}.durabletask.io".
2628 /// </summary>
2729 public string EndpointAddress { get ; }
2830
2931 /// <summary>
30- /// The name of the task hub resource associated with the Durable Task Scheduler resource.
32+ /// Gets the name of the task hub resource associated with the Durable Task Scheduler resource.
3133 /// </summary>
3234 public string TaskHubName { get ; }
3335
3436 /// <summary>
35- /// The credential used to authenticate with the Durable Task Scheduler task hub resource.
37+ /// Gets the credential used to authenticate with the Durable Task Scheduler task hub resource.
3638 /// </summary>
3739 public TokenCredential ? Credential { get ; }
3840
3941 /// <summary>
40- /// The resource ID of the Durable Task Scheduler resource.
42+ /// Gets or sets the resource ID of the Durable Task Scheduler resource.
4143 /// The default value is https://durabletask.io.
4244 /// </summary>
4345 public string ? ResourceId { get ; set ; }
4446
4547 /// <summary>
46- /// The worker ID used to identify the worker instance.
48+ /// Gets or sets the worker ID used to identify the worker instance.
4749 /// The default value is a string containing the machine name and the process ID.
4850 /// </summary>
4951 public string ? WorkerId { get ; set ; }
0 commit comments