public override bool Equals(object o) { if (!(o is Ftp)) { return(false); } Ftp v = o as Ftp; if (!Directory.Equals(v.Directory)) { return(false); } if (!Enabled.Equals(v.Enabled)) { return(false); } if (!EnsureUniqueFilenames.Equals(v.EnsureUniqueFilenames)) { return(false); } if (!Password.Equals(v.Password)) { return(false); } if (!Server.Equals(v.Server)) { return(false); } if (!UserName.Equals(v.UserName)) { return(false); } return(true); }
public override bool Equals(object o) { if (!(o is DropboxSettings)) { return(false); } DropboxSettings v = o as DropboxSettings; if (!AccountId.Equals(v.AccountId)) { return(false); } if (!CreateShareLink.Equals(v.CreateShareLink)) { return(false); } if (!Enabled.Equals(v.Enabled)) { return(false); } if (!EnsureUniqueFilenames.Equals(v.EnsureUniqueFilenames)) { return(false); } if (!SharedFolder.Equals(v.SharedFolder)) { return(false); } return(true); }
public void StoreValues(Data data, string path) { data.SetValue(@"" + path + @"AccountId", Data.EscapeString(AccountId)); data.SetValue(@"" + path + @"CreateShareLink", CreateShareLink.ToString()); data.SetValue(@"" + path + @"Enabled", Enabled.ToString()); data.SetValue(@"" + path + @"EnsureUniqueFilenames", EnsureUniqueFilenames.ToString()); data.SetValue(@"" + path + @"SharedFolder", Data.EscapeString(SharedFolder)); }
public void StoreValues(Data data, string path) { data.SetValue(@"" + path + @"Directory", Data.EscapeString(Directory)); data.SetValue(@"" + path + @"Enabled", Enabled.ToString()); data.SetValue(@"" + path + @"EnsureUniqueFilenames", EnsureUniqueFilenames.ToString()); data.SetValue(@"" + path + @"Password", _password); data.SetValue(@"" + path + @"Server", Data.EscapeString(Server)); data.SetValue(@"" + path + @"UserName", Data.EscapeString(UserName)); }
public override string ToString() { StringBuilder sb = new StringBuilder(); sb.AppendLine("Enabled=" + Enabled.ToString()); sb.AppendLine("EnsureUniqueFilenames=" + EnsureUniqueFilenames.ToString()); sb.AppendLine("TargetDirectory=" + TargetDirectory.ToString()); return(sb.ToString()); }
public override string ToString() { StringBuilder sb = new StringBuilder(); sb.AppendLine("AccountId=" + AccountId.ToString()); sb.AppendLine("CreateShareLink=" + CreateShareLink.ToString()); sb.AppendLine("Enabled=" + Enabled.ToString()); sb.AppendLine("EnsureUniqueFilenames=" + EnsureUniqueFilenames.ToString()); sb.AppendLine("SharedFolder=" + SharedFolder.ToString()); return(sb.ToString()); }
public override string ToString() { StringBuilder sb = new StringBuilder(); sb.AppendLine("Directory=" + Directory.ToString()); sb.AppendLine("Enabled=" + Enabled.ToString()); sb.AppendLine("EnsureUniqueFilenames=" + EnsureUniqueFilenames.ToString()); sb.AppendLine("Password="******"Server=" + Server.ToString()); sb.AppendLine("UserName=" + UserName.ToString()); return(sb.ToString()); }
public override bool Equals(object o) { if (!(o is AutoSave)) { return(false); } AutoSave v = o as AutoSave; if (!Enabled.Equals(v.Enabled)) { return(false); } if (!EnsureUniqueFilenames.Equals(v.EnsureUniqueFilenames)) { return(false); } if (!TargetDirectory.Equals(v.TargetDirectory)) { return(false); } return(true); }
public void StoreValues(Data data, string path) { data.SetValue(@"" + path + @"Enabled", Enabled.ToString()); data.SetValue(@"" + path + @"EnsureUniqueFilenames", EnsureUniqueFilenames.ToString()); data.SetValue(@"" + path + @"TargetDirectory", Data.EscapeString(TargetDirectory)); }