using System.Collections.Generic; namespace BantFlags.Data { /// /// Singleton class comprised of objects used in/Upload. /// It's a fucking mess and I hate it so much. /// public class Staging { public List RenamedFlags { get; set; } public List DeletedFlags { get; set; } public List AddedFlags { get; set; } public List Flags { get; set; } public string Password { get; } public Staging(string password) { RenamedFlags = new List(); DeletedFlags = new List(); AddedFlags = new List(); Password = password; } public void Clear() { RenamedFlags = new List(); DeletedFlags = new List(); AddedFlags = new List(); } } public class FormFlag { public string Name { get; set; } public bool IsChecked { get; set; } public Method FormMethod { get; set; } } public class RenameFlag : FormFlag { public string NewName { get; set; } } public enum Method { Delete, Rename, Add } }