Is it possible to have such a method in a WCF service contract and call it from a SOAP client?
TContentType GetTopics<TContentType>() where TContentType : ContentItem
I think generics are serializable, so maybe this only depends on whether the client supports them? Thoughts?
No, the actual OperationContract should be about a specific type. You can get such a generic video, but not publish it directly.
You also cannot use overloading.
Source: https://habr.com/ru/post/1787286/More articles:News Articles: Writing to a server without PHP? - javafacebook as ajax in yii zii widget list - ajaxConverting a sum to an aggregated product expression - c #JTable, RowSorter, данные getSelectedRow - javaInstall argc / argv and enable PHP CLI script - phpКонструктор Foo:: Foo получает ссылку на Foo, но не copy-constructor - c++Set anonymous type to null - c #SQL Server CE 4.0 with SQLmetal - .netAvoiding circular dependencies in Django applications - djangoget list of online users in asp.net mvc - asp.netAll Articles