Нетрадиционная ориентация ООП
Дверь.Замок.Повернуть(
обычныйКлюч,
обороты: 2,
контекстЗдания: мойДом.мояКвартира.ПолучитьКонтекст());
Встречали подобное в реальной жизни? Я тоже нет.
Дверь.Замок.Повернуть(
обычныйКлюч,
обороты: 2,
контекстЗдания: мойДом.мояКвартира.ПолучитьКонтекст());
<...Text={Binding SourceProperty, Converter={StaticResource SomethingToSomethingElseConverter} ConverterParameter={Binding AnotherSourceProperty}} />
static class exMethods
{
async public static void ThreadSafeUpdate(this System.Windows.Controls.Control @this, Action updateLogic)
{
await @this.Dispatcher.BeginInvoke(updateLogic);
}
}
this.ThreadSafeUpdate(() => this.Visibility = Visibility.Hidden);