C# design pattern suggestions

后端 未结 3 727
北海茫月
北海茫月 2021-01-21 02:48

I have a collection of objects. Out of this collection I need to search for an occurrence of an object using a number of conditions. ie.

Search using Condition 1

3条回答
  •  时光说笑
    2021-01-21 03:31

    It feels like a Strategy with a factory of some kind might start you on the right road.

提交回复
热议问题