Пример #1
0
        public async Task OnModeChangedAsync(PhotoControlMode newMode)
        {
            switch (newMode)
            {
            case PhotoControlMode.Unauthorised:
                break;

            case PhotoControlMode.Grid:
                await this.StartListeningForFiltersAsync();

                break;

            case PhotoControlMode.Capture:
                await this.StartListeningForCheeseAsync();

                break;

            default:
                break;
            }
        }
Пример #2
0
 public async Task OnModeChangedAsync(PhotoControlMode newMode)
 {
   switch (newMode)
   {
     case PhotoControlMode.Unauthorised:
       break;
     case PhotoControlMode.Grid:
       await this.StartListeningForFiltersAsync();
       break;
     case PhotoControlMode.Capture:
       await this.StartListeningForCheeseAsync();
       break;
     default:
       break;
   }
 }