File tree Expand file tree Collapse file tree
NtApiDotNet/Utilities/Reflection Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515using System ;
1616
1717namespace NtApiDotNet . Utilities . Reflection
18- {
19- [ AttributeUsage ( AttributeTargets . All , AllowMultiple = false ) ]
20- internal sealed class SDKNameAttribute : Attribute
21- {
22- public string Name { get ; }
23- public SDKNameAttribute ( string name )
24- {
25- Name = name ;
26- }
18+ {
19+ /// <summary>
20+ /// Attribute to apply to a enum or a structure to indicate the original SDK name.
21+ /// </summary>
22+ /// <remarks>This is only used when formatting the value.</remarks>
23+ [ AttributeUsage ( AttributeTargets . All , AllowMultiple = false ) ]
24+ public sealed class SDKNameAttribute : Attribute
25+ {
26+ /// <summary>
27+ /// The SDK name associated with this meta-data.
28+ /// </summary>
29+ public string Name { get ; }
30+ /// <summary>
31+ /// Constructor.
32+ /// </summary>
33+ /// <param name="name">The SDK name associated with this meta-data.</param>
34+ public SDKNameAttribute ( string name )
35+ {
36+ Name = name ;
37+ }
2738 }
2839}
You can’t perform that action at this time.
0 commit comments