private static void Test() { PropertyRule rule = new PropertyRule(); rule.Add("title", "^title$"); rule.Add("content", "^content$"); DataPack pack = new DataPack(rule, ""); foreach (KeyValuePair <string, string> pair in pack) { Console.WriteLine(pair.Key + "->" + pair.Value); } }
private static void Test() { PropertyRule rule = new PropertyRule(); rule.Add("title", "^title$"); rule.Add("content", "^content$"); DataPack pack = new DataPack(rule,""); foreach (KeyValuePair<string, string> pair in pack) { Console.WriteLine(pair.Key + "->" + pair.Value); } }