karelpeeters
07/02/2017, 4:19 PMResource
, and you want to get the list of conditions from it. In the first case you'd get a List<ResourceCondition>
. Maybe that's enough for you, but maybe you actually want/need to know what kind of conditions they are. The second case allows for this, you can have an instance of AltResource<MyCondition>
, and you could get a list from it with type List<MyCondition>
, allowing you to invoke MyCondition
-specific behaviour.