Ejemplo n.º 1
0
        public static Task <QueryResult <TObject> > GetBoomiObjectsAsync <TObject, TBuilder>(
            this BoomiClient client,
            Func <TBuilder, IExpression> expressionBuilder)
            where TBuilder : IExpressionBuilder <TObject>, new()
            where TObject : IBoomiObject, ICanQuery
        {
            var builder    = new TBuilder();
            var expression = expressionBuilder(builder);
            var response   = client.GetBoomiObjectsAsync <TObject>(expression);

            return(response);
        }
 public static Task <QueryResult <BoomiObjects.Environment> > GetEnvironmentsAsync(
     this BoomiClient client,
     Func <EnvironmentExpressionBuilder, IExpression> expressionBuilder)
 {
     return(client.GetBoomiObjectsAsync <BoomiObjects.Environment, EnvironmentExpressionBuilder>(expressionBuilder));
 }
 public static Task <QueryResult <BoomiObjects.Environment> > GetEnvironmentsAsync(this BoomiClient client)
 {
     return(client.GetBoomiObjectsAsync <BoomiObjects.Environment>());
 }
Ejemplo n.º 4
0
 public static IObservable <T[]> GetBoomiObjectsAsync <T>(this BoomiClient client, IExpression expression)
     where T : IBoomiObject, ICanQuery
 {
     return(GetBoomiObjectsObservable_Internal(client, client.GetBoomiObjectsAsync <T>(expression)));
 }
 public static Task <QueryResult <ComponentAtomAttachment> > GetComponentAtomAttachmentsAsync(
     this BoomiClient client,
     Func <ComponentAtomAttachmentExpressionBuilder, IExpression> expressionBuilder)
 {
     return(client.GetBoomiObjectsAsync <ComponentAtomAttachment, ComponentAtomAttachmentExpressionBuilder>(expressionBuilder));
 }
 public static Task <QueryResult <ComponentAtomAttachment> > GetComponentAtomAttachmentsAsync(this BoomiClient client)
 {
     return(client.GetBoomiObjectsAsync <ComponentAtomAttachment>());
 }
 public static Task <QueryResult <ProcessSchedules> > GetProcessSchedulesAsync(
     this BoomiClient client,
     Func <ProcessSchedulesExpressionBuilder, IExpression> expressionBuilder)
 {
     return(client.GetBoomiObjectsAsync <ProcessSchedules, ProcessSchedulesExpressionBuilder>(expressionBuilder));
 }
Ejemplo n.º 8
0
 public static Task <QueryResult <EnvironmentMapExtensionsSummary> > GetEnvironmentMapExtensionsSummarysAsync(
     this BoomiClient client,
     Func <EnvironmentMapExtensionsSummaryExpressionBuilder, IExpression> expressionBuilder)
 {
     return(client.GetBoomiObjectsAsync <EnvironmentMapExtensionsSummary, EnvironmentMapExtensionsSummaryExpressionBuilder>(expressionBuilder));
 }
Ejemplo n.º 9
0
 public static Task <QueryResult <ListenerStatus> > GetListenerStatusesAsync(
     this BoomiClient client,
     Func <ListenerStatusExpressionBuilder, IExpression> expressionBuilder)
 {
     return(client.GetBoomiObjectsAsync <ListenerStatus, ListenerStatusExpressionBuilder>(expressionBuilder));
 }
Ejemplo n.º 10
0
 public static Task <QueryResult <Atom> > GetAtomsAsync(
     this BoomiClient client,
     Func <AtomExpressionBuilder, IExpression> expressionBuilder)
 {
     return(client.GetBoomiObjectsAsync <Atom, AtomExpressionBuilder>(expressionBuilder));
 }
Ejemplo n.º 11
0
 public static Task <QueryResult <Atom> > GetAtomsAsync(this BoomiClient client)
 {
     return(client.GetBoomiObjectsAsync <Atom>());
 }
 public static Task <QueryResult <Process> > GetProcessesAsync(this BoomiClient client)
 {
     return(client.GetBoomiObjectsAsync <Process>());
 }
Ejemplo n.º 13
0
 public static Task <QueryResult <Deployment> > GetDeploymentsAsync(
     this BoomiClient client,
     Func <DeploymentExpressionBuilder, IExpression> expressionBuilder)
 {
     return(client.GetBoomiObjectsAsync <Deployment, DeploymentExpressionBuilder>(expressionBuilder));
 }
Ejemplo n.º 14
0
 public static Task <QueryResult <Deployment> > GetDeploymentsAsync(this BoomiClient client)
 {
     return(client.GetBoomiObjectsAsync <Deployment>());
 }