public override string ToString() { StringBuilder sb = new StringBuilder(); sb.AppendLine("Replace=" + Replace.ToString()); sb.AppendLine("ReplacementType=" + ReplacementType.ToString()); sb.AppendLine("Search=" + Search.ToString()); return(sb.ToString()); }
public void StoreValues(Data data, string path) { data.SetValue(@"" + path + @"Replace", Data.EscapeString(Replace)); data.SetValue(@"" + path + @"ReplacementType", ReplacementType.ToString()); data.SetValue(@"" + path + @"Search", Data.EscapeString(Search)); }