using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace KlassenBIB { /// /// /// public class SchachtAnbindung : AbstractSanieren { string schachtNummer; Collections.Bilder savedBilders; #region GettersSetters /// /// /// public string SchachtNummer { get => schachtNummer; set => schachtNummer = value; } /// /// /// public Collections.Bilder SavedBilders { get => savedBilders; set => savedBilders = value; } #endregion /// /// /// public SchachtAnbindung() { Verzeichnispfad = "Schachtanbindung"; SavedBilders = new Collections.Bilder(); } /// /// /// public string CheckVerzeichnisse(string projektpfad) { string path = Path.Combine(projektpfad, PfadZurSan); if (!Directory.Exists(path)) Directory.CreateDirectory(path); string mypath = Path.Combine(path, Verzeichnispfad); if (!Directory.Exists(mypath)) Directory.CreateDirectory(mypath); return mypath; } } }