Hallo Leute,
wer kann mir die Codezeile
nach VS2013 umschreiben.
SampleCode für Prism6 (Window Pop Up Notification)
FinishInteraction ist ein Property vom Typ Action. Was bedeutet das "?" in diesem Code ?
Ich vermute, das ist VS2017 Syntax ?
Danke für Eure Hilfe.
wer kann mir die Codezeile
Code:
FinishInteraction?.Invoke(); //(VS 2017 c#)
nach VS2013 umschreiben.
SampleCode für Prism6 (Window Pop Up Notification)
Code:
private void AcceptSelectedItem()
{
_notification.SelectedItem = SelectedItem;
_notification.Confirmed = true;
FinishInteraction?.Invoke();
}
FinishInteraction ist ein Property vom Typ Action. Was bedeutet das "?" in diesem Code ?
Ich vermute, das ist VS2017 Syntax ?
Danke für Eure Hilfe.
Zuletzt bearbeitet: