|
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 |
namespace Iri.Modernisation.Data.Models |
|
|
13 |
{ |
|
|
14 |
/// <summary> |
|
|
15 |
/// Chapitre d'un VideoLivre |
|
|
16 |
/// </summary> |
|
|
17 |
public class VideoChapter |
|
|
18 |
{ |
|
|
19 |
/// <summary> |
|
|
20 |
/// VideoLivre |
|
|
21 |
/// </summary> |
|
|
22 |
public VideoBook Book {get;set;} |
|
|
23 |
|
|
|
24 |
/// <summary> |
|
|
25 |
/// Titre du chapitre |
|
|
26 |
/// </summary> |
|
|
27 |
public String Title { get; set; } |
|
|
28 |
|
|
|
29 |
/// <summary> |
|
|
30 |
/// Liste des index contenu dans le chapitre |
|
|
31 |
/// </summary> |
|
|
32 |
public List<SegmentIndex> Index { get; set; } |
|
|
33 |
|
|
|
34 |
/// <summary> |
|
|
35 |
/// Liste des annotations contenu dans le chapitre |
|
|
36 |
/// </summary> |
|
|
37 |
public List<Annotation> Annotations { get; set; } |
|
|
38 |
|
|
|
39 |
/// <summary> |
|
|
40 |
/// Sequence Vidéo contenu dans le chapitre |
|
|
41 |
/// </summary> |
|
|
42 |
public List<VideoSequence> VideoSequences { get; set; } |
|
|
43 |
|
|
|
44 |
/// <summary> |
|
|
45 |
/// Constructeur |
|
|
46 |
/// </summary> |
|
|
47 |
/// <param name="name">Nom du chaptire</param> |
|
|
48 |
public VideoChapter(VideoBook fromBook,String name) |
|
|
49 |
{ |
|
|
50 |
Book = fromBook; |
|
|
51 |
Title = name; |
|
|
52 |
Index = new List<SegmentIndex>(); |
|
|
53 |
Annotations = new List<Annotation>(); |
|
|
54 |
VideoSequences = new List<VideoSequence>(); |
|
|
55 |
|
|
|
56 |
} |
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
|
|
|
61 |
|
|
|
62 |
} |
|
|
63 |
} |