public ConfigurationTypeTag(string configurationType, ConfigGraph graph) : base("div")
        {
            Add("a").Id(configurationType);
            Add("h2").Text(configurationType).Style("margin-bottom", "10px");
            

            graph.ActionsFor(configurationType).Each(action => {
                var desc = Description.For(action);
                var body = new DescriptionBodyTag(desc);
                body.Children.Insert(0, new HtmlTag("h4").Text(desc.Title));

                Append(body);
                Add("hr");
            });
        }
Exemple #2
0
 public void ImportGlobals(ConfigGraph config)
 {
     Global.Explicits.Import(config.Global.Explicits);
     Global.Policies.Import(config.Global.Policies);
     Global.Reordering.Import(config.Global.Reordering);
 }
Exemple #3
0
 private static void applySettings(ConfigGraph config, BehaviorGraph graph)
 {
     config.Imports.Each(x => x.InitializeSettings(graph));
     config.Settings.Each(x => x.Alter(graph.Settings));
     graph.Settings.Alter <ConnegSettings>(x => x.Graph = ConnegGraph.Build(graph));
 }
Exemple #4
0
 public void WriteTo(ConfigGraph ConfigGraph)
 {
     _actions.Each(x => x(ConfigGraph));
 }
 public ConventionsFubuDiagnostics(ConfigGraph graph)
 {
     _graph = graph;
 }