/// <summary> /// Overridden constructor to accept a file name /// for the location of the database. /// </summary> /// <param name="fileName">Path to database file.</param> public CharacterSheetModel(string fileName) { this.database = new CharacterDataInterface(fileName); }
/// <summary> /// Class Constructor /// </summary> /// <param name="datasource">The application's CharacterDatainterface object.</param> public ConfigurationModel(CharacterDataInterface datasource) { this.database = datasource; this.configurationStore = new Dictionary <string, string>(); }
/// <summary> /// Class constructor /// </summary> public CharacterSheetModel() { this.database = new CharacterDataInterface(); }