private void Q(X2 x1, X2 x2, Model m) { global::SafetySharp.CompilerServices.MetadataBuilders.GetBuilder(m).WithBinding( global::System.Delegate.CreateDelegate(typeof(__BindingDelegate0__), x1, SafetySharp.CompilerServices.ReflectionHelpers.GetMethod(typeof(global::Tests.Normalization.Bindings.Models.X2), "N", new System.Type[]{}, typeof(void))), global::System.Delegate.CreateDelegate(typeof(__BindingDelegate0__), x2, SafetySharp.CompilerServices.ReflectionHelpers.GetMethod(typeof(global::Tests.Normalization.Bindings.Models.X2), "M", new System.Type[]{}, typeof(void)))); global::SafetySharp.CompilerServices.MetadataBuilders.GetBuilder(this.In.GetModel()).WithBinding( global::System.Delegate.CreateDelegate(typeof(__BindingDelegate1__), x1, SafetySharp.CompilerServices.ReflectionHelpers.GetMethod(typeof(global::Tests.Normalization.Bindings.Models.X2), "N", new System.Type[]{}, typeof(void))), global::System.Delegate.CreateDelegate(typeof(__BindingDelegate1__), x2, SafetySharp.CompilerServices.ReflectionHelpers.GetMethod(typeof(global::Tests.Normalization.Bindings.Models.X2), "M", new System.Type[]{}, typeof(void)))); }
private void Q(X2 x1, X2 x2, Model m) { m.Bind(x1.RequiredPorts.N = x2.ProvidedPorts.M); this.In.GetModel().Bind(x1.RequiredPorts.N = x2.ProvidedPorts.M); }