예제 #1
0
        public void VisitMethodCall(MocCommonMethodCall callStatic)
        {
            var methodCallDfir = new MethodCallNode(
                _currentDiagram,
                callStatic.SelectedMethodCallTarget.AssociatedEnvoy.GetCompilableDefinitionName(),
                callStatic.Signature);

            _map.AddMapping(callStatic, methodCallDfir);
            _map.MapTerminalsInOrder(callStatic, methodCallDfir);
        }
            private MethodCall CreateMethodCall(FunctionSignatureCache signatureCache)
            {
                var createInfo = new ElementCreateInfo(Host, null, null, null, null);
                var methodCall = MocCommonMethodCall.Create(createInfo);

                methodCall.Target = AssociatedEnvoy.MakeRelativeDependencyName();
                if (signatureCache != null)
                {
                    methodCall.Bounds = new NationalInstruments.Core.SMRect(methodCall.Left, methodCall.Top, signatureCache.Width, signatureCache.Height);
                }
                CreateTerminals(methodCall, signatureCache);
                return(methodCall);
            }
예제 #3
0
 public void VisitMethodCall(MocCommonMethodCall callStatic)
 {
     throw new NotImplementedException();
 }