Ejemplo n.º 1
0
        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);
            }
        }
Ejemplo n.º 2
-2
        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);
            }
        }