public NodePortDefinition(string key, string title, InputOutputType inputOutputType, IPortData defaultValue, bool isMandatory) { Key = key; Title = title; InputOutputType = inputOutputType; DataMode = DataMode.WithData; PortDataType = defaultValue.GetType(); DefaultValue = defaultValue; Mandatory = isMandatory; }