Action无返回值
Func<TResult>有返回值
使用:
Action act = delegate
{
//Do somthing
} ;
this.Dispatcher.BeginInvoke(DispatcherPriority.Noraml, act);
Powered by: 博客园 Copyright © 2024 mrfangzheng Powered by .NET 8.0 on Kubernetes