• Home
  • API
  • Change Log
  • Github

    Show / Hide Table of Contents
    • DotNetHelper.FastMember.Extension
      • ExtFastMember
      • ObjectMapper
    • DotNetHelper.FastMember.Extension.Exceptions
      • PropertyMapException
    • DotNetHelper.FastMember.Extension.Extension
      • FastMemberExtension
    • DotNetHelper.FastMember.Extension.Helpers
      • DynamicObjectHelper
      • New<T>
    • DotNetHelper.FastMember.Extension.Models
      • MemberWrapper

    Class ObjectMapper

    Inheritance
    Object
    ObjectMapper
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: DotNetHelper.FastMember.Extension
    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
    Type Name Description
    T1 original
    T2 copyCat
    Boolean exactTypeOnly
    StringComparison comparer
    Returns
    Type Description
    T2
    Type Parameters
    Name Description
    T1
    T2
    | Improve this Doc View Source

    MapDontThrow<T1, T2>(T1, T2, Boolean, StringComparison, IDictionary<Type, IFormatProvider>)

    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
    Type Name Description
    T1 original
    T2 copyCat
    Boolean exactTypeOnly
    StringComparison comparer
    IDictionary<Type, IFormatProvider> beforeMappinFormatProviders
    Returns
    Type Description
    T2
    Type Parameters
    Name Description
    T1
    T2
    | Improve this Doc View Source

    MapExcept<T1, T2>(T1, T2, Expression<Func<T1, Object>>, Boolean, StringComparison, IDictionary<Type, IFormatProvider>)

    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
    Type Name Description
    T1 original
    T2 copyCat
    Expression<Func<T1, Object>> excludeProperties
    Boolean exactTypeOnly
    StringComparison comparer
    IDictionary<Type, IFormatProvider> beforeMappinFormatProviders
    Returns
    Type Description
    T2
    Type Parameters
    Name Description
    T1
    T2
    | Improve this Doc View Source

    MapExceptDontThrow<T1, T2>(T1, T2, Expression<Func<T1, Object>>, Boolean, StringComparison, IDictionary<Type, IFormatProvider>)

    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
    Type Name Description
    T1 original
    T2 copyCat
    Expression<Func<T1, Object>> excludeProperties
    Boolean exactTypeOnly
    StringComparison comparer
    IDictionary<Type, IFormatProvider> beforeMappinFormatProviders
    Returns
    Type Description
    T2
    Type Parameters
    Name Description
    T1
    T2
    | Improve this Doc View Source

    MapOnly<T1, T2>(T1, T2, Expression<Func<T1, Object>>, Boolean, StringComparison, IDictionary<Type, IFormatProvider>)

    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
    Type Name Description
    T1 original
    T2 copyCat
    Expression<Func<T1, Object>> includeProperties
    Boolean exactTypeOnly
    StringComparison comparer
    IDictionary<Type, IFormatProvider> beforeMappinFormatProviders
    Returns
    Type Description
    T2
    Type Parameters
    Name Description
    T1
    T2
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Joseph McNeal Jr