示例#1
0
        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());
        }
示例#2
0
 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));
 }