Ejemplo n.º 1
0
 public MenuNode this[string parentKey]
 {
     set
     {
         var registration = new MenuRegistration(new AddBefore(), new ByName(parentKey), value);
         _registry._registrations.Add(registration);
     }
 }
Ejemplo n.º 2
0
 public MenuNode this[StringToken parentKey]
 {
     set
     {
         var registration = new MenuRegistration(new AddBefore(), new Literal(parentKey), value);
         _registry._registrations.Add(registration);
     }
 }
Ejemplo n.º 3
0
 public MenuNode this[string parentKey]
 {
     set
     {
         var registration = new MenuRegistration(new AddBefore(), new ByName(parentKey), value);
         _registry._registrations.Add(registration);
     }
 }
Ejemplo n.º 4
0
 public MenuNode this[StringToken parentKey]
 {
     set
     {
         var registration = new MenuRegistration(new AddBefore(), new Literal(parentKey), value);
         _registry._registrations.Add(registration);
     }
 }
Ejemplo n.º 5
0
        public void AddChildNode(StringToken parent, MenuNode node)
        {
            var registration = new MenuRegistration(new AddChild(), new Literal(parent), node);

            _registrations.Add(registration);
        }
Ejemplo n.º 6
0
 public void AddChildNode(StringToken parent, MenuNode node)
 {
     var registration = new MenuRegistration(new AddChild(), new Literal(parent), node);
     _registrations.Add(registration);
 }