示例#1
0
        public OutputPortReflectionInfo(MethodInfo methodInfo)
        {
            this.methodInfo = methodInfo;

            object[] attributeObjects = methodInfo.GetCustomAttributes(typeof(NodeOutputPortAttribute), false);
            if (attributeObjects.Length > 0)
            {
                this.outputPortAttribute = attributeObjects[0] as NodeOutputPortAttribute;
            }
        }
示例#2
0
 public NodeOutputMethodInfo(MethodInfo methodInfo, NodeOutputPortAttribute attribute)
 {
     this.methodInfo = methodInfo;
     this.attribute  = attribute;
 }
示例#3
0
 public OutputPortReflectionInfo(NodeOutputPortAttribute outputPortAttribute, MethodInfo methodInfo, object instance)
 {
     this.outputPortAttribute = outputPortAttribute;
     this.methodInfo          = methodInfo;
     this.instance            = instance;
 }