Show / Hide Table of Contents

Interface IServiceBusFunctionBuilder

An interface that allows for the configuration of service bus triggered functions

Namespace: FunctionMonkey.Abstractions.Builders
Assembly: FunctionMonkey.Abstractions.dll
Syntax
public interface IServiceBusFunctionBuilder

Methods

| Improve this Doc View Source

QueueFunction<TCommand>(String, Boolean)

Associate a function with the named service bus queue and command type

Declaration
IServiceBusFunctionOptionBuilder<TCommand> QueueFunction<TCommand>(string queueName, bool isSessionEnabled = false)
Parameters
Type Name Description
System.String queueName

The name of the queue

System.Boolean isSessionEnabled

Should session IDs be used when processing the queue, requires a session ID enabled queue. Defaults to false.

Returns
Type Description
IServiceBusFunctionOptionBuilder<TCommand>

A service bus function builder that allows more functions to be created

Type Parameters
Name Description
TCommand

The command type

| Improve this Doc View Source

SubscriptionFunction<TCommand>(String, String, Boolean)

Associate a function with the named topic and subscription and command type

Declaration
IServiceBusFunctionOptionBuilder<TCommand> SubscriptionFunction<TCommand>(string topicName, string subscriptionName, bool isSessionEnabled = false)
Parameters
Type Name Description
System.String topicName

The name of the topic

System.String subscriptionName

The name of the subscription

System.Boolean isSessionEnabled

Should session IDs be used when processing the queue, requires a session ID enabled subscription. Defaults to false.

Returns
Type Description
IServiceBusFunctionOptionBuilder<TCommand>

A service bus function builder that allows more functions to be created

Type Parameters
Name Description
TCommand

The type of the command

Extension Methods

OpenApiFluentValidationHelper.IsNumeric(Object)
OpenApiFluentValidationHelper.NumericToInt(Object)
OpenApiFluentValidationHelper.NumericToDouble(Object)
OpenApiFluentValidationHelper.NumericToDecimal(Object)
  • Improve this Doc
  • View Source
  • 0 Comments
Back to top Copyright © 2018 James Randall