public void PrintLine(Func <string, string, string> f, IMgaFCO a, IMgaFCO b)
 {
     Console.Out.WriteLine(f(Switcher.getPath(a), Switcher.getPath(b)));
 }
 public void SwitchReference(IMgaFCO to, IMgaReference @ref)
 {
     Switcher.MoveReferenceWithRefportConnections(to, @ref, PrintLine);
 }
        public void SwitchReferences(object[] lib1Objects, object[] lib2Objects)
        {
            Switcher switcher = new Switcher(lib1Objects.Cast <IMgaObject>(), lib2Objects.Cast <IMgaObject>(), null);

            switcher.UpdateSublibrary();
        }