Created
December 20, 2017 18:05
-
-
Save ionixjunior/87fd41c6e8b68960f8cf23b7c767915c to your computer and use it in GitHub Desktop.
Teste de construtor assíncrono
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Core | |
{ | |
public class YourClass | |
{ | |
private Task _taskInitAsync; | |
public YourClass() | |
{ | |
_taskInitAsync = TaskInitAsync(); | |
} | |
private async Task TaskInitAsync() | |
{ | |
... | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment