Exemplo n.º 1
0
 /// <summary>
 ///     Adds the received layers to the specified holder.
 /// </summary>
 /// <param name="holder">The holder.</param>
 public override void AddThem(Holder holder)
 {
     ExerciseContent content = null;
     try
     {
         content = (holder as ExerciseHolder).GetContentByUID(UID);
         content.ImportLayer(Layer);
     }
     catch (Exception e)
     {
         Console.WriteLine(e.Message);
     }
 }
Exemplo n.º 2
0
 public LayerStack(Holder holderModel, Lessons.Lesson lessonModel)
 {
     this.lessonModel = lessonModel;
     this.holderModel = holderModel;
 }
Exemplo n.º 3
0
 public Content(Holder holder, string name)
 {
     Holder = holder;
     Name = name;
     _createdLayers = 1;
 }
Exemplo n.º 4
0
 /// <summary>
 ///     Adds the received layers to the specified holder.
 /// </summary>
 /// <param name="holder">The holder.</param>
 public override void AddThem(Holder holder)
 {
     (holder as ParallelHolder).ImportLayers(Name, Layers);
 }
Exemplo n.º 5
0
 public abstract void AddThem(Holder holder);