public bool Equals(Type type) { return this == type; }
public static Conversion GetDirect(Type @from, Type to, ITypeMapper typeMapper) { if (to.Equals(from)) { return(new Direct(typeMapper)); } return(new Invalid(typeMapper)); }