LightweightObjectMapper 1.0.0-alpha-0008
This is a prerelease version of LightweightObjectMapper.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package LightweightObjectMapper --version 1.0.0-alpha-0008
NuGet\Install-Package LightweightObjectMapper -Version 1.0.0-alpha-0008
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LightweightObjectMapper" Version="1.0.0-alpha-0008" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LightweightObjectMapper --version 1.0.0-alpha-0008
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: LightweightObjectMapper, 1.0.0-alpha-0008"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install LightweightObjectMapper as a Cake Addin #addin nuget:?package=LightweightObjectMapper&version=1.0.0-alpha-0008&prerelease // Install LightweightObjectMapper as a Cake Tool #tool nuget:?package=LightweightObjectMapper&version=1.0.0-alpha-0008&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
LightweightObjectMapper
- 开箱即用、无需预配置(Out of the box, no pre-configuration required)
- 无运行库引用(No runtime library reference)
- 映射代码可观察(Observable mapping code)
- 无反射(No Reflection)
- 无Emit或其它动态生成(No emit or other dynamic generations)
Usage
Quick use
using LightweightObjectMapper;
class Class1 { }
class Class2 { }
struct Struct1 { }
class1Instance.MapTo<Class2>();
class1Instance.MapTo(class2Instance);
class1Instance.MapTo(ref struct1Instance);
var list1 = new List<Class1>();
list1.MapTo<IEnumerable<Class2>>();
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.2 | 144 | 8/25/2024 |
1.0.1 | 123 | 8/20/2024 |
1.0.0 | 50,480 | 3/26/2023 |
1.0.0-alpha-0012 | 206 | 3/25/2023 |
1.0.0-alpha-0011 | 192 | 3/23/2023 |
1.0.0-alpha-0010 | 176 | 3/22/2023 |
1.0.0-alpha-0009 | 189 | 3/21/2023 |
1.0.0-alpha-0008 | 198 | 3/20/2023 |
1.0.0-alpha-0007 | 214 | 3/19/2023 |
1.0.0-alpha-0006 | 185 | 3/18/2023 |
1.0.0-alpha-0004 | 202 | 3/15/2023 |
1.0.0-alpha-0003 | 196 | 3/12/2023 |
1.0.0-alpha-0002 | 197 | 3/11/2023 |
1.0.0-alpha-0001 | 198 | 3/9/2023 |