/// <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); } }
public LayerStack(Holder holderModel, Lessons.Lesson lessonModel) { this.lessonModel = lessonModel; this.holderModel = holderModel; }
public Content(Holder holder, string name) { Holder = holder; Name = name; _createdLayers = 1; }
/// <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); }
public abstract void AddThem(Holder holder);