예제 #1
0
파일: Program.cs 프로젝트: lyfb/cms-1
        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);
            }
        }
예제 #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);
            }
        }