private void AddNewPortAction(object obj) { var form = new Views.AddNewPort(); form.ShowDialog(); var vm = (AddNewPortViewModel)form.DataContext; if (vm.SaveSuccess && vm.SaveResult != null) { PortSource.Add(vm.SaveResult); } }
internal static bool Adapt(this NodeAdapter v, PortSource <ExpressionSource> a, PortSource <ExpressionProvider> b) { return(true); }
internal static bool Adapt(this NodeAdapter v, PortSource <ExpressionVariable> a, PortSource <ExpressionSet> b) { return(true); }
internal static bool Adapt(this NodeAdapter v, PortSource <ExpressionSet> a, PortSource <ExpressionResults> b) { return(true); }
internal static bool Adapt(this NodeAdapter value, PortSource <float> a, PortSource <float> b) { // run adapt code for float to float connections return(true); }