Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce Utility.Result package and add result methods #4

Conversation

olivegamestudio
Copy link
Owner

The changes introduce the usage of the Utility.Result NuGet package in the project, as described in the README.md file. Several methods have been added to the ObjectResultTests class in the ObjectResultTests.cs file to demonstrate how to return different types of results using the Utility.Result package:

  • ReturnOkResult returns a successful result.
  • ReturnIntegerResult returns a successful result with an integer value.
  • ReturnResultForTask returns a successful result from a task.
  • ReturnFailure returns a failure result.

The Utility.Result.sln solution file has been updated to include a new "Solution Items" project that contains the README.md file. Additionally, the solution configuration platforms section has been moved within the Global section, and the SolutionGuid has been re-added to the ExtensibilityGlobals section.

The changes introduce the usage of the Utility.Result NuGet package in the project, as described in the README.md file. Several methods have been added to the ObjectResultTests class in the ObjectResultTests.cs file to demonstrate how to return different types of results using the Utility.Result package:
- ReturnOkResult returns a successful result.
- ReturnIntegerResult returns a successful result with an integer value.
- ReturnResultForTask returns a successful result from a task.
- ReturnFailure returns a failure result.

The Utility.Result.sln solution file has been updated to include a new "Solution Items" project that contains the README.md file. Additionally, the solution configuration platforms section has been moved within the Global section, and the SolutionGuid has been re-added to the ExtensibilityGlobals section.
@olivegamestudio olivegamestudio merged commit 8651dc5 into main Nov 27, 2024
1 check passed
@olivegamestudio olivegamestudio deleted the 3-update-readmemd-based-on-version-2-changes-regarding-okobjectresult-objectresult-etc branch November 27, 2024 13:44
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.

Update readme.md based on version 2 changes regarding OkObjectResult, ObjectResult etc.
1 participant