예제 #1
0
        public static void Test()
        {
            PlainTextAccess txtAccess = new PlainTextAccess();
            DBAccess        dbaccess  = new PlainTextAdapter(txtAccess);

            dbaccess.ReadDB();
            dbaccess.WriteDB("My content");
        }
예제 #2
0
 public PlainTextAdapter(PlainTextAccess txtAccess)
 {
     plainTxtAccess = txtAccess;
 }