Nodes - Removed constructor base calls where unnecessary

This commit is contained in:
Robert authored and RobertBeekman committed 2022-10-04 23:39:00 +02:00
1 parent 7ada77f5e3
commit a59183c3fa
59 files changed
+34 -61

No files matched your search

@@ -6,7 +6,6 @@ namespace Artemis.VisualScripting.Nodes.Text;
public class StringContainsNode : Node
{
public StringContainsNode()
: base("Contains", "Checks whether the first input is contained in the second input.")
{
Input1 = CreateInputPin<string>();
Input2 = CreateInputPin<string>();
@@ -8,7 +8,6 @@ public class StringFormatNode : Node
#region Constructors
public StringFormatNode()
: base("Format", "Formats the input string.")
{
Format = CreateInputPin<string>("Format");
Values = CreateInputPinCollection<object>("Values");
@@ -7,7 +7,6 @@ namespace Artemis.VisualScripting.Nodes.Text;
public class StringLengthNode : Node
{
public StringLengthNode()
: base("Text Length", "Outputs text length.")
{
Input1 = CreateInputPin<string>();
Result = CreateOutputPin<Numeric>();
@@ -7,7 +7,6 @@ namespace Artemis.VisualScripting.Nodes.Text;
public class StringNullOrEmptyNode : Node
{
public StringNullOrEmptyNode()
: base("Text is empty", "Outputs true if empty")
{
Input1 = CreateInputPin<string>();
Output1 = CreateOutputPin<bool>();
@@ -10,7 +10,7 @@ public class StringRegexMatchNode : Node
private Regex? _regex;
private Exception? _exception;
public StringRegexMatchNode() : base("Regex Match", "Checks provided regex pattern matches the input.")
public StringRegexMatchNode()
{
Pattern = CreateInputPin<string>("Pattern");
Input = CreateInputPin<string>("Input");