Skip to content

Process execution with custom arguments and placeholders#62

Merged
darthsharp merged 4 commits into
mainfrom
feature/processexecutewithargs
Dec 5, 2025
Merged

Process execution with custom arguments and placeholders#62
darthsharp merged 4 commits into
mainfrom
feature/processexecutewithargs

Conversation

@darthsharp

Copy link
Copy Markdown
Contributor

No description provided.

- Introduce unit tests for `EnumerableStringExtensions.ToDictionary`, `StringExtension.SplitIntoKeyValue`, and `PlaceholderReplacer`.
- Improve test coverage for string transformation, placeholder replacement, and dictionary conversion edge cases.
- Include the addition of `KeyAndValue` implementation for structured key-value handling.
…nd `IProcessExecutor` functionality.

- Added `usePlaceholderVars` to `ProcessExecutorInfo` for enabling argument placeholder replacement.
- Introduced placeholder replacement in `ProcessExecutorBase` using `EnumerableStringExtensions.ReplacePlaceholders`.
- Updated `IProcessExecutor` to support overloaded `Execute` and `ExecuteAsync` methods with custom arguments.
- Enhanced `IProcessExecutorBuilder` to configure `usePlaceholderVars`.
- Updated related unit tests to include `usePlaceholderVars` handling.
… extend support for placeholder replacements.

- Removed `usePlaceholderVars` from `ProcessExecutorInfo` and related methods in `IProcessExecutorBuilder`.
- Added overloads for `Execute` and `ExecuteAsync` methods to directly accept placeholder variables.
- Refactored internal process execution logic to improve flexibility.
- Updated related tests to include direct placeholder variable handling.
…ocessExecutor`

- Introduced `ProcessExecutorExtensions` to simplify execution with object-to-dictionary conversion.
- Added comprehensive unit tests for generic and non-generic execution methods with placeholders.
- Updated `IProcessExecutor` to include `ExecuteEx` and `ExecuteExAsync` overloads for dictionary inputs.
@darthsharp darthsharp merged commit 2de8b8a into main Dec 5, 2025
6 checks passed
@darthsharp darthsharp deleted the feature/processexecutewithargs branch December 5, 2025 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant