| author | totetm <> |
| Fri, 12 Feb 2010 16:22:57 +0100 | |
| changeset 47 | 9b26023b8c83 |
| parent 43 | 7fa99f1c36a4 |
| 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 |
/// Classe d'annotation |
|
17 |
/// </summary> |
|
18 |
public class Annotation : PolemicElement |
|
19 |
{ |
|
20 |
/// <summary> |
|
21 |
/// Type de l'annotation |
|
22 |
/// </summary> |
|
| 28 | 23 |
public PolemicTypeDescription Type { get; set; } |
24 |
||
25 |
/// <summary> |
|
26 |
/// Type de l'annotation |
|
27 |
/// </summary> |
|
28 |
// public PolemicElementType Type { get; set; } |
|
| 0 | 29 |
|
30 |
/// <summary> |
|
31 |
/// Auteur de l'annotation |
|
32 |
/// </summary> |
|
33 |
public User Contributer { get; set; } |
|
34 |
||
35 |
/// <summary> |
|
36 |
/// Constructeur |
|
37 |
/// </summary> |
|
38 |
/// <param name="Vc">VideoChapter auquel l'annotation est ratachée</param> |
|
39 |
public Annotation(VideoChapter Vc) |
|
40 |
: base(Vc) |
|
41 |
{ |
|
42 |
} |
|
|
43
7fa99f1c36a4
Fixed | pb d'affichage dans la liste des annotations (rafraichissement +
totetm <>
parents:
28
diff
changeset
|
43 |
public Annotation(Annotation old) : base(old) |
|
7fa99f1c36a4
Fixed | pb d'affichage dans la liste des annotations (rafraichissement +
totetm <>
parents:
28
diff
changeset
|
44 |
{ |
|
7fa99f1c36a4
Fixed | pb d'affichage dans la liste des annotations (rafraichissement +
totetm <>
parents:
28
diff
changeset
|
45 |
Type = old.Type; |
|
7fa99f1c36a4
Fixed | pb d'affichage dans la liste des annotations (rafraichissement +
totetm <>
parents:
28
diff
changeset
|
46 |
Contributer = old.Contributer; |
|
7fa99f1c36a4
Fixed | pb d'affichage dans la liste des annotations (rafraichissement +
totetm <>
parents:
28
diff
changeset
|
47 |
} |
| 0 | 48 |
} |
49 |
} |