I have such problem : there is some method
private List<int> GetStatusList()
{
return (List<int>)GetValue(getSpecifiedDebtStatusesProperty);
}
To invoke it in main thread - I use
`delegate List<int> ReturnStatusHandler();` ...
this.Dispatcher.Invoke(new ReturnStatusHandler(GetStatusList));
How can I do the same, using lambda expression instead of custom delegate and method?