Habanero.Smooth.ClassAutoMapper.MustBeMapped C# (CSharp) Method

MustBeMapped() private method

private MustBeMapped ( ) : bool
return bool
        internal bool MustBeMapped()
        {
            return this.TypeWrapper.IsBusinessObject
                    && !this.TypeWrapper.HasIgnoreAttribute
                    && this.TypeWrapper.IsRealClass;
        }

Usage Example

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());
        }
All Usage Examples Of Habanero.Smooth.ClassAutoMapper::MustBeMapped