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
54 lines (44 loc) · 1.28 KB
/
Copy pathBBCodeTagInfo.cs
File metadata and controls
54 lines (44 loc) · 1.28 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
using System;
namespace PluginCore.BBCode
{
public class BBCodeTagInfo
{
public BBCodeTagInfo()
{
_init_BBCodeTagInfo(false, "", null);
}
public BBCodeTagInfo(Boolean isTagOpener, String tagName, String tagParam)
{
_init_BBCodeTagInfo(isTagOpener, tagName, tagParam);
}
protected void _init_BBCodeTagInfo(Boolean isTagOpener, String tagName, String tagParam)
{
_tagName = tagName != null ? tagName : "";
_tagParam = tagParam != null ? tagParam : "";
_isTagOpener = isTagOpener;
}
private Boolean _isTagOpener;
private String _tagName;
private String _tagParam;
public Boolean isTagOpener
{
get { return _isTagOpener; }
}
public String tagName
{
get { return _tagName; }
}
public String tagParam
{
get { return _tagParam; }
}
override public String ToString()
{
return "[bbCodeTagInfo"
+ " isTagOpener=" + _isTagOpener.ToString()
+ " tagName='" + _tagName + "'"
+ " tagParam='" + _tagParam + "'"
+ "]";
}
}
}