Beispiel #1
0
        protected virtual void Visit(HpglItem item)
        {
            Action <HpglItem> a;

            if (!funcmap.TryGetValue(item.GetType(), out a))
            {
                throw new NotImplementedException(String.Format("Missing method for {0}", item.GetType().Name));
            }
            a(item);
        }
Beispiel #2
0
 protected override void Unprocessed(HpglItem item)
 {
     result.Add(item);
 }
Beispiel #3
0
 protected virtual void Unprocessed(HpglItem item)
 {
     //
 }
Beispiel #4
0
 protected virtual void ProcessItem(HpglItem item)
 {
     Send(item.HpglStr());
 }
Beispiel #5
0
 protected virtual void Unprocessed(HpglItem item)
 {
     //
 }