public new void RegisterCommand <T>()
 {
     SubCommandTypes.Add(typeof(T));
 }
示例#2
0
 public void RegisterCommand(Type type, Type containerType)
 {
     SubCommandTypes.Add(new Tuple <Type, Type>(type, containerType));
 }
示例#3
0
 public new void RegisterCommand <T, TContainer>()
     where TContainer : IContainerCommand
 {
     SubCommandTypes.Add(new Tuple <Type, Type>(typeof(T), typeof(TContainer)));
 }
示例#4
0
 public new void RegisterCommand(Type type)
 {
     SubCommandTypes.Add(new Tuple <Type, Type>(type, null));
 }
示例#5
0
 public new void RegisterCommand <T>()
 {
     SubCommandTypes.Add(new Tuple <Type, Type>(typeof(T), null));
 }