Beispiel #1
0
        static IEnumerator Wait <T>(T operation, IResolvable <T> task)
        {
            yield return(operation);

            _operations.Remove(operation);
            task.Resolve(operation);
        }
Beispiel #2
0
        public static T Resolve <T>(this IResolvable resolvable, params Parameter[] additionalParameters)
        {
            if (resolvable == null)
            {
                throw new ArgumentNullException("resolvable");
            }

            return((T)resolvable.Resolve(typeof(T), additionalParameters));
        }
Beispiel #3
0
 public Address Resolve() => Addr((U16)((U16)_addr.Resolve() >> _shiftAmt));
Beispiel #4
0
 public Address Resolve() => Addr((U16)(_addr.Resolve() + _offset));
Beispiel #5
0
 public U8 Resolve() => _byte.Resolve() + _offset;