常用方法
常用方法
常用方法
常用方法
public ResourceRequest.ResourceRequestChanger GetNextRequestThatWishes(ResourceType resourceType) { return(Requests.FirstOrDefault(resourceRequest => resourceType.CanBeUsedFor(resourceRequest.ResourceRequest.Type) && resourceRequest.ResourceRequest.RequestState == ResourceRequestState.Pending)); }