55
|
1 |
using System; |
|
2 |
using System.Collections.Generic; |
|
3 |
using System.Linq; |
|
4 |
using System.Text; |
|
5 |
|
|
6 |
namespace FingersDance.Data |
|
7 |
{ |
69
|
8 |
public class Cutting |
55
|
9 |
{ |
69
|
10 |
private List<Annotation> _annotList; |
|
11 |
private string _title; |
55
|
12 |
|
|
13 |
public Cutting(string titlePar, List<Annotation> annotListPar) |
|
14 |
{ |
69
|
15 |
this._title = titlePar; |
|
16 |
this._annotList = annotListPar; |
55
|
17 |
|
|
18 |
} |
143
|
19 |
public Cutting() |
|
20 |
{} |
69
|
21 |
|
|
22 |
public String Title |
|
23 |
{ |
|
24 |
get { return _title; } |
|
25 |
set |
|
26 |
{ |
|
27 |
if (value == _title || String.IsNullOrEmpty(value)) |
|
28 |
return; |
|
29 |
_title = value; |
|
30 |
} |
|
31 |
} |
|
32 |
public List<Annotation> AnnotList |
|
33 |
{ |
|
34 |
get { return _annotList; } |
|
35 |
set |
|
36 |
{ |
|
37 |
_annotList = value; |
|
38 |
} |
|
39 |
} |
|
40 |
|
55
|
41 |
} |
|
42 |
} |