Skip to content

Commit d0639bc

Browse files
rename text methods and remove outdated ones
1 parent c3b31cb commit d0639bc

8 files changed

Lines changed: 11 additions & 98 deletions

File tree

Code/MethodSystem/Methods/TextMethods/JoinTextMethod.cs

Lines changed: 0 additions & 26 deletions
This file was deleted.

Code/MethodSystem/Methods/TextMethods/ReplaceTextInVariableMethod.cs

Lines changed: 0 additions & 44 deletions
This file was deleted.

Code/MethodSystem/Methods/TextMethods/TextLengthMethod.cs

Lines changed: 0 additions & 22 deletions
This file was deleted.

Code/MethodSystem/Methods/TextMethods/TextContainsMethod.cs renamed to Code/MethodSystem/Methods/TextMethods/Text_ContainsMethod.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
namespace SER.Code.MethodSystem.Methods.TextMethods;
88

99
[UsedImplicitly]
10-
public class TextContainsMethod : ReturningMethod
10+
// ReSharper disable once InconsistentNaming
11+
public class Text_ContainsMethod : ReturningMethod
1112
{
1213
public override string Description => "Returns true or false indicating if the provided text contains a provided value.";
1314

Code/MethodSystem/Methods/TextMethods/PadTextMethod.cs renamed to Code/MethodSystem/Methods/TextMethods/Text_PadMethod.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
namespace SER.Code.MethodSystem.Methods.TextMethods;
1010

1111
[UsedImplicitly]
12-
public class PadTextMethod : ReturningMethod<TextValue>, ICanError, IAdditionalDescription
12+
// ReSharper disable once InconsistentNaming
13+
public class Text_PadMethod : ReturningMethod<TextValue>, ICanError, IAdditionalDescription
1314
{
1415
public override string Description => "Fills the text from the left or right with the given character " +
1516
"until the specified length is met";

Code/MethodSystem/Methods/TextMethods/ReplaceTextMethod.cs renamed to Code/MethodSystem/Methods/TextMethods/Text_ReplaceMethod.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
namespace SER.Code.MethodSystem.Methods.TextMethods;
77

88
[UsedImplicitly]
9-
public class ReplaceTextMethod : ReturningMethod<TextValue>
9+
// ReSharper disable once InconsistentNaming
10+
public class Text_ReplaceMethod : ReturningMethod<TextValue>
1011
{
1112
public override string Description => "Replaces given values in a given text.";
1213

Code/MethodSystem/Methods/TextMethods/SubTextMethod.cs renamed to Code/MethodSystem/Methods/TextMethods/Text_SliceMethod.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@
77
namespace SER.Code.MethodSystem.Methods.TextMethods;
88

99
[UsedImplicitly]
10-
public class SubTextMethod : ReturningMethod<TextValue>
10+
// ReSharper disable once InconsistentNaming
11+
public class Text_SliceMethod : ReturningMethod<TextValue>
1112
{
1213
public override string Description =>
13-
"Removes certain amount of characters from beginning and end of a text value.";
14+
"Slices off characters from beginning and end of a text value.";
1415

1516
public override Argument[] ExpectedArguments { get; } =
1617
[

Code/MethodSystem/Methods/TextMethods/TrimTextMethod.cs renamed to Code/MethodSystem/Methods/TextMethods/Text_TrimMethod.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
namespace SER.Code.MethodSystem.Methods.TextMethods;
88

99
[UsedImplicitly]
10-
public class TrimTextMethod : ReturningMethod<TextValue>
10+
// ReSharper disable once InconsistentNaming
11+
public class Text_TrimMethod : ReturningMethod<TextValue>
1112
{
1213
public override string Description => "Trims the text value from whitspaces at the beginning and end.";
1314

0 commit comments

Comments
 (0)