public override void TransferData(object target, Stream incomingData, Stream outgoingData)
        {
            var config         = (Config)Deserialize(incomingData);
            var visualizerData = new VisualizerData(target, config);

            Serialize(outgoingData, visualizerData);
        }
 public ConfigViewModel(Config config, VisualizerData visualizerData) :
     this(config, visualizerData.TokenTypeMapping, visualizerData.UsedRuleContexts, visualizerData.AvailableLexers, visualizerData.AvailableParsers)
 {
 }