Skip to content

Create form with up to eight constructor parameters#38

Open
dendism wants to merge 1 commit into
alex-oswald:mainfrom
dendism:main
Open

Create form with up to eight constructor parameters#38
dendism wants to merge 1 commit into
alex-oswald:mainfrom
dendism:main

Conversation

@dendism

@dendism dendism commented Oct 18, 2025

Copy link
Copy Markdown

Moved the IFormProvider interface to separate file.

Refactored the IFormProvider interface to support creating forms with up to eight constructor parameters, both synchronously and asynchronously, using ActivatorUtilities.CreateInstance.

Added new test forms (TestFormWithOneParam, TestFormWithTwoParams) and unit tests to validate the behavior of the new methods.

…th up to eight constructor parameters, both synchronously and asynchronously, using `ActivatorUtilities.CreateInstance`.

Added new test forms (`TestFormWithOneParam`, `TestFormWithTwoParams`) and unit tests to validate the behavior of the new methods.
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