LightweightObjectMapper 1.0.0-alpha-0006

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-0006                
NuGet\Install-Package LightweightObjectMapper -Version 1.0.0-alpha-0006                
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-0006" />                
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-0006                
#r "nuget: LightweightObjectMapper, 1.0.0-alpha-0006"                
#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-0006&prerelease

// Install LightweightObjectMapper as a Cake Tool
#tool nuget:?package=LightweightObjectMapper&version=1.0.0-alpha-0006&prerelease                

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.0.2 126 8/25/2024
1.0.1 110 8/20/2024
1.0.0 46,129 3/26/2023
1.0.0-alpha-0012 201 3/25/2023
1.0.0-alpha-0011 185 3/23/2023
1.0.0-alpha-0010 171 3/22/2023
1.0.0-alpha-0009 184 3/21/2023
1.0.0-alpha-0008 193 3/20/2023
1.0.0-alpha-0007 209 3/19/2023
1.0.0-alpha-0006 180 3/18/2023
1.0.0-alpha-0004 197 3/15/2023
1.0.0-alpha-0003 191 3/12/2023
1.0.0-alpha-0002 192 3/11/2023
1.0.0-alpha-0001 193 3/9/2023