示例#1
0
 public void Accept(ModemVisitor v)
 {
     try
     {
         HayesModem hv = (HayesVisitor)v;
         hv.Visit(this);
     }
     catch (InvalidCastException e) { }
 }
示例#2
0
 private void Visit(HayesModem hayesModem)
 {
     throw new NotImplementedException();
 }
 public void Visit(HayesModem m)
 {
     m.configurationString = "&s1=4&D=3";
 }