public Group(string name) { Name = name; Links = new ObservableCollection <Link>(); Links.CollectionChanged += Links_CollectionChanged; TotalLinks = Links.Count; Settings = new AutopilotSettings(); CreationDate = DateTime.Now; }
public Link(string address) { Address = address; Profiles = new ObservableCollection <Profile>(); Profiles.CollectionChanged += Profiles_CollectionChanged; FTPInformations = new FTPInformations(); LoginSettings = new LoginSettings(); AutopilotSettings = new AutopilotSettings(); CreationDate = DateTime.Now; }