I have this ordinary method:
public static TResult Transform<T, TResult>(this T obj, Func<T, TResult> selector)
I also have these two mapped methods in the Observable class.
public static IValueProvider<TResult> Transform<TSource, TResult>(TSource source, Func<TSource, TResult> selector)
public static IValueProvider<TResult> Transform<TSource, TResult>(TSource source, Func<TSource, IValueProvider<TResult>> selector)
return ObservableGeneric<TSource, TResult>.Transform(source, selector);
If I delete the first mapped method, will Obtics figure out that it can use the ordinary method when there are no live parameters? Or will it always use the second mapped method at that point?
If the first mapped method should not be deleted for performance reasons, is that a good way to write it?
Thanks for your help understanding this.