From b895ea573ecf3186a2c9878ba2d30dc40b45c286 Mon Sep 17 00:00:00 2001 From: jd <75489664+jdrst@users.noreply.github.com> Date: Mon, 14 Apr 2025 13:04:16 +0200 Subject: [PATCH] Add missing docs for templateNames param (#174) --- .../StronglyTypedIdDefaultsAttribute.cs | 4 ++++ ...rce_resource=StronglyTypedIdDefaultsAttribute.verified.txt | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/StronglyTypedIds.Attributes/StronglyTypedIdDefaultsAttribute.cs b/src/StronglyTypedIds.Attributes/StronglyTypedIdDefaultsAttribute.cs index c4518e1ef..4ef1c9986 100644 --- a/src/StronglyTypedIds.Attributes/StronglyTypedIdDefaultsAttribute.cs +++ b/src/StronglyTypedIds.Attributes/StronglyTypedIdDefaultsAttribute.cs @@ -51,6 +51,10 @@ public StronglyTypedIdDefaultsAttribute(string templateName) /// Templates must be added to the project using the format NAME.typedid, /// where NAME is the name of the template passed in . /// + /// The names of additional custom templates to use to generate the ID. + /// Templates must be added to the project using the format NAME.typedid, + /// where NAME is the name of the template passed in . + /// public StronglyTypedIdDefaultsAttribute(string templateName, params string[] templateNames) { } diff --git a/test/StronglyTypedIds.Tests/Snapshots/EmbeddedResourceTests.EmittedResourceIsSameAsCompiledResource_resource=StronglyTypedIdDefaultsAttribute.verified.txt b/test/StronglyTypedIds.Tests/Snapshots/EmbeddedResourceTests.EmittedResourceIsSameAsCompiledResource_resource=StronglyTypedIdDefaultsAttribute.verified.txt index 3dd6d36b4..008c4ecb3 100644 --- a/test/StronglyTypedIds.Tests/Snapshots/EmbeddedResourceTests.EmittedResourceIsSameAsCompiledResource_resource=StronglyTypedIdDefaultsAttribute.verified.txt +++ b/test/StronglyTypedIds.Tests/Snapshots/EmbeddedResourceTests.EmittedResourceIsSameAsCompiledResource_resource=StronglyTypedIdDefaultsAttribute.verified.txt @@ -53,6 +53,10 @@ namespace StronglyTypedIds /// Templates must be added to the project using the format NAME.typedid, /// where NAME is the name of the template passed in . /// + /// The names of additional custom templates to use to generate the ID. + /// Templates must be added to the project using the format NAME.typedid, + /// where NAME is the name of the template passed in . + /// public StronglyTypedIdDefaultsAttribute(string templateName, params string[] templateNames) { }