Example #1
0
 bool IsHated(Resource resource)
 {
     return(HatedThings.Any(tags => resource.Tags.Contains(tags)));
 }
Example #2
0
 bool IsHated(ResourceLibrary.ResourceType resource)
 {
     return(HatedThings.Any(tags => ResourceLibrary.GetResourceByName(resource).Tags.Contains(tags)));
 }