client/src/Iri.Modernisation.Data/Models/VideoChapter.cs
author totetm <>
Thu, 04 Feb 2010 16:38:04 +0100
changeset 38 bd33267300aa
parent 36 b6df6fce6e5d
permissions -rw-r--r--
- FranceCulture Project - Ldt and Iri Parse Method - Bug MenuableUserControl

using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.Generic;
namespace Iri.Modernisation.Data.Models
{
 

    /// <summary>
    /// Chapitre d'un VideoLivre
    /// </summary>
    public class VideoChapter
    {
        /// <summary>
        /// VideoLivre
        /// </summary>
        public VideoBook Book {get;set;}


        /// <summary>
        /// Titre du chapitre
        /// </summary>
        public String Title { get; set; }

        /// <summary>
        /// Liste des index contenu dans le chapitre
        /// </summary>
        public List<SegmentIndex> Index { get; set; }

        /// <summary>
        /// Liste des annotations contenu dans le chapitre
        /// </summary>
        public List<Annotation> Annotations { get; set; }

        /// <summary>
        /// Sequence Vidéo contenu dans le chapitre
        /// </summary>
        public List<VideoSequence> VideoSequences { get; set; }

        public Color Color { get; set; }
        public int IdChap { get; set; }

        /// <summary>
        /// Constructeur
        /// </summary>
        /// <param name="name">Nom du chaptire</param>
        public VideoChapter(VideoBook fromBook, int idChap, String name, Color color)
        {
            Book = fromBook;
            Color = color;
            IdChap = idChap;
            Title = name;
            Index = new List<SegmentIndex>();
            Annotations = new List<Annotation>();
            VideoSequences = new List<VideoSequence>();

        }

      
       
        



    }
}