LightweightObjectMapper 1.0.0-alpha-0007

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

// Install LightweightObjectMapper as a Cake Tool
#tool nuget:?package=LightweightObjectMapper&version=1.0.0-alpha-0007&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);

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 131 8/25/2024
1.0.1 115 8/20/2024
1.0.0 47,413 3/26/2023
1.0.0-alpha-0012 204 3/25/2023
1.0.0-alpha-0011 190 3/23/2023
1.0.0-alpha-0010 173 3/22/2023
1.0.0-alpha-0009 187 3/21/2023
1.0.0-alpha-0008 196 3/20/2023
1.0.0-alpha-0007 212 3/19/2023
1.0.0-alpha-0006 182 3/18/2023
1.0.0-alpha-0004 200 3/15/2023
1.0.0-alpha-0003 194 3/12/2023
1.0.0-alpha-0002 195 3/11/2023
1.0.0-alpha-0001 196 3/9/2023