--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Data/Models/PolemicElement.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,82 @@
+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>
+ /// Types Polémique
+ /// </summary>
+ public enum PolemicElementType
+ {
+ Basic=0,
+ Polemic=1,
+ Adhesion,
+ Reference,
+ Question
+ };
+
+ /// <summary>
+ /// Classe PolemicElement
+ /// </summary>
+ public abstract class PolemicElement : SegmentElement
+ {
+ #region Attributes
+ /// <summary>
+ /// Titre de l'élément
+ /// </summary>
+ public String Title {get;set;}
+ /// <summary>
+ /// Description de l'élément
+ /// </summary>
+ public String Description { get; set; }
+ /// <summary>
+ /// Tags de l'élément
+ /// </summary>
+ public List<String> Tags { get; set; }
+ /// <summary>
+ /// VideoChapter auquel l'annotation est ratachée
+ /// </summary>
+ public VideoChapter Chapter { get; set; }
+
+ #endregion
+ /// <summary>
+ /// Constructeur par défaut
+ /// </summary>
+ protected PolemicElement()
+ {
+ Tags = new List<String>();
+ }
+
+ /// <summary>
+ /// Constructeur
+ /// </summary>
+ /// <param name="Vc">VideoChapter auquel l'annotation est ratachée</param>
+ public PolemicElement(VideoChapter Vc):base()
+ {
+ Chapter = Vc;
+ Tags = new List<string>();
+ }
+
+ /// <summary>
+ /// Constructeur par copie
+ /// </summary>
+ /// <param name="copy">Element à copier</param>
+ public PolemicElement(PolemicElement copy): base(copy)
+ {
+
+ this.Title = copy.Title;
+ this.Description = copy.Description;
+ this.Tags = new List<String>(copy.Tags);
+ }
+
+ }
+}