Exemplo n.º 1
0
 /// <summary>
 /// Gets the boards by filter.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='model'>
 /// The model.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IList <BoardModel> > GetBoardsByFilterAsync(this ISoftheonSwitchboard operations, BoardFilterModel model = default(BoardFilterModel), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetBoardsByFilterWithHttpMessagesAsync(model, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Gets the boards by filter.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='model'>
 /// The model.
 /// </param>
 /// <param name='customHeaders'>
 /// Headers that will be added to request.
 /// </param>
 public static HttpOperationResponse <IList <BoardModel> > GetBoardsByFilterWithHttpMessages(this ISoftheonSwitchboard operations, BoardFilterModel model = default(BoardFilterModel), Dictionary <string, List <string> > customHeaders = null)
 {
     return(operations.GetBoardsByFilterWithHttpMessagesAsync(model, customHeaders, CancellationToken.None).ConfigureAwait(false).GetAwaiter().GetResult());
 }
Exemplo n.º 3
0
 /// <summary>
 /// Gets the boards by filter.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='model'>
 /// The model.
 /// </param>
 public static IList <BoardModel> GetBoardsByFilter(this ISoftheonSwitchboard operations, BoardFilterModel model = default(BoardFilterModel))
 {
     return(operations.GetBoardsByFilterAsync(model).GetAwaiter().GetResult());
 }