blob: c9c4ba0be48efce2086fa79baa6718d0b3832faa (
plain)
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;
using System.Collections.Generic;
namespace XMainClient
{
internal class XAttrData : XDataBase
{
public string Title { get; set; }
public string StrEmpty { get; set; }
public List<string> Left
{
get
{
return this.m_Left;
}
}
public List<string> Right
{
get
{
return this.m_Right;
}
}
public AttriDataType Type { get; set; }
private List<string> m_Left = new List<string>();
private List<string> m_Right = new List<string>();
public void Reset()
{
this.m_Left.Clear();
this.m_Right.Clear();
this.Title = string.Empty;
this.StrEmpty = string.Empty;
}
public override void Init()
{
base.Init();
this.Reset();
}
public override void Recycle()
{
XDataPool<XAttrData>.Recycle(this);
this.Reset();
}
}
}
|