示例#1
0
 /// <summary>
 /// Creates a <see cref="TypeMapper"/> object from the specified type.
 /// </summary>
 /// <param name="type">The type.</param>
 /// <returns>A <see cref="TypeMapper"/> object.</returns>
 public static TypeMapper Create(Type type)
 {
     var typeMapper = new TypeMapper { Type = type };
     typeMapper.Analyze();
     return typeMapper;
 }