BuildIt.UIHelper.RunAsync C# (CSharp) Метод

RunAsync() публичный статический Метод

public static RunAsync ( this context, System.Action action ) : System.Threading.Tasks.Task
context this
action System.Action
Результат System.Threading.Tasks.Task
        public static async Task RunAsync(this IRequiresUIAccess context, Action action)
        {
#pragma warning disable 1998 // Required to force to Task overloaded method
            await context.UIContext.RunAsync(async () => action());
#pragma warning restore 1998
        }

Same methods

UIHelper::RunAsync ( this context, Func action ) : System.Threading.Tasks.Task