-
-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor StringManipulator tool so it works just with string and not …
…the field
- Loading branch information
Showing
5 changed files
with
135 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 2 additions & 9 deletions
11
src/MigrationTools.Shadows/Tools/MockStringManipulatorTool.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 2 additions & 8 deletions
10
src/MigrationTools/Tools/Interfaces/IStringManipulatorTool.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,7 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
using MigrationTools.DataContracts; | ||
using MigrationTools.Processors.Infrastructure; | ||
|
||
namespace MigrationTools.Tools.Interfaces | ||
namespace MigrationTools.Tools.Interfaces | ||
{ | ||
public interface IStringManipulatorTool | ||
{ | ||
void ProcessorExecutionWithFieldItem(IProcessor processor, FieldItem fieldItem); | ||
string? ProcessString(string? value); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters