Skip to content

Commit ee98f39

Browse files
Merge branch 'skarllot-forking-master'
# Conflicts: # AutomaticInterface/AutomaticInterface/RegisterAttributesExtensions.cs
2 parents 8fb7ec5 + 780c8be commit ee98f39

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

AutomaticInterface/AutomaticInterface/RegisterAttributesExtensions.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@ namespace AutomaticInterface
2424
/// <summary>
2525
/// Use source generator to automatically create a Interface from this class
2626
/// </summary>
27+
/// <param name="namespaceName22">Namespace name for the generated interface. Defaults to the same namespace as the class.</param>
28+
/// <param name="interfaceName">Interface name for the generated interface. Defaults to an interface version of the class name, e.g ExampleClass -> IExampleClass.</param>
29+
/// <param name="asInternal">If true, the generated interface will be internal, otherwise public</param>
2730
[AttributeUsage(AttributeTargets.Class)]
31+
[global::System.CodeDom.Compiler.GeneratedCode("AutomaticInterface", "")]
32+
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
2833
internal sealed class {{AutomaticInterfaceGenerator.DefaultAttributeName}}Attribute : Attribute
2934
{
3035
/// <summary>
@@ -63,6 +68,8 @@ namespace AutomaticInterface
6368
/// Ignore this member in a generated Interface from this class
6469
/// </summary>
6570
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Event)]
71+
[global::System.CodeDom.Compiler.GeneratedCode("AutomaticInterface", "")]
72+
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
6673
internal sealed class {{{AutomaticInterfaceGenerator.IgnoreAutomaticInterfaceAttributeName}}}Attribute : Attribute
6774
{
6875
internal {{{AutomaticInterfaceGenerator.IgnoreAutomaticInterfaceAttributeName}}}Attribute() { }

0 commit comments

Comments
 (0)