Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • 2
    The problem with this answer is it would require the author to anticipate every action the client wants to do an it would greatly increase the number of methods on the class. Commented Jul 10, 2014 at 14:37
  • @dkatzel It depends on whether the end users is the author or someone they work with. If the end users are unknowable, then you need a more general solution. You might still want to limit access to the underlying collection. Commented Jul 10, 2014 at 18:41