forked from fdorg/flashdevelop
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBBCodeTagInfo.cs
More file actions
37 lines (31 loc) · 1 KB
/
Copy pathBBCodeTagInfo.cs
File metadata and controls
37 lines (31 loc) · 1 KB
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
35
36
37
namespace PluginCore.BBCode
{
public class BBCodeTagInfo
{
public BBCodeTagInfo()
{
_init_BBCodeTagInfo(false, "", null);
}
public BBCodeTagInfo(bool isTagOpener, string tagName, string tagParam)
{
_init_BBCodeTagInfo(isTagOpener, tagName, tagParam);
}
protected void _init_BBCodeTagInfo(bool isTagOpener, string tagName, string tagParam)
{
this.tagName = tagName ?? "";
this.tagParam = tagParam ?? "";
this.isTagOpener = isTagOpener;
}
public bool isTagOpener { get; private set; }
public string tagName { get; private set; }
public string tagParam { get; private set; }
public override string ToString()
{
return "[bbCodeTagInfo"
+ " isTagOpener=" + isTagOpener
+ " tagName='" + tagName + "'"
+ " tagParam='" + tagParam + "'"
+ "]";
}
}
}