forked from topnguyen/Elect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApiDocGroupAttribute.cs
34 lines (31 loc) · 974 Bytes
/
ApiDocGroupAttribute.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#region License
//--------------------------------------------------
// <License>
// <Copyright> 2018 © Top Nguyen </Copyright>
// <Url> http://topnguyen.com/ </Url>
// <Author> Top </Author>
// <Project> Elect </Project>
// <File>
// <Name> ApiDocGroupAttribute.cs </Name>
// <Created> 10/04/2018 4:04:03 PM </Created>
// <Key> a2fc9e80-7686-4aa0-ad2a-f845cee797d0 </Key>
// </File>
// <Summary>
// ApiDocGroupAttribute.cs is a part of Elect
// </Summary>
// <License>
//--------------------------------------------------
#endregion License
using System;
namespace Elect.Web.Swagger.Attributes
{
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = true)]
public class ApiDocGroupAttribute : Attribute
{
public string GroupName { get; }
public ApiDocGroupAttribute(string groupName)
{
GroupName = groupName;
}
}
}