public IEnumerable <Security> GetSubscribers(DataType dataType) { return(Subscriptions .Where(s => s.DataType == dataType && s.State.IsActive()) .Select(s => _connector.TryGetSecurity(s.SecurityId)) .Where(s => s != null)); }
public IEnumerable <Security> GetSubscribers(DataType dataType) { return(Subscriptions .Where(s => s.DataType == dataType && s.State.IsActive()) .Select(s => _connector.TryGetSecurity(s.SecurityId)) .Where(s => s != null)); }