public static MapperProfile CreateMapByAttribute <T>(this MapperProfile profile, bool validation)
 {
     return(profile.CreateMapByAttribute(typeof(T), validation));
 }
 public static MapperProfile CreateMapByAttribute(this MapperProfile profile, Type type)
 {
     return(profile.CreateMapByAttribute(type, true));
 }
        //--------------------------------------------------------------------------------
        // Profile.Single
        //--------------------------------------------------------------------------------

        public static MapperProfile CreateMapByAttribute <T>(this MapperProfile profile)
        {
            return(profile.CreateMapByAttribute(typeof(T), true));
        }