protected UpdatePublicProperty ( System.Action action ) : void | ||
action | System.Action | |
return | void |
protected void UpdatePublicProperty(Action action)
{
#if SILVERLIGHT
if (Deployment.Current.Dispatcher.CheckAccess())
action();
else
Deployment.Current.Dispatcher.BeginInvoke(action);
#else
action(); //TODO: Find alternative to dispatcher
#endif
}
}