コード例 #1
0
        async Task AddAsync(Type animalType)
        {
            Animal a = (Animal)Activator.CreateInstance(animalType);

            this.Zoo.Add(a);

            await this.Navigation.PopAsync();

            await CompletionCallback?.Invoke();
        }