Talk.AutoMap.Extensions 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Talk.AutoMap.Extensions --version 1.0.0                
NuGet\Install-Package Talk.AutoMap.Extensions -Version 1.0.0                
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="Talk.AutoMap.Extensions" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Talk.AutoMap.Extensions --version 1.0.0                
#r "nuget: Talk.AutoMap.Extensions, 1.0.0"                
#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 Talk.AutoMap.Extensions as a Cake Addin
#addin nuget:?package=Talk.AutoMap.Extensions&version=1.0.0

// Install Talk.AutoMap.Extensions as a Cake Tool
#tool nuget:?package=Talk.AutoMap.Extensions&version=1.0.0                

class Program
{
   static void Main(string[] args)
   {
       //这个可放入Global.asax第一次运行时执行(传入要映射的Type)
       AutoMapperModule.Init(Assembly.GetExecutingAssembly().ExportedTypes);

       MyClass1 m = new MyClass1() { TestProp = "测试" };
       var map = m.MapTo<MyClass2>();//
   }
}
[AutoMap(typeof(MyClass2))]//特性映射
public class MyClass1
{
   public string Name { get; set; }
   public string TestProp { get; set; }
}
public class MyClass2
{
   public string TestProp { get; internal set; }
}

Product Compatible and additional computed target framework versions.
.NET Framework net452 is compatible.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Talk.AutoMap.Extensions:

Package Downloads
Talk.Linq.Extensions

Talk.Linq.Extensions

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Talk.AutoMap.Extensions:

Repository Stars
zhaopeiym/IoTClient.Examples
Version Downloads Last updated
1.0.2.10 159 10/11/2024
1.0.2.9 6,575 4/5/2019
1.0.2.8 698 4/5/2019
1.0.2.7 1,038 4/5/2019
1.0.2.7-pre 527 4/5/2019
1.0.2.6-pre 3,654 9/8/2018
1.0.2 2,568 2/28/2017
1.0.1 1,046 2/28/2017
1.0.0 1,261 2/27/2017

AutoMapper特性自动映射