Inheriting from a generic contract in WCF

后端 未结 3 1046
遥遥无期
遥遥无期 2021-01-12 12:13

More WCF woes... :)

All my workflows implement the same 3 methods. After a lot of copy and paste, I decided to make them inherit from the same interface:

<         


        
3条回答
  •  庸人自扰
    2021-01-12 12:42

    "that weird syntax that .NET uses" is actually the type name at runtime for a generic type bound to specific types. Typename`n[[Type],...] where n denotes the number of type arguments contained in your generic type.

    How does your endpoint configuration then look like?

提交回复
热议问题