public override IEnumerable <AdaptiveBlockContent> GetFinalBlocks()
 {
     if (DetailedBlocks.Count > 0)
     {
         return(DetailedBlocks.SelectMany(i => i.View?.Content?.GetFinalBlocks()));
     }
     else
     {
         return(new AdaptiveBlockContent[] { this });
     }
 }
 public override IEnumerable <BaseAdaptiveBlockElement> GetChildren()
 {
     return(DetailedBlocks.Select(i => i.View?.Content).Where(i => i != null));
 }