public void Link(LinkInstruction linkInstruction)
        {
            var obj1 = _layer[linkInstruction.Obj1.Location].Get(linkInstruction.Obj1.Obj);
            var obj2 = _layer[linkInstruction.Obj2.Location].Get(linkInstruction.Obj2.Obj);

            obj1.LinkTo(obj2);
        }
Пример #2
0
 private static LinkInstruction GetLinkInstruction(string arg)
 {
     return(LinkInstruction.FromString(arg));
 }