Example #1
0
 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));
 }