/// <summary> /// Must the Class wrapped by the <paramref name="typeWrapper"/> /// be mapped. /// </summary> /// <param name="typeWrapper"></param> /// <returns></returns> public static bool MustBeMapped(this TypeWrapper typeWrapper) { if (typeWrapper.IsNull()) { return(false); } var autoMapper = new ClassAutoMapper(typeWrapper); return(autoMapper.MustBeMapped()); }
/// <summary> /// Must the Class wrapped by the <paramref name="typeWrapper"/> /// be mapped. /// </summary> /// <param name="typeWrapper"></param> /// <returns></returns> public static bool MustBeMapped(this TypeWrapper typeWrapper) { if (typeWrapper.IsNull()) return false; var autoMapper = new ClassAutoMapper(typeWrapper); return autoMapper.MustBeMapped(); }