🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

Mapster

Package Overview
Dependencies
Maintainers
5
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mapster - nuget Package Compare versions

Comparing version
2.0.0
to
1.14.0
lib/net45/Mapster.pdb

Sorry, the diff of this file is not supported yet

+182
<?xml version="1.0"?>
<doc>
<assembly>
<name>Mapster</name>
</assembly>
<members>
<member name="P:Mapster.TypeAdapterConfigSettings.NewInstanceForSameType">
<summary>
This property only use TypeAdapter.Adapt() method. Project().To() not use this property. Default: true
</summary>
</member>
<member name="F:Mapster.TypeAdapterConfigSettingsBase.NewInstanceForSameType">
<summary>
This property only use TypeAdapter.Adapt() method. Project().To() not use this property. Default: true
</summary>
</member>
<member name="F:Mapster.TypeAdapterConfigSettingsBase.IgnoreNullValues">
<summary>
This property only use TypeAdapter.Adapt() method. Project().To() not use this property. Default: false
</summary>
</member>
<member name="F:Mapster.TypeAdapterConfigSettingsBase.InheritedSourceType">
<summary>
Source type of the inherited config
</summary>
</member>
<member name="F:Mapster.TypeAdapterConfigSettingsBase.InheritedDestinationType">
<summary>
Destination type of the inherited config
</summary>
</member>
<member name="T:Mapster.Models.FieldModel">
<summary>
Getter : FieldInfo.GetValue
Setter : FieldInfo.SetValue
</summary>
</member>
<member name="T:Mapster.Utils.FastEnum`1">
<summary>
perf about 5 times faster than enums toString.
Inspired by this example, but made generic and used reverse lookup to cover unordered enums.
http://craddock.it/c-enum-performance-trick/
</summary>
<typeparam name="TEnum"></typeparam>
</member>
<member name="M:Mapster.Utils.FastEnum`1.#ctor(System.String)">
<summary>
Creates instance from string value and matches to enum with case insensitive comparison.
</summary>
<param name="val">value to match</param>
</member>
<member name="M:Mapster.Utils.FastEnum`1.#ctor(`0)">
<summary>
Creates instance from enum value
</summary>
<param name="val">enum value</param>
</member>
<member name="M:Mapster.Utils.FastEnum`1.ToString(`0)">
<summary>
Converts enum to string using dictionary to avoid reflection perf hit.
</summary>
<param name="val">Enum to evaluate</param>
<returns></returns>
</member>
<member name="M:Mapster.Utils.FastEnum`1.ToEnum(System.String)">
<summary>
Converts string to Enum using case insensitive comparison
</summary>
<param name="val">String to evaluate</param>
<returns></returns>
</member>
<member name="M:Mapster.ProjectionConfig`2.MaxDepth(System.Int32)">
<summary>
Set MaxDepth Value. Default 3
</summary>
<param name="maxDepth">int maxDepth</param>
<returns>return instance</returns>
</member>
<member name="M:Mapster.Utils.FastObjectFactory.CreateObjectFactory``1(System.Func{``0})">
<summary>
Create a new instance of the specified type
</summary>
<returns></returns>
</member>
<member name="T:Mapster.Adapters.ClassAdapter`2">
<summary>
Maps one class to another.
</summary>
<remarks>The operations in this class must be extremely fast. Make sure to benchmark before making **any** changes in here.
The core Adapt method is critically important to performance.
</remarks>
<typeparam name="TSource">The source type.</typeparam>
<typeparam name="TDestination">The destination type</typeparam>
</member>
<member name="M:Mapster.Adapters.ClassAdapter`2.Adapt(`0)">
<summary>
Creates a destination object and maps the source to that object.
</summary>
<param name="source">The Source object to map.</param>
<returns>The resulting Destination object.</returns>
</member>
<member name="M:Mapster.Adapters.ClassAdapter`2.Adapt(`0,`1)">
<summary>
Maps the source to an existing destination object.
</summary>
<param name="source">The Source object to map.</param>
<param name="destination">The Destination to map to.</param>
<returns>The resulting Destination object.</returns>
</member>
<member name="M:Mapster.Adapters.ClassAdapter`2.Adapt(`0,System.Boolean,System.Collections.Generic.Dictionary{System.Int64,System.Int32})">
<summary>
Maps the source to the destination based on parameter indexes - For internal use
</summary>
<param name="source">The Source object to map.</param>
<param name="evaluateMaxDepth">Indicates whether or not max depth should be evaluated.</param>
<param name="parameterIndexes">The parameter indexes.</param>
<returns>The destination object.</returns>
</member>
<member name="M:Mapster.Utils.PropertyCaller.CreateSetMethod(System.Reflection.PropertyInfo)">
Creates a dynamic setter for the property
</member>
<member name="M:Mapster.Utils.PropertyCaller.CreateGetMethod(System.Reflection.PropertyInfo)">
Creates a dynamic getter for the property
</member>
<member name="M:Mapster.TypeAdapter.Adapt``1(System.Object)">
<summary>
Adapte the source object to the destination type.
</summary>
<typeparam name="TDestination">Destination type.</typeparam>
<param name="source">Source object to adapt.</param>
<returns>Adapted destination type.</returns>
</member>
<member name="M:Mapster.TypeAdapter.Adapt``2(``0)">
<summary>
Adapte the source object to the destination type.
</summary>
<typeparam name="TSource">Source type.</typeparam>
<typeparam name="TDestination">Destination type.</typeparam>
<param name="source">Source object to adapt.</param>
<returns>Adapted destination type.</returns>
</member>
<member name="M:Mapster.TypeAdapter.Adapt``2(``0,``1)">
<summary>
Adapte the source object to the existing destination object.
</summary>
<typeparam name="TSource">Source type.</typeparam>
<typeparam name="TDestination">Destination type.</typeparam>
<param name="source">Source object to adapt.</param>
<param name="destination">The destination object to populate.</param>
<returns>Adapted destination type.</returns>
</member>
<member name="M:Mapster.TypeAdapter.Adapt(System.Object,System.Type,System.Type)">
<summary>
Adapte the source object to the destination type.
</summary>
<param name="source">Source object to adapt.</param>
<param name="sourceType">The type of the source object.</param>
<param name="destinationType">The type of the destination object.</param>
<returns>Adapted destination type.</returns>
</member>
<member name="M:Mapster.TypeAdapter.Adapt(System.Object,System.Object,System.Type,System.Type)">
<summary>
Adapte the source object to an existing destination object.
</summary>
<param name="source">Source object to adapt.</param>
<param name="destination">Destination object to populate.</param>
<param name="sourceType">The type of the source object.</param>
<param name="destinationType">The type of the destination object.</param>
<returns>Adapted destination type.</returns>
</member>
<member name="M:Mapster.TypeAdapter.GetInstance">
<summary>
Returns an instance representation of the adapter, mainly for DI/IOC situations.
</summary>
<returns>Instance of the adapter.</returns>
</member>
</members>
</doc>

Sorry, the diff of this file is not supported yet

+1
-3

@@ -1,3 +0,1 @@

<?xml version="1.0" encoding="utf-8"?>
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">
<Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml" /><Default Extension="dll" ContentType="application/octet" /><Default Extension="xml" ContentType="application/octet" /><Default Extension="nuspec" ContentType="application/octet" /></Types>
<?xml version="1.0" encoding="utf-8"?><Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml" /><Default Extension="nuspec" ContentType="application/octet" /><Default Extension="pdb" ContentType="application/octet" /><Default Extension="dll" ContentType="application/octet" /><Default Extension="XML" ContentType="application/octet" /><Default Extension="psmdcp" ContentType="application/vnd.openxmlformats-package.core-properties+xml" /></Types>
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>Mapster</id>
<version>2.0.0</version>
<version>1.14.0.0</version>
<title>Mapster</title>
<authors>chaowlert, eric_swann</authors>
<owners>chaowlert,eric_swann</owners>
<licenseUrl>https://github.com/chaowlert/Mapster/blob/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/chaowlert/Mapster</projectUrl>
<authors>eric_swann</authors>
<owners>eric_swann</owners>
<projectUrl>https://github.com/eswann/Mapster</projectUrl>
<iconUrl>http://www.fancyicons.com/free-icons/103/pretty-office-5/png/128/order_128.png</iconUrl>

@@ -15,37 +14,7 @@ <requireLicenseAcceptance>false</requireLicenseAcceptance>

<summary>A fast, fun and stimulating object to object mapper. Kind of like AutoMapper, but simpler and way faster.</summary>
<releaseNotes>- Performance improvement (2-3x)
- Projection is improved to generate nicer sql query
- Mapster is now able to map struct
- Flagged enum is supported
- You can now both opt-in and opt-out setting
- Setting inheritance is able to inherit from interface
- Setting inheritance is now combined (it does not only pick from the closest parent)
- New rule based setting, you can defined your setting more granular level
- Setting is no more static, you can overload your setting to use different setting for your mapping
- You can ignore properties by attributes
- Now you can setup your map from different type ie config.Map(dest =&gt; dest.AgeString, src =&gt; src.AgeInt)
- Mapster is now support circular reference mapping!
- Supported more frameworks (.NET 4.0, 4.5, .NET Core RC 5.4)</releaseNotes>
<copyright>Copyright (c) 2016 Chaowlert Chaisrichalermpol, Eric Swann</copyright>
<tags>Mapper AutoMapper Fast Mapping</tags>
<dependencies>
<group targetFramework=".NETFramework4.0" />
<group targetFramework=".NETFramework4.5" />
<group targetFramework=".NETPlatform5.4">
<dependency id="Microsoft.CSharp" version="4.0.0" />
<dependency id="System.Collections.NonGeneric" version="4.0.0" />
<dependency id="System.Linq.Queryable" version="4.0.0" />
</group>
</dependencies>
<frameworkAssemblies>
<frameworkAssembly assemblyName="mscorlib" targetFramework=".NETFramework4.0" />
<frameworkAssembly assemblyName="System" targetFramework=".NETFramework4.0" />
<frameworkAssembly assemblyName="System.Core" targetFramework=".NETFramework4.0" />
<frameworkAssembly assemblyName="Microsoft.CSharp" targetFramework=".NETFramework4.0" />
<frameworkAssembly assemblyName="mscorlib" targetFramework=".NETFramework4.5" />
<frameworkAssembly assemblyName="System" targetFramework=".NETFramework4.5" />
<frameworkAssembly assemblyName="System.Core" targetFramework=".NETFramework4.5" />
<frameworkAssembly assemblyName="Microsoft.CSharp" targetFramework=".NETFramework4.5" />
</frameworkAssemblies>
<releaseNotes>https://github.com/eswann/Mapster/releases/tag/1.14.0</releaseNotes>
<copyright>Copyright 2014 Eric Swann, et. al. - All rights reserved.</copyright>
<language />
<tags>Mapper AutoMapper Fast Mapping Fpr</tags>
</metadata>
</package>

Sorry, the diff of this file is not supported yet

<?xml version="1.0"?>
<doc>
<assembly>
<name>Mapster</name>
</assembly>
<members>
<member name="M:Mapster.TypeAdapter.Adapt``1(System.Object,Mapster.TypeAdapterConfig)">
<summary>
Adapte the source object to the destination type.
</summary>
<typeparam name="TDestination">Destination type.</typeparam>
<param name="source">Source object to adapt.</param>
<param name="config">Configuration</param>
<returns>Adapted destination type.</returns>
</member>
<member name="M:Mapster.TypeAdapter.Adapt``2(``0)">
<summary>
Adapte the source object to the destination type.
</summary>
<typeparam name="TSource">Source type.</typeparam>
<typeparam name="TDestination">Destination type.</typeparam>
<param name="source">Source object to adapt.</param>
<returns>Adapted destination type.</returns>
</member>
<member name="M:Mapster.TypeAdapter.Adapt``2(``0,Mapster.TypeAdapterConfig)">
<summary>
Adapte the source object to the destination type.
</summary>
<typeparam name="TSource">Source type.</typeparam>
<typeparam name="TDestination">Destination type.</typeparam>
<param name="source">Source object to adapt.</param>
<param name="config">Configuration</param>
<returns>Adapted destination type.</returns>
</member>
<member name="M:Mapster.TypeAdapter.Adapt``2(``0,``1,Mapster.TypeAdapterConfig)">
<summary>
Adapte the source object to the existing destination object.
</summary>
<typeparam name="TSource">Source type.</typeparam>
<typeparam name="TDestination">Destination type.</typeparam>
<param name="source">Source object to adapt.</param>
<param name="destination">The destination object to populate.</param>
<param name="config">Configuration</param>
<returns>Adapted destination type.</returns>
</member>
<member name="M:Mapster.TypeAdapter.Adapt(System.Object,System.Type,System.Type,Mapster.TypeAdapterConfig)">
<summary>
Adapte the source object to the destination type.
</summary>
<param name="source">Source object to adapt.</param>
<param name="sourceType">The type of the source object.</param>
<param name="destinationType">The type of the destination object.</param>
<param name="config">Configuration</param>
<returns>Adapted destination type.</returns>
</member>
<member name="M:Mapster.TypeAdapter.Adapt(System.Object,System.Object,System.Type,System.Type,Mapster.TypeAdapterConfig)">
<summary>
Adapte the source object to an existing destination object.
</summary>
<param name="source">Source object to adapt.</param>
<param name="destination">Destination object to populate.</param>
<param name="sourceType">The type of the source object.</param>
<param name="destinationType">The type of the destination object.</param>
<param name="config">Configuration</param>
<returns>Adapted destination type.</returns>
</member>
<member name="M:Mapster.TypeAdapter.GetInstance(Mapster.TypeAdapterConfig)">
<summary>
Returns an instance representation of the adapter, mainly for DI/IOC situations.
</summary>
<param name="config">Configuration</param>
<returns>Instance of the adapter.</returns>
</member>
<member name="T:Mapster.Adapters.ClassAdapter">
<summary>
Maps one class to another.
</summary>
<remarks>The operations in this class must be extremely fast. Make sure to benchmark before making **any** changes in here.
The core Adapt method is critically important to performance.
</remarks>
</member>
<member name="M:Mapster.Utils.Enum`1.ToString(`0)">
<summary>
Converts enum to string using dictionary to avoid reflection perf hit.
</summary>
<param name="val">Enum to evaluate</param>
<returns></returns>
</member>
<member name="M:Mapster.Utils.Enum`1.Parse(System.String)">
<summary>
Converts string to Enum using case insensitive comparison
</summary>
<param name="val">String to evaluate</param>
<returns></returns>
</member>
</members>
</doc>

Sorry, the diff of this file is not supported yet

<?xml version="1.0"?>
<doc>
<assembly>
<name>Mapster</name>
</assembly>
<members>
<member name="M:Mapster.TypeAdapter.Adapt``1(System.Object,Mapster.TypeAdapterConfig)">
<summary>
Adapte the source object to the destination type.
</summary>
<typeparam name="TDestination">Destination type.</typeparam>
<param name="source">Source object to adapt.</param>
<param name="config">Configuration</param>
<returns>Adapted destination type.</returns>
</member>
<member name="M:Mapster.TypeAdapter.Adapt``2(``0)">
<summary>
Adapte the source object to the destination type.
</summary>
<typeparam name="TSource">Source type.</typeparam>
<typeparam name="TDestination">Destination type.</typeparam>
<param name="source">Source object to adapt.</param>
<returns>Adapted destination type.</returns>
</member>
<member name="M:Mapster.TypeAdapter.Adapt``2(``0,Mapster.TypeAdapterConfig)">
<summary>
Adapte the source object to the destination type.
</summary>
<typeparam name="TSource">Source type.</typeparam>
<typeparam name="TDestination">Destination type.</typeparam>
<param name="source">Source object to adapt.</param>
<param name="config">Configuration</param>
<returns>Adapted destination type.</returns>
</member>
<member name="M:Mapster.TypeAdapter.Adapt``2(``0,``1,Mapster.TypeAdapterConfig)">
<summary>
Adapte the source object to the existing destination object.
</summary>
<typeparam name="TSource">Source type.</typeparam>
<typeparam name="TDestination">Destination type.</typeparam>
<param name="source">Source object to adapt.</param>
<param name="destination">The destination object to populate.</param>
<param name="config">Configuration</param>
<returns>Adapted destination type.</returns>
</member>
<member name="M:Mapster.TypeAdapter.Adapt(System.Object,System.Type,System.Type,Mapster.TypeAdapterConfig)">
<summary>
Adapte the source object to the destination type.
</summary>
<param name="source">Source object to adapt.</param>
<param name="sourceType">The type of the source object.</param>
<param name="destinationType">The type of the destination object.</param>
<param name="config">Configuration</param>
<returns>Adapted destination type.</returns>
</member>
<member name="M:Mapster.TypeAdapter.Adapt(System.Object,System.Object,System.Type,System.Type,Mapster.TypeAdapterConfig)">
<summary>
Adapte the source object to an existing destination object.
</summary>
<param name="source">Source object to adapt.</param>
<param name="destination">Destination object to populate.</param>
<param name="sourceType">The type of the source object.</param>
<param name="destinationType">The type of the destination object.</param>
<param name="config">Configuration</param>
<returns>Adapted destination type.</returns>
</member>
<member name="M:Mapster.TypeAdapter.GetInstance(Mapster.TypeAdapterConfig)">
<summary>
Returns an instance representation of the adapter, mainly for DI/IOC situations.
</summary>
<param name="config">Configuration</param>
<returns>Instance of the adapter.</returns>
</member>
<member name="T:Mapster.Adapters.ClassAdapter">
<summary>
Maps one class to another.
</summary>
<remarks>The operations in this class must be extremely fast. Make sure to benchmark before making **any** changes in here.
The core Adapt method is critically important to performance.
</remarks>
</member>
<member name="M:Mapster.Utils.Enum`1.ToString(`0)">
<summary>
Converts enum to string using dictionary to avoid reflection perf hit.
</summary>
<param name="val">Enum to evaluate</param>
<returns></returns>
</member>
<member name="M:Mapster.Utils.Enum`1.Parse(System.String)">
<summary>
Converts string to Enum using case insensitive comparison
</summary>
<param name="val">String to evaluate</param>
<returns></returns>
</member>
</members>
</doc>
<?xml version="1.0"?>
<doc>
<assembly>
<name>Mapster</name>
</assembly>
<members>
<member name="M:Mapster.TypeAdapter.Adapt``1(System.Object,Mapster.TypeAdapterConfig)">
<summary>
Adapte the source object to the destination type.
</summary>
<typeparam name="TDestination">Destination type.</typeparam>
<param name="source">Source object to adapt.</param>
<param name="config">Configuration</param>
<returns>Adapted destination type.</returns>
</member>
<member name="M:Mapster.TypeAdapter.Adapt``2(``0)">
<summary>
Adapte the source object to the destination type.
</summary>
<typeparam name="TSource">Source type.</typeparam>
<typeparam name="TDestination">Destination type.</typeparam>
<param name="source">Source object to adapt.</param>
<returns>Adapted destination type.</returns>
</member>
<member name="M:Mapster.TypeAdapter.Adapt``2(``0,Mapster.TypeAdapterConfig)">
<summary>
Adapte the source object to the destination type.
</summary>
<typeparam name="TSource">Source type.</typeparam>
<typeparam name="TDestination">Destination type.</typeparam>
<param name="source">Source object to adapt.</param>
<param name="config">Configuration</param>
<returns>Adapted destination type.</returns>
</member>
<member name="M:Mapster.TypeAdapter.Adapt``2(``0,``1,Mapster.TypeAdapterConfig)">
<summary>
Adapte the source object to the existing destination object.
</summary>
<typeparam name="TSource">Source type.</typeparam>
<typeparam name="TDestination">Destination type.</typeparam>
<param name="source">Source object to adapt.</param>
<param name="destination">The destination object to populate.</param>
<param name="config">Configuration</param>
<returns>Adapted destination type.</returns>
</member>
<member name="M:Mapster.TypeAdapter.Adapt(System.Object,System.Type,System.Type,Mapster.TypeAdapterConfig)">
<summary>
Adapte the source object to the destination type.
</summary>
<param name="source">Source object to adapt.</param>
<param name="sourceType">The type of the source object.</param>
<param name="destinationType">The type of the destination object.</param>
<param name="config">Configuration</param>
<returns>Adapted destination type.</returns>
</member>
<member name="M:Mapster.TypeAdapter.Adapt(System.Object,System.Object,System.Type,System.Type,Mapster.TypeAdapterConfig)">
<summary>
Adapte the source object to an existing destination object.
</summary>
<param name="source">Source object to adapt.</param>
<param name="destination">Destination object to populate.</param>
<param name="sourceType">The type of the source object.</param>
<param name="destinationType">The type of the destination object.</param>
<param name="config">Configuration</param>
<returns>Adapted destination type.</returns>
</member>
<member name="M:Mapster.TypeAdapter.GetInstance(Mapster.TypeAdapterConfig)">
<summary>
Returns an instance representation of the adapter, mainly for DI/IOC situations.
</summary>
<param name="config">Configuration</param>
<returns>Instance of the adapter.</returns>
</member>
<member name="T:Mapster.Adapters.ClassAdapter">
<summary>
Maps one class to another.
</summary>
<remarks>The operations in this class must be extremely fast. Make sure to benchmark before making **any** changes in here.
The core Adapt method is critically important to performance.
</remarks>
</member>
<member name="M:Mapster.Utils.Enum`1.ToString(`0)">
<summary>
Converts enum to string using dictionary to avoid reflection perf hit.
</summary>
<param name="val">Enum to evaluate</param>
<returns></returns>
</member>
<member name="M:Mapster.Utils.Enum`1.Parse(System.String)">
<summary>
Converts string to Enum using case insensitive comparison
</summary>
<param name="val">String to evaluate</param>
<returns></returns>
</member>
</members>
</doc>

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet