Пример #1
0
        public static void ActivationConnect(ActivationUnit source, DataUnit target, string name)
        {
            if (source == null || target == null)
            {
                return;
            }

            ActivationPort port = target.Activator;

            port.Name = String.IsNullOrEmpty(name) ? source.Name + "->" + target.Name : name;

            port.Source = source;

            source.Outputs.Add(port);
        }
Пример #2
0
 public static void ActivationConnect(ActivationUnit source, DataUnit target)
 {
     Builder.ActivationConnect(source, target, String.Empty);
 }