Пример #1
0
 public static async void TestAsyncFactoryMethod()
 {
     AsyncFactoryMethod afm = await AsyncFactoryMethod.CreateAsync();
 }
Пример #2
0
        public static Task <AsyncFactoryMethod> CreateAsync()
        {
            var result = new AsyncFactoryMethod();

            return(result.InitAsync());
        }