CommonNetFuncs.FastMap
3.5.0
dotnet add package CommonNetFuncs.FastMap --version 3.5.0
NuGet\Install-Package CommonNetFuncs.FastMap -Version 3.5.0
<PackageReference Include="CommonNetFuncs.FastMap" Version="3.5.0" />
<PackageVersion Include="CommonNetFuncs.FastMap" Version="3.5.0" />
<PackageReference Include="CommonNetFuncs.FastMap" />
paket add CommonNetFuncs.FastMap --version 3.5.0
#r "nuget: CommonNetFuncs.FastMap, 3.5.0"
#addin nuget:?package=CommonNetFuncs.FastMap&version=3.5.0
#tool nuget:?package=CommonNetFuncs.FastMap&version=3.5.0
CommonNetFuncs.FastMap
This lightweight project contains a helper method for fast mapping of properties between different objects in .NET applications based on property names.
Contents
FastMapper
A utility class for fast mapping of properties between different objects based on property names.
FastMapper Usage Examples
<details> <summary><h3>Usage Examples</h3></summary>
FastMap
Maps properties from one object to another based on matching property names using expression trees. Speed is comparable in performance to other mapping libraries like AutoMapper and Mapperly, but requires less (no) configuration, and does not rely on source generators to work.
public sealed class SimpleSource
{
public required string StringProp { get; set; }
public int IntProp { get; set; }
}
public sealed class SimpleDestination
{
public required string StringProp { get; set; }
public string? ExtraStringProp { get; set; }
public int IntProp { get; set; }
}
SimpleSource source = new()
{
StringProp = "Test",
IntProp = 17,
};
SimpleDestination destination = source.FastMap<SimpleSource, SimpleDestination>();
// destination =
//{
// StringProp = "Test",
// ExtraStringProp = null,
// IntProp = 17
//}
</details>
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net9.0
- CommonNetFuncs.Core (>= 3.5.0)
- FastExpressionCompiler (>= 5.3.0)
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 |
---|---|---|
3.5.0 | 39 | 7/7/2025 |
3.4.23 | 134 | 6/26/2025 |
3.4.21 | 135 | 6/26/2025 |
3.4.20 | 130 | 6/25/2025 |
3.4.8 | 288 | 6/11/2025 |
3.4.3 | 137 | 6/2/2025 |
3.4.2 | 139 | 6/2/2025 |
3.4.1 | 81 | 5/30/2025 |
3.4.0 | 94 | 5/30/2025 |
3.3.11 | 144 | 5/19/2025 |
3.3.10 | 225 | 5/13/2025 |
3.3.0 | 164 | 4/29/2025 |
3.2.13 | 187 | 2/13/2025 |
3.2.0 | 123 | 12/19/2024 |
3.1.0 | 142 | 12/6/2024 |
3.0.0 | 117 | 12/3/2024 |
2.1.3 | 106 | 12/3/2024 |
2.1.2 | 108 | 12/3/2024 |
2.1.0 | 112 | 12/2/2024 |
2.0.5 | 106 | 11/26/2024 |
2.0.2 | 129 | 11/18/2024 |
2.0.1 | 106 | 11/15/2024 |
2.0.0 | 99 | 11/14/2024 |
1.0.47 | 112 | 11/14/2024 |
1.0.42 | 134 | 11/12/2024 |
1.0.40 | 109 | 11/12/2024 |
1.0.37 | 116 | 11/4/2024 |
1.0.31 | 116 | 10/31/2024 |
1.0.28 | 127 | 10/25/2024 |
1.0.26 | 173 | 10/18/2024 |
1.0.25 | 110 | 10/17/2024 |
1.0.24 | 104 | 10/17/2024 |
1.0.18 | 119 | 10/11/2024 |
1.0.17 | 128 | 9/27/2024 |
1.0.16 | 129 | 9/27/2024 |
1.0.14 | 117 | 9/23/2024 |
1.0.13 | 130 | 9/18/2024 |
1.0.12 | 121 | 9/18/2024 |
1.0.11 | 116 | 9/18/2024 |
1.0.10 | 154 | 9/11/2024 |
1.0.9 | 140 | 9/11/2024 |
1.0.8 | 138 | 9/11/2024 |
1.0.7 | 142 | 9/11/2024 |
1.0.1 | 151 | 9/4/2024 |
1.0.0 | 131 | 9/2/2024 |