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

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