ModelWrapper 2.1.0

ModelWrapper is a set of tools for enriching model object manipulation, allowing all data sent to the server to be captured by WrapRequest<TModel>, feeding the model object (TModel) and allowing all other information to be extracted and used by extended functionality

Install-Package ModelWrapper -Version 2.1.0
dotnet add package ModelWrapper --version 2.1.0
<PackageReference Include="ModelWrapper" Version="2.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ModelWrapper --version 2.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

ModelWrapper Nuget

ModelWrapper is a set of tools for enriching model object manipulation, allowing all data sent to the server to be captured by WrapRequest&lt;TModel>, feeding the model object (TModel) and allowing all other information to be extracted and used by extended functionality. - isilveria.

Purpose

ModelWrapper came up to simplify the use of ViewModels by creating a base class that should be used in the project's ViewModels allowing ViewModel to have all of the entity's original attributes, as well as extend functionality to ViewModel.

Functionalities

WrapRequest&lt;Model> - Base class for request ViewModels that extends all entity properties (TModel) and implements features like HTTP basic verbs.

WrapResponse&lt;Model> - Response ViewModels base class that extends all entity properties (TModel) that have been set to return and implements methods to get typed return data.

Usage

...

GitHub

https://github.com/isilveira/ModelWrapper

Nuget

https://www.nuget.org/packages/ModelWrapper

Package Manager

PM&gt; Install-Package ModelWrapper -Version 2.1.0

.NET CLI

&gt; dotnet add package ModelWrapper --version 2.1.0

Packet

&gt; paket add ModelWrapper --version 2.1.0

License

All files are released with the MIT license.

ModelWrapper Nuget

ModelWrapper is a set of tools for enriching model object manipulation, allowing all data sent to the server to be captured by WrapRequest&lt;TModel>, feeding the model object (TModel) and allowing all other information to be extracted and used by extended functionality. - isilveria.

Purpose

ModelWrapper came up to simplify the use of ViewModels by creating a base class that should be used in the project's ViewModels allowing ViewModel to have all of the entity's original attributes, as well as extend functionality to ViewModel.

Functionalities

WrapRequest&lt;Model> - Base class for request ViewModels that extends all entity properties (TModel) and implements features like HTTP basic verbs.

WrapResponse&lt;Model> - Response ViewModels base class that extends all entity properties (TModel) that have been set to return and implements methods to get typed return data.

Usage

...

GitHub

https://github.com/isilveira/ModelWrapper

Nuget

https://www.nuget.org/packages/ModelWrapper

Package Manager

PM&gt; Install-Package ModelWrapper -Version 2.1.0

.NET CLI

&gt; dotnet add package ModelWrapper --version 2.1.0

Packet

&gt; paket add ModelWrapper --version 2.1.0

License

All files are released with the MIT license.

Release Notes

Changing the project to .NET Sandard

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.1.0 149 1/18/2020
2.0.2 74 12/6/2019
2.0.1 79 12/4/2019
2.0.0 61 11/20/2019
1.1.0 139 3/22/2019
1.0.1 127 3/20/2019
1.0.0 125 3/20/2019
1.0.0-beta 252 6/28/2018