TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sharp C
NA
11
1.3k
Poco or expandoobject or dictionary for return result
Oct 14 2019 12:25 AM
In my project, I have a win form project for UI, a class library called models which include all my poco. In the winform project, I m having a mef import which expecting 3rd party plugins to export "function List < Product >> GetProducts " I my common library, the Product class contain about 200 properties, but not all properties can be provided by 3rd party plugins, some if them may only fullfil 20% of properties when call Get Products, in this case, should my GetProducts function return the poco with 200 properties, or should I use dictionary or expandoobject as return type so that 3rd party plugins can provide only info they have?
Reply
Answers (
0
)
How to display loading image while page is loading
Websocket sendasync response from request