Map() public method

Maps the IBusinessObject classes in the ITypeSource.
public Map ( ) : ClassDefCol
return ClassDefCol
 /// <summary>
 /// Maps All classes in the Given Assembly to a <see cref="ClassDefCol"/>
 /// </summary>
 /// <param name="assembly"></param>
 /// <returns></returns>
 public static ClassDefCol MapClasses(this Assembly assembly)
 {
     AllClassesAutoMapper.ClassDefCol = null;
     AssemblyTypeSource typeSource = new AssemblyTypeSource(assembly);
     AllClassesAutoMapper autoMapper = new AllClassesAutoMapper(typeSource);
     return autoMapper.Map();
 }
 private static ClassDefCol MapClasses(this Assembly assembly, Func<Type, bool> where)
 {
     AllClassesAutoMapper.ClassDefCol = null;
     AssemblyTypeSource typeSource = new AssemblyTypeSource(assembly, where);
     AllClassesAutoMapper autoMapper = new AllClassesAutoMapper(typeSource);
     return autoMapper.Map();
 }
 /// <summary>
 /// Loads one ClassDef for each Type in the <see cref="ITypeSource"/>.
 /// </summary>
 /// <returns></returns>
 public ClassDefCol LoadClassDefs()
 {
     AllClassesAutoMapper allClassesAutoMapper = new AllClassesAutoMapper(Source);
     return allClassesAutoMapper.Map();
 }
        /// <summary>
        /// Loads one ClassDef for each Type in the <see cref="ITypeSource"/>.
        /// </summary>
        /// <returns></returns>
        public ClassDefCol LoadClassDefs()
        {
            AllClassesAutoMapper allClassesAutoMapper = new AllClassesAutoMapper(Source);

            return(allClassesAutoMapper.Map());
        }