Class ObjectMapper
Assembly: DotNetHelper.FastMember.Extension.dll
Syntax
public static class ObjectMapper
Methods
|
Improve this Doc
View Source
Map<T1, T2>(T1, T2, Boolean, StringComparison)
Declaration
public static T2 Map<T1, T2>(T1 original, T2 copyCat, bool exactTypeOnly = false, StringComparison comparer = StringComparison.CurrentCulture)
where T1 : class where T2 : class
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
Declaration
public static T2 MapDontThrow<T1, T2>(T1 original, T2 copyCat, bool exactTypeOnly = false, StringComparison comparer = StringComparison.CurrentCulture, IDictionary<Type, IFormatProvider> beforeMappinFormatProviders = null)
where T1 : class where T2 : class
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
Declaration
public static T2 MapExcept<T1, T2>(T1 original, T2 copyCat, Expression<Func<T1, object>> excludeProperties = null, bool exactTypeOnly = false, StringComparison comparer = StringComparison.CurrentCulture, IDictionary<Type, IFormatProvider> beforeMappinFormatProviders = null)
where T1 : class where T2 : class
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
Declaration
public static T2 MapExceptDontThrow<T1, T2>(T1 original, T2 copyCat, Expression<Func<T1, object>> excludeProperties = null, bool exactTypeOnly = false, StringComparison comparer = StringComparison.CurrentCulture, IDictionary<Type, IFormatProvider> beforeMappinFormatProviders = null)
where T1 : class where T2 : class
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
Declaration
public static T2 MapOnly<T1, T2>(T1 original, T2 copyCat, Expression<Func<T1, object>> includeProperties, bool exactTypeOnly = false, StringComparison comparer = StringComparison.CurrentCulture, IDictionary<Type, IFormatProvider> beforeMappinFormatProviders = null)
where T1 : class where T2 : class
Parameters
Returns
Type Parameters