コード例 #1
0
        public void Visit(NewModem modem)
        {
            dynamic obj = new System.Dynamic.ExpandoObject();

            obj.Data            = "5";
            modem.Configuration = obj;
        }
コード例 #2
0
 private static void SetUp()
 {
     v = new UnixModemConfigurator();
     i = new IOSModemConfigurator();
     h = new HayesModem();
     z = new ZoomModem();
     e = new ErnieModem();
     n = new NewModem();
 }