/// <summary> /// Initializes a new instance of the <see cref="ClassroomsController"/> class. /// Used for constructing when Unit Testing. /// </summary> /// <param name="db">Handle to Database interface stub.</param> /// <param name="st">Handle to Sky Tap interface stub.</param> public ClassroomsController(ILabinatorDb db, ISkyTap st) { this.db = db; this.st = st; }
/// <summary> /// Initializes a new instance of the <see cref="ReportsController"/> class for use in testing. /// </summary> /// <param name="db">The Fake database</param> /// <param name="st">The Fake sky tap</param> public ReportsController(ILabinatorDb db, ISkyTap st) { this.db = db; }
/// <summary> /// Initializes a new instance of the <see cref="CoursesController"/> class for use live. /// </summary> public CoursesController() { this.db = new LabinatorContext(); this.st = new SkyTap(); this.template = new Template(this.st); }
/// <summary> /// Initializes a new instance of the <see cref="ClassroomsController"/> class. /// Used for regular constructions. Obtains handle to Database. /// </summary> public ClassroomsController() { this.db = new LabinatorContext(); this.st = new SkyTap(); }
public Template(ISkyTap st) { this.st = st; }
/// <summary> /// Initializes a new instance of the <see cref="CoursesController"/> class for use in testing. /// </summary> /// <param name="db">The Fake database</param> /// <param name="st">The Fake SkyTap</param> public CoursesController(ILabinatorDb db, ISkyTap st) { this.db = db; this.st = st; this.template = new Template(this.st); }
/// <summary> /// Initializes a new instance of the <see cref="Vm"/> class. /// </summary> /// <param name="st">The st.</param> public Vm(ISkyTap st) { this.st = st; }
public Template() { st = new SkyTap(); }
/// <summary> /// Initializes a new instance of the <see cref="Vm"/> class. /// </summary> public Vm() { st = new SkyTap(); }
public Project(ISkyTap st) { this.st = st; id = null; }
public Project() { st = new SkyTap(); id = null; }
/// <summary> /// Initializes a new instance of the <see cref="Configuration"/> class. /// </summary> /// Used when Unit Testing /// <param name="st">The handle to the fake Sky Tap</param> public Configuration(ISkyTap st) { this.st = st; }
/// <summary> /// Initializes a new instance of the <see cref="Configuration"/> class. /// </summary> /// Used in production. public Configuration() { this.st = new SkyTap(); }