public static void Test() { PlainTextAccess txtAccess = new PlainTextAccess(); DBAccess dbaccess = new PlainTextAdapter(txtAccess); dbaccess.ReadDB(); dbaccess.WriteDB("My content"); }
public PlainTextAdapter(PlainTextAccess txtAccess) { plainTxtAccess = txtAccess; }