阅读背景:

查找Interface实例后面的具体类型

来源:互联网 

To cut a long story short I have a C# function that performs a task on a given Type that is passed in as an Object instance. All works fine when a class instance is passed in. However, when the object is declared as an interface I'd really like to find the concrete class and perform the action upon that class type.To cut a long story short I have a C# function




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: