Example #1
0
        public NavigationGraph(Action<NavigationRegistry> configure)
        {
            var registry = new NavigationRegistry();
            configure(registry);

            registry.Configure(this);
        }
Example #2
0
        public NavigationGraph(Action <NavigationRegistry> configure)
        {
            var registry = new NavigationRegistry();

            configure(registry);

            registry.Configure(this);
        }
 public void SetUp()
 {
     registry = new NavigationRegistry();
     _graph = new Lazy<NavigationGraph>(() =>
     {
         return BehaviorGraph.BuildFrom(x =>
         {
             x.Actions.IncludeType<Controller1>();
             x.Navigation(registry);
         }).Settings.Get<NavigationGraph>();
     });
 }
Example #4
0
 public AddExpression(NavigationRegistry parent)
 {
     _parent = parent;
 }
Example #5
0
 public InsertBeforeExpression(NavigationRegistry registry)
 {
     _registry = registry;
 }
Example #6
0
 public InsertAfterExpression(NavigationRegistry registry)
 {
     _registry = registry;
 }
Example #7
0
 public InsertBeforeExpression(NavigationRegistry registry)
 {
     _registry = registry;
 }
Example #8
0
 public AddExpression(NavigationRegistry parent)
 {
     _parent = parent;
 }
Example #9
0
 public InsertAfterExpression(NavigationRegistry registry)
 {
     _registry = registry;
 }