You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR improves the documentation by reorganizing code examples and expanding configuration details. The changes make the documentation clearer and more comprehensive by moving interface definitions to the top of examples and adding missing information about mock configuration options.
Key changes:
Moved interface/delegate definitions to the beginning of code examples for better readability
Corrected reference from factory.Create to Mock.Create for consistency
Added documentation for the Initialize<T> configuration option and expanded details on DefaultValue behavior
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR improves the documentation by reorganizing code examples and expanding configuration details. The changes make the documentation clearer and more comprehensive by moving interface definitions to the top of examples and adding missing information about mock configuration options.
Moved interface/delegate definitions to the beginning of code examples for better readability
Corrected reference from factory.Create to Mock.Create for consistency
Added documentation for the Initialize<T> configuration option and expanded details on DefaultValue behavior
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
File
Description
README.md
Reorganized example code to show interface definitions first, fixed incorrect API reference, and added documentation for Initialize and DefaultValue configuration options
Docs/pages/01-create-mocks.md
Fixed incorrect API reference and added documentation for Initialize and DefaultValue configuration options
Docs/pages/00-index.md
Reorganized example code to show interface definitions first
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR improves the documentation by reorganizing code examples and expanding configuration details. The changes make the documentation clearer and more comprehensive by moving interface definitions to the top of examples and adding missing information about mock configuration options.
Key changes:
factory.CreatetoMock.Createfor consistencyInitialize<T>configuration option and expanded details onDefaultValuebehavior