MustBeMapped() private method

private MustBeMapped ( ) : bool
return bool
Ejemplo n.º 1
0
        /// <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());
        }
Ejemplo n.º 2
0
 /// <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();
 }