| author | totetm <> |
| Thu, 14 Jan 2010 16:39:50 +0100 | |
| changeset 30 | 644e3cd48034 |
| parent 10 | 12515e11b357 |
| child 34 | 4d9ebc6fbbe8 |
| permissions | -rw-r--r-- |
| 0 | 1 |
using System; |
2 |
using System.Net; |
|
3 |
using System.Windows; |
|
4 |
using System.Windows.Controls; |
|
5 |
using System.Windows.Documents; |
|
6 |
using System.Windows.Ink; |
|
7 |
using System.Windows.Input; |
|
8 |
using System.Windows.Media; |
|
9 |
using System.Windows.Media.Animation; |
|
10 |
using System.Windows.Shapes; |
|
11 |
using System.Collections.Generic; |
|
12 |
||
13 |
namespace Iri.Modernisation.Data.Models |
|
14 |
{ |
|
15 |
/// <summary> |
|
16 |
/// Types Polémique |
|
17 |
/// </summary> |
|
18 |
public enum PolemicElementType |
|
19 |
{ |
|
20 |
Basic=0, |
|
21 |
Polemic=1, |
|
22 |
Adhesion, |
|
23 |
Reference, |
|
|
10
12515e11b357
Update PolemicElement View : Can Display Correct Color of VideoChapter
Matthieu Totet
parents:
0
diff
changeset
|
24 |
Question |
|
12515e11b357
Update PolemicElement View : Can Display Correct Color of VideoChapter
Matthieu Totet
parents:
0
diff
changeset
|
25 |
|
| 0 | 26 |
}; |
27 |
||
28 |
/// <summary> |
|
29 |
/// Classe PolemicElement |
|
30 |
/// </summary> |
|
31 |
public abstract class PolemicElement : SegmentElement |
|
32 |
{ |
|
33 |
#region Attributes |
|
34 |
/// <summary> |
|
35 |
/// Titre de l'élément |
|
36 |
/// </summary> |
|
37 |
public String Title {get;set;} |
|
38 |
/// <summary> |
|
39 |
/// Description de l'élément |
|
40 |
/// </summary> |
|
41 |
public String Description { get; set; } |
|
42 |
/// <summary> |
|
43 |
/// Tags de l'élément |
|
44 |
/// </summary> |
|
45 |
public List<String> Tags { get; set; } |
|
46 |
/// <summary> |
|
47 |
/// VideoChapter auquel l'annotation est ratachée |
|
48 |
/// </summary> |
|
49 |
public VideoChapter Chapter { get; set; } |
|
50 |
|
|
51 |
#endregion |
|
52 |
/// <summary> |
|
53 |
/// Constructeur par défaut |
|
54 |
/// </summary> |
|
55 |
protected PolemicElement() |
|
56 |
{ |
|
57 |
Tags = new List<String>(); |
|
58 |
} |
|
59 |
||
60 |
/// <summary> |
|
61 |
/// Constructeur |
|
62 |
/// </summary> |
|
63 |
/// <param name="Vc">VideoChapter auquel l'annotation est ratachée</param> |
|
64 |
public PolemicElement(VideoChapter Vc):base() |
|
65 |
{ |
|
66 |
Chapter = Vc; |
|
67 |
Tags = new List<string>(); |
|
68 |
} |
|
69 |
||
70 |
/// <summary> |
|
71 |
/// Constructeur par copie |
|
72 |
/// </summary> |
|
73 |
/// <param name="copy">Element à copier</param> |
|
74 |
public PolemicElement(PolemicElement copy): base(copy) |
|
75 |
{ |
|
76 |
|
|
77 |
this.Title = copy.Title; |
|
78 |
this.Description = copy.Description; |
|
79 |
this.Tags = new List<String>(copy.Tags); |
|
80 |
} |
|
81 |
||
82 |
} |
|
83 |
} |