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