示例#1
0
文件: Switch.cs 项目: jjmac/Mixture
        public IEnumerable <PortData> InputPortType(List <SerializableEdge> edges)
        {
            var data = MixtureUtils.UpdateInputPortType(ref inputType, "Input", edges);

            data.acceptMultipleEdges = true;
            yield return(data);
        }
示例#2
0
文件: Branch.cs 项目: jjmac/Mixture
 public IEnumerable <PortData> InputPortTypeFalse(List <SerializableEdge> edges)
 {
     yield return(MixtureUtils.UpdateInputPortType(ref inputType, "False", edges));
 }