Beispiel #1
0
 public AstroEvent(double jd, string text, CelestialObject body)
 {
     JulianDay = jd;
     Text      = text;
     Body      = body;
 }
Beispiel #2
0
 public ICollection <string> GetCategories(CelestialObject body)
 {
     return(Items
            .Where(c => (bool?)c.IsAvailable?.DynamicInvoke(body) ?? true)
            .Select(c => c.Category).Distinct().ToArray());
 }