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.

Required fields*

4
  • It seems there is also the requirement to "switch grabbing off and on". Using a wrapper like this, we can do that, too. (That's what I mean => public void StopCamera(int id) // Just stopping not removing ) Commented Jun 24 at 6:40
  • 1
    @Fildor didn't even notice that requirement in the question, but yes, you're right. The wrapper can handle that. Commented Jun 24 at 6:46
  • so OP needs to maintain a List<MyCamera> on top of List<Camera> or do we need to expose a property Camera Instance? Commented Jun 24 at 7:21
  • 1
    @IvanPetrov suely not both - a List<MyCamera> and a List<Camera>. But we don't know for sure as it's unclear how and where cameras are created. Commented Jun 24 at 7:40