ModelWrapper 2.1.1

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.1
dotnet add package ModelWrapper --version 2.1.1
<PackageReference Include="ModelWrapper" Version="2.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ModelWrapper --version 2.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ModelWrapper, 2.1.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install ModelWrapper as a Cake Addin
#addin nuget:?package=ModelWrapper&version=2.1.1

// Install ModelWrapper as a Cake Tool
#tool nuget:?package=ModelWrapper&version=2.1.1
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<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<Model> - Base class for request ViewModels that extends all entity properties (TModel) and implements features like HTTP basic verbs.

WrapResponse<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> Install-Package ModelWrapper -Version 2.1.1

.NET CLI

> dotnet add package ModelWrapper --version 2.1.1

Packet

> paket add ModelWrapper --version 2.1.1

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<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<Model> - Base class for request ViewModels that extends all entity properties (TModel) and implements features like HTTP basic verbs.

WrapResponse<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> Install-Package ModelWrapper -Version 2.1.1

.NET CLI

> dotnet add package ModelWrapper --version 2.1.1

Packet

> paket add ModelWrapper --version 2.1.1

License

All files are released with the MIT license.

Release Notes

Changing the project to .NET Sandard

NuGet packages (1)

Showing the top 1 NuGet packages that depend on ModelWrapper:

Package Downloads
BAYSOFT.Abstractions
Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.1.1 43 6/10/2021
2.1.0 351 1/18/2020
2.0.2 228 12/6/2019
2.0.1 225 12/4/2019
2.0.0 198 11/20/2019
1.1.0 292 3/22/2019
1.0.1 278 3/20/2019
1.0.0 278 3/20/2019
1.0.0-beta 475 6/28/2018