예제 #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
파일: TrackerHost.cs 프로젝트: mono/tsunami
 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
파일: Option.cs 프로젝트: mono/tsunami
 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;
 }