Ejemplo n.º 1
0
 /// <summary>
 /// Gets the <see cref="T:System.Collections.Generic.IEnumerable{TcmCDService.Contracts.ComponentPresentation}" /> of matched components
 /// </summary>
 /// <param name="brokerQuery"><see cref="T:TcmCDService.Contracts.BrokerQuery" /></param>
 /// <returns>
 ///   <see cref="T:System.Collections.Generic.IEnumerable{TcmCDService.Contracts.ComponentPresentation}" />
 /// </returns>
 public static IEnumerable <Contracts.ComponentPresentation> ExecutePresentations(Contracts.BrokerQuery brokerQuery)
 {
     return(RemoteAPI.Execute <IEnumerable <Contracts.ComponentPresentation> >((client) =>
                                                                               client.Service.BrokerQueryPresentations(brokerQuery), 1));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Gets the <see cref="T:System.Collections.Generic.IEnumerable{System.String}" /> of matched component uris
 /// </summary>
 /// <param name="brokerQuery"><see cref="T:TcmCDService.Contracts.BrokerQuery" /></param>
 /// <returns>
 ///   <see cref="T:System.Collections.Generic.IEnumerable{System.String}" />
 /// </returns>
 public static IEnumerable <String> Execute(Contracts.BrokerQuery brokerQuery)
 {
     return(RemoteAPI.Execute <IEnumerable <String> >((client) =>
                                                      client.Service.BrokerQuery(brokerQuery), 1));
 }