Exemplo n.º 1
0
            public Awaiter(AsyncConditionSource condition)
            {
                if (condition == null)
                {
                    throw new ArgumentNullException(nameof(condition), "condition != null");
                }

                this.conditionSource = condition;
            }
Exemplo n.º 2
0
        public AsyncConditionVariable(AsyncConditionSource source)
        {
            if (source == null)
            {
                throw new ArgumentNullException(nameof(source), "source != null");
            }

            this.source = source;
        }