public DispatcherTimer(TimeSpan interval, DispatcherPriority priority, EventHandler callback, Dispatcher dispatcher) { this.priority = priority; this.Dispatcher = dispatcher; this.Interval = interval; this.Tick += callback; }
internal DispatcherOperation(Dispatcher dis, DispatcherPriority prio, Delegate d, object arg) : this(dis, prio) { this.delegateMethod = d; this.delegateArgs = new object[1]; this.delegateArgs[0] = arg; }
internal DispatcherOperation(Dispatcher dis, DispatcherPriority prio, Delegate d, object arg, object[] args) : this(dis, prio) { this.delegateMethod = d; this.delegateArgs = new object[args.Length + 1]; this.delegateArgs[0] = arg; Array.Copy(args, 1, this.delegateArgs, 0, args.Length); }
internal DispatcherOperation(Dispatcher dis, DispatcherPriority prio) { this.dispatcher = dis; this.priority = prio; if (this.Dispatcher.HasShutdownFinished) { this.status = DispatcherOperationStatus.Aborted; } else { this.status = DispatcherOperationStatus.Pending; } }
public FileSystemProject(bool useDispatcher) { Folders = new ObservableCollection<IProjectFolder>(); SourceFiles = new List<ISourceFile>(); ToolchainSettings = new ExpandoObject(); DebugSettings = new ExpandoObject(); Project = this; if (useDispatcher) { uiDispatcher = Dispatcher.UIThread; } }
public DispatcherTimer(DispatcherPriority priority, Dispatcher dispatcher) { this.priority = priority; this.Dispatcher = dispatcher; }
internal DispatcherEventArgs(Dispatcher dispatcher) { this.dispatcher = dispatcher; }
internal DispatcherHooks(Dispatcher owner) { this.owner = owner; }
internal DispatcherUnhandledExceptionEventArgs(Dispatcher dispatcher, Exception exception) : base(dispatcher) { this.exception = exception; }
internal DispatcherOperation(Dispatcher dis, DispatcherPriority prio, Delegate d) : this(dis, prio) { this.delegateMethod = d; }