Skip to content

Commit b2f551d

Browse files
v5.2.2
1 parent 598dd64 commit b2f551d

File tree

4 files changed

+11
-14
lines changed

4 files changed

+11
-14
lines changed

AutomaticInterface/AutomaticInterface/AutomaticInterface.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<PackageLicenseExpression>MIT</PackageLicenseExpression>
2525
<EnableNETAnalyzers>True</EnableNETAnalyzers>
2626
<AnalysisLevel>latest-Recommended</AnalysisLevel>
27-
<Version>5.2.1</Version>
27+
<Version>5.2.2</Version>
2828
<PackageReadmeFile>README.md</PackageReadmeFile>
2929
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
3030
<NoWarn>1701;1702;NU5128</NoWarn>

AutomaticInterface/AutomaticInterface/RegisterAttributesExtensions.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ namespace AutomaticInterface
3030
[AttributeUsage(AttributeTargets.Class)]
3131
internal sealed class {{AutomaticInterfaceGenerator.DefaultAttributeName}}Attribute : Attribute
3232
{
33+
/// <summary>
34+
/// Use source generator to automatically create a Interface from this class
35+
/// </summary>
36+
/// <param name="namespaceName">Namespace name for the generated interface. Defaults to the same namespace as the class.</param>
37+
/// <param name="interfaceName">Interface name for the generated interface. Defaults to an interface version of the class name, e.g ExampleClass -> IExampleClass.</param>
38+
/// <param name="asInternal">If true, the generated interface will be internal, otherwise public</param>
3339
internal {{AutomaticInterfaceGenerator.DefaultAttributeName}}Attribute(string {{AutomaticInterfaceGenerator.NamespaceParameterName}} = "", string {{AutomaticInterfaceGenerator.InterfaceParameterName}} = "", bool asInternal = false) { }
3440
}
3541
}

AutomaticInterface/Tests/test.cs

Lines changed: 0 additions & 13 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,10 @@ Note that we use [Verify](https://github.com/VerifyTests/Verify) for testing. It
188188

189189
## Changelog
190190

191+
### 5.2.2
192+
193+
- Smaller fixes to the Docstrings - warnings about missing xml comments should be fixed
194+
191195
### 5.2.1
192196

193197
- Smaller fixes to the Docstrings

0 commit comments

Comments
 (0)