public static IDuckTypeFactory <object> DuckFactoryAs(this Type source, Type interfaceType) => DuckType.GetFactoryByTypes(interfaceType, source);
public static IDuckTypeFactory <T> DuckFactoryAs <T>(this Type source) where T : class => DuckType.GetFactoryByTypes <T>(source);