Пример #1
0
        public async Task ExecuteAsync(AwaitableDelegateCommandParameter p = null)
        {
            string appKey = null;

            InternalExecute(p, out appKey);
            if (appKey == null)
            {
                throw new InvalidOperationException("unexpected execution key");
            }
            await AwaitByKey(appKey);
        }
		public async Task ExecuteAsync(AwaitableDelegateCommandParameter p = null)
		{

			string appKey = null;
			InternalExecute(p, out appKey);
			if (appKey == null)
			{
				throw new InvalidOperationException("unexpected execution key");
			}
			await AwaitByKey(appKey);

		}