[
https://issues.apache.org/jira/browse/IGNITE-2122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15057993#comment-15057993
]
Pavel Tupitsyn commented on IGNITE-2122:
----------------------------------------
With your approach of "ICollection<T> ReadCollection" without factory/adder
there WILL be additional action from the user 99% of the time, because, most
likely, user needs some specific collection, like List<>, and we give him
ICollection<>:
* List<Person> persons = reader.ReadCollection().ToList<Person>();
* List<Person> persons = reader.ReadGenericCollection<Person>().ToList()
This kind of generic support is rarely useful and will only confuse users.
> .NET: Add generic Read/WriteCollection and Read/WriteDictionary methods.
> ------------------------------------------------------------------------
>
> Key: IGNITE-2122
> URL: https://issues.apache.org/jira/browse/IGNITE-2122
> Project: Ignite
> Issue Type: Task
> Components: general, interop
> Affects Versions: ignite-1.4
> Reporter: Vladimir Ozerov
> Assignee: Vladimir Ozerov
> Priority: Critical
> Fix For: 1.5
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)