AwesomeSauce.Configuration.Views.IndexViewPolicy.FindChainsWithoutViews C# (CSharp) Метод

FindChainsWithoutViews() приватный Метод

private FindChainsWithoutViews ( BehaviorGraph graph, FubuMVC.Core.View.Attachment.ViewBag bag ) : IEnumerable
graph BehaviorGraph
bag FubuMVC.Core.View.Attachment.ViewBag
Результат IEnumerable
        IEnumerable<BehaviorChain> FindChainsWithoutViews(BehaviorGraph graph, ViewBag bag)
        {
            return from b in graph.Behaviors
                   where b.ActionOutputType() != null
                         && b.ActionOutputType().Closes(typeof(RestfulIndexModel<>))
                   let output = b.ActionOutputType()
                   where !bag.ViewsFor(output).Any()
                   select b;
        }