LightweightObjectMapper 1.0.0-alpha-0003

This is a prerelease version of LightweightObjectMapper.
There is a newer version of this package available.
See the version list below for details.
dotnet add package LightweightObjectMapper --version 1.0.0-alpha-0003
                    
NuGet\Install-Package LightweightObjectMapper -Version 1.0.0-alpha-0003
                    
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-0003" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LightweightObjectMapper" Version="1.0.0-alpha-0003" />
                    
Directory.Packages.props
<PackageReference Include="LightweightObjectMapper" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add LightweightObjectMapper --version 1.0.0-alpha-0003
                    
#r "nuget: LightweightObjectMapper, 1.0.0-alpha-0003"
                    
#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.
#addin nuget:?package=LightweightObjectMapper&version=1.0.0-alpha-0003&prerelease
                    
Install LightweightObjectMapper as a Cake Addin
#tool nuget:?package=LightweightObjectMapper&version=1.0.0-alpha-0003&prerelease
                    
Install LightweightObjectMapper as a Cake Tool

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);
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.1.0 116 14 days ago
1.0.2 181 9 months ago
1.0.1 128 9 months ago
1.0.0 64,573 3/26/2023
1.0.0-alpha-0012 223 3/25/2023
1.0.0-alpha-0011 207 3/23/2023
1.0.0-alpha-0010 191 3/22/2023
1.0.0-alpha-0009 204 3/21/2023
1.0.0-alpha-0008 214 3/20/2023
1.0.0-alpha-0007 228 3/19/2023
1.0.0-alpha-0006 200 3/18/2023
1.0.0-alpha-0004 217 3/15/2023
1.0.0-alpha-0003 211 3/12/2023
1.0.0-alpha-0002 212 3/11/2023
1.0.0-alpha-0001 213 3/9/2023