internal SetResetEventAwaiterWithTimeout(
        ISetResetEvent mre,
        double timeout)
    {
        Requires.NotNull(
            out this.mre,
            mre,
            nameof(mre));

        tsTimeout = TimeSpan.FromMilliseconds(timeout);
    }
    internal SetResetEventAwaiterWithTimeout(
        ISetResetEvent mre,
        TimeSpan timeout)
    {
        Requires.NotNull(
            out this.mre,
            mre,
            nameof(mre));

        tsTimeout = timeout;
    }
Beispiel #3
0
 internal SetResetEventAwaiter(ISetResetEvent mre) =>