Пример #1
0
 public DirectoryContext(Context parent)
 {
     Parent = parent;
     Options.AddRange(new Option[] {
         new Option("Add Directory", new AddDirectoryContext(this)),
         new Option("Remove Directory", new RemoveDirectoryContext(this)),
         new Option("List Directories", new ListDirectoriesContext(this))
     });
 }
Пример #2
0
 public ListenerContext(Context parent)
 {
     Parent = parent;
     Options.AddRange(new Option[] {
         new Option("Add listener", new AddListenerContext(this)),
         new Option("List listener", new ListListenersContext(this)),
         new Option("Remove listener", new RemoveListenerContext(this))
     });
 }
Пример #3
0
 public TrackerHost()
 {
     context = new GeneralContext(this);
     editor.AutoCompleteEvent += delegate {
         // Use this event to allow the tab key to refresh the screen
         Process("__RefreshTheScreen__");
         return null;
     };
 }
Пример #4
0
 public AddListenerContext(Context parent)
 {
     Parent = parent;
 }
Пример #5
0
 public Option(string description, Context context, params string[] activators)
 {
     this.activators = new List<string>(activators);
     this.context = context;
     this.description = description;
 }
Пример #6
0
 public StatisticsContext(Context parent)
 {
     Parent = parent;
 }
Пример #7
0
 public ListListenersContext(Context parent)
 {
     Parent = parent;
 }
Пример #8
0
 public RemoveListenerContext(Context parent)
 {
     Parent = parent;
 }
Пример #9
0
 public ListDirectoriesContext(Context parent)
 {
     Parent = parent;
 }
Пример #10
0
 public AddDirectoryContext(Context parent)
 {
     Parent = parent;
 }
Пример #11
0
 public RemoveDirectoryContext(Context parent)
 {
     Parent = parent;
 }