Removed unnecessary using.
This commit is contained in:
parent
0b1d513f50
commit
5c8ad72a5e
@ -9,7 +9,6 @@ using System.Threading;
|
|||||||
using ApplicationServices;
|
using ApplicationServices;
|
||||||
using DataLayer;
|
using DataLayer;
|
||||||
using Dinah.Core.Drawing;
|
using Dinah.Core.Drawing;
|
||||||
using Dinah.Core.Windows.Forms;
|
|
||||||
|
|
||||||
namespace LibationWinForms
|
namespace LibationWinForms
|
||||||
{
|
{
|
||||||
@ -84,8 +83,7 @@ namespace LibationWinForms
|
|||||||
protected void NotifyPropertyChanged([CallerMemberName] string propertyName = "")
|
protected void NotifyPropertyChanged([CallerMemberName] string propertyName = "")
|
||||||
=> SyncContext.Post(
|
=> SyncContext.Post(
|
||||||
args => OnPropertyChangedAsync(args as AsyncCompletedEventArgs),
|
args => OnPropertyChangedAsync(args as AsyncCompletedEventArgs),
|
||||||
new AsyncCompletedEventArgs(null, false, new PropertyChangedEventArgs(propertyName))
|
new AsyncCompletedEventArgs(null, false, new PropertyChangedEventArgs(propertyName)));
|
||||||
);
|
|
||||||
|
|
||||||
private void OnPropertyChangedAsync(AsyncCompletedEventArgs e) =>
|
private void OnPropertyChangedAsync(AsyncCompletedEventArgs e) =>
|
||||||
PropertyChanged?.Invoke(this, e.UserState as PropertyChangedEventArgs);
|
PropertyChanged?.Invoke(this, e.UserState as PropertyChangedEventArgs);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user