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