Activate() публичный абстрактный Метод

public abstract Activate ( Thread target ) : void
target Thread
Результат void
Пример #1
0
 public override void ActivateEvent(Mono.Debugger.Event ev)
 {
     if (Process.MainThread.IsStopped)
     {
         ev.Activate(Process.MainThread);
     }
     else
     {
         ThrowNotSupported("Breakpoints can't be changed while the process is running.");
     }
 }
Пример #2
0
 public override void EnableEvent(Mono.Debugger.Event ev, bool enable)
 {
     if (enable)
     {
         ev.Activate(Process.MainThread);
     }
     else
     {
         ev.Deactivate(Process.MainThread);
     }
 }
Пример #3
0
 protected override void Action(ScriptingContext context, Event handle)
 {
     if (!handle.IsActivated && handle.NeedsActivation)
         handle.Activate (context.Interpreter.CurrentThread);
 }