コード例 #1
0
        static void Main(string[] args)
        {
            "Demonstrating Project Requirements".title('=');
            ReqDemos demos = new ReqDemos();
            DBEngine <int, DBElement <int, string> > dbType = new DBEngine <int, DBElement <int, string> >();
            DBEngine <string, DBElement <string, List <string> > > dbCollectionType = new DBEngine <string, DBElement <string, List <string> > >();
            DBItemEditor editor = new DBItemEditor();

            demos.TestR2(dbType, dbCollectionType, editor);
            demos.TestR3(dbType, dbCollectionType, editor);
            demos.TestR3_NonPrimitive(dbType, dbCollectionType, editor);
            demos.TestR4(dbType, dbCollectionType, editor);
            demos.TestR4_NonPrimitive(dbType, dbCollectionType, editor);
            demos.TestR4_NonPrimitive(dbType, dbCollectionType, editor);
            demos.TestR7(dbType, dbCollectionType);
            demos.TestR5(dbType, dbCollectionType);
            demos.testR7c(dbType, dbCollectionType);
            demos.TestR6(dbType, dbCollectionType);
            demos.TestR8();
            demos.testR9();
            demos.testR12();
        }
コード例 #2
0
        static void Main(string[] args)
        {
            DBEngine <int, DBElement <int, string> > dbType = new DBEngine <int, DBElement <int, string> >();
            DBEngine <string, DBElement <string, List <string> > > dbCollectionType = new DBEngine <string, DBElement <string, List <string> > >();
            DBItemEditor editor = new DBItemEditor();

            ReqDemos demos = new ReqDemos();

            demos.TestR2(dbType, dbCollectionType, editor);
            demos.TestR3(dbType, dbCollectionType, editor);
            demos.TestR3_NonPrimitive(dbType, dbCollectionType, editor);
            demos.TestR4(dbType, dbCollectionType, editor);
            demos.TestR4_NonPrimitive(dbType, dbCollectionType, editor);
            demos.TestR5(dbType, dbCollectionType);
            demos.TestR7(dbType, dbCollectionType);
            demos.testR7c(dbType, dbCollectionType);
            demos.TestR8();
            demos.testR9();
            demos.testR12();
            demos.TestR6(dbType, dbCollectionType);

            Console.ReadKey();
        }