Skip to content

Commit

Permalink
Comment description proposal for get only mutable collection properti…
Browse files Browse the repository at this point in the history
…es (#12981)

* comment description proposal for get only mutable collection properties

* add link, add text to other options
  • Loading branch information
christothes authored Jun 25, 2020
1 parent f84211c commit 318d4ad
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ public ImportCertificateOptions(string name, byte[] certificate)
public bool? Enabled { get; set; }

/// <summary>
/// Gets the tags to be applied to the imported certificate.
/// Gets the tags to be applied to the imported certificate. Although this collection cannot be set, it can be modified
/// or initialized with a <see href="https://docs.microsoft.com/dotnet/csharp/programming-guide/classes-and-structs/how-to-initialize-a-dictionary-with-a-collection-initializer">collection initializer</see>.
/// </summary>
public IDictionary<string, string> Tags => LazyInitializer.EnsureInitialized(ref _tags);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ public MergeCertificateOptions(string name, IEnumerable<byte[]> x509Certificates
public bool? Enabled { get; set; }

/// <summary>
/// Gets the tags to be applied to the merged certificate.
/// Gets the tags to be applied to the merged certificate. Although this collection cannot be set, it can be modified
/// or initialized with a <see href="https://docs.microsoft.com/dotnet/csharp/programming-guide/classes-and-structs/how-to-initialize-a-dictionary-with-a-collection-initializer">collection initializer</see>.
/// </summary>
public IDictionary<string, string> Tags => LazyInitializer.EnsureInitialized(ref _tags);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ public CreateKeyOptions()
public bool? Enabled { get; set; }

/// <summary>
/// Gets a dictionary of tags with specific metadata about the key.
/// Gets a dictionary of tags with specific metadata about the key. Although this collection cannot be set, it can be modified
/// or initialized with a <see href="https://docs.microsoft.com/dotnet/csharp/programming-guide/classes-and-structs/how-to-initialize-a-dictionary-with-a-collection-initializer">collection initializer</see>.
/// </summary>
public IDictionary<string, string> Tags { get; } = new Dictionary<string, string>();
}
Expand Down

0 comments on commit 318d4ad

Please # to comment.