Torna al Thread

public Task Initialization { get; private set; } public MainWindow() { InitializeComponent(); // per mettere codice asincrono nel costruttore ci sono regole da seguire // esistono varie tecniche, alcune spiegate qui: http://blog.stephencleary.com/2013/01/async-oop-2-constructors.html Initialization = LoadDataAsync(); }
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5