/// <summary> /// Initializes a new instance of the SNEKPrepService class. /// </summary> /// <param name='rootHandler'> /// Optional. The http client handler used to handle http transport. /// </param> /// <param name='handlers'> /// Optional. The set of delegating handlers to insert in the http /// client pipeline. /// </param> public SNEKPrepService(HttpClientHandler rootHandler, params DelegatingHandler[] handlers) : base(rootHandler, handlers) { this._conference = new Conference(this); this._sessions = new Sessions(this); this._speakers = new Speakers(this); this._baseUri = new Uri("https://snekprepservice.azurewebsites.net"); }
/// <param name='operations'> /// Reference to the MyUniversalWindows10App.ISpeakers. /// </param> /// <param name='speaker'> /// Required. /// </param> public static object Post(this ISpeakers operations, Speaker speaker) { return(Task.Factory.StartNew((object s) => { return ((ISpeakers)s).PostAsync(speaker); } , operations, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default).Unwrap().GetAwaiter().GetResult()); }
/// <summary> /// Initializes a new instance of the SNEKPrepService class. /// </summary> public SNEKPrepService() : base() { this._conference = new Conference(this); this._sessions = new Sessions(this); this._speakers = new Speakers(this); this._baseUri = new Uri("https://snekprepservice.azurewebsites.net"); }
/// <param name='operations'> /// Reference to the MyUniversalWindows10App.ISpeakers. /// </param> /// <param name='id'> /// Required. /// </param> public static Speaker GetById(this ISpeakers operations, int id) { return(Task.Factory.StartNew((object s) => { return ((ISpeakers)s).GetByIdAsync(id); } , operations, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default).Unwrap().GetAwaiter().GetResult()); }
/// <param name='operations'> /// Reference to the MyUniversalWindows10App.ISpeakers. /// </param> /// <param name='searchTerm'> /// Required. /// </param> public static IList <Speaker> GetBySearchTerm(this ISpeakers operations, string searchTerm) { return(Task.Factory.StartNew((object s) => { return ((ISpeakers)s).GetBySearchTermAsync(searchTerm); } , operations, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default).Unwrap().GetAwaiter().GetResult()); }
public SpeakersPageViewModel(ISpeakers speakers, INavigationService navigationService) { _speakers = speakers; _navigationService = navigationService; Speakers = new ObservableCollection <Grouping <string, Speaker> >(); Title = "Sprecher"; ShowSpeaker = new DelegateCommand <Speaker>(ShowSpeakerExecute); PropertyChanged += OnPropertyChanged; }
public TimeslotsPageViewModel(ITimeslots timeslots, ISpeakers speakers, INavigationService navigationService) { _timeslots = timeslots; _speakers = speakers; _navigationService = navigationService; Title = "Programm"; Timeslots = new ObservableCollection <Grouping <string, Timeslot> >(); ShowTimeslot = new DelegateCommand <Timeslot>(ShowTimeslotExecute); PropertyChanged += OnPropertyChanged; }
public Sessions(ISlots slots, IRooms rooms, ISpeakers speakers) { _slots = slots; _rooms = rooms; _speakers = speakers; }
public Laptop AddSpeakers(ISpeakers speakers) { _speakers = speakers; return(this); }
public SoundSystem(ISpeakers logitech, ICdPlayer pionner) { this.logitech = logitech; this.pionner = pionner; }
public Timeslots(ISpeakers speakers) { _speakers = speakers; }
/// <param name='operations'> /// Reference to the MyUniversalWindows10App.ISpeakers. /// </param> /// <param name='id'> /// Required. /// </param> /// <param name='cancellationToken'> /// Cancellation token. /// </param> public static async Task <Speaker> GetByIdAsync(this ISpeakers operations, int id, CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Microsoft.Rest.HttpOperationResponse <MyUniversalWindows10App.Models.Speaker> result = await operations.GetByIdWithOperationResponseAsync(id, cancellationToken).ConfigureAwait(false); return(result.Body); }
/// <param name='operations'> /// Reference to the MyUniversalWindows10App.ISpeakers. /// </param> /// <param name='cancellationToken'> /// Cancellation token. /// </param> public static async Task <IList <Speaker> > GetAsync(this ISpeakers operations, CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Microsoft.Rest.HttpOperationResponse <System.Collections.Generic.IList <MyUniversalWindows10App.Models.Speaker> > result = await operations.GetWithOperationResponseAsync(cancellationToken).ConfigureAwait(false); return(result.Body); }
/// <param name='operations'> /// Reference to the MyUniversalWindows10App.ISpeakers. /// </param> /// <param name='id'> /// Required. /// </param> /// <param name='cancellationToken'> /// Cancellation token. /// </param> public static async Task <object> DeleteAsync(this ISpeakers operations, int id, CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Microsoft.Rest.HttpOperationResponse <object> result = await operations.DeleteWithOperationResponseAsync(id, cancellationToken).ConfigureAwait(false); return(result.Body); }