假设我有一个扩展方法。
public static string DoSomething(this IInterfaceA @this) ...
Run Code Online (Sandbox Code Playgroud)
和
public static string DoSomething(this IInterfaceB @this) ...
Run Code Online (Sandbox Code Playgroud)
但是如果我有一个实现两个接口的类,对于扩展库,是否有可能指出它应该更喜欢哪一个?