Skip to content

Commit e42937f

Browse files
committed
Вспомогательный атрибут для документера
1 parent cfb8241 commit e42937f

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
/*----------------------------------------------------------
2+
This Source Code Form is subject to the terms of the
3+
Mozilla Public License, v.2.0. If a copy of the MPL
4+
was not distributed with this file, You can obtain one
5+
at http://mozilla.org/MPL/2.0/.
6+
----------------------------------------------------------*/
7+
8+
using System;
9+
10+
11+
namespace ScriptEngine.Machine.Contexts
12+
{
13+
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Enum)]
14+
public class DocumenterHintAttribute : Attribute
15+
{
16+
public string Name { get; set; }
17+
18+
public string Alias { get; set; }
19+
20+
public ContextKind Kind { get; set; }
21+
}
22+
23+
public enum ContextKind
24+
{
25+
Class,
26+
GlobalContext,
27+
Enumeration
28+
}
29+
}

0 commit comments

Comments
 (0)