Show / Hide Table of Contents

Class CosmosDbFunctionOptionBuilder<TCommandOuter>

Inheritance
System.Object
CosmosDbFunctionOptionBuilder<TCommandOuter>
Implements
ICosmosDbFunctionOptionBuilder<TCommandOuter>
ICosmosDbFunctionBuilder
IFunctionOptions<ICosmosDbFunctionOptionBuilder<TCommandOuter>, IFunctionOptionsBuilder>
Namespace: FunctionMonkey.Builders
Assembly: FunctionMonkey.dll
Syntax
public class CosmosDbFunctionOptionBuilder<TCommandOuter> : object, ICosmosDbFunctionOptionBuilder<TCommandOuter>, ICosmosDbFunctionBuilder, IFunctionOptions<ICosmosDbFunctionOptionBuilder<TCommandOuter>, IFunctionOptionsBuilder>
Type Parameters
Name Description
TCommandOuter

Constructors

| Improve this Doc View Source

CosmosDbFunctionOptionBuilder(ConnectionStringSettingNames, ICosmosDbFunctionBuilder, CosmosDbFunctionDefinition)

Declaration
public CosmosDbFunctionOptionBuilder(ConnectionStringSettingNames connectionStringSettingNames, ICosmosDbFunctionBuilder underlyingBuilder, CosmosDbFunctionDefinition functionDefinition)
Parameters
Type Name Description
ConnectionStringSettingNames connectionStringSettingNames
ICosmosDbFunctionBuilder underlyingBuilder
FunctionMonkey.Model.CosmosDbFunctionDefinition functionDefinition

Properties

| Improve this Doc View Source

OutputTo

Declaration
public IOutputBindingBuilder<ICosmosDbFunctionOptionBuilder<TCommandOuter>> OutputTo { get; }
Property Value
Type Description
IOutputBindingBuilder<ICosmosDbFunctionOptionBuilder<TCommandOuter>>

Methods

| Improve this Doc View Source

ChangeFeedFunction<TCommand>(String, String, String, String, Boolean, Boolean, Boolean, String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Boolean, String)

Declaration
public ICosmosDbFunctionOptionBuilder<TCommand> ChangeFeedFunction<TCommand>(string collectionName, string databaseName, string leaseCollectionName = "leases", string leaseDatabaseName = null, bool createLeaseCollectionIfNotExists = false, bool startFromBeginning = false, bool convertToPascalCase = false, string leaseCollectionPrefix = null, int? maxItemsPerInvocation = null, int? feedPollDelay = null, int? leaseAcquireInterval = null, int? leaseExpirationInterval = null, int? leaseRenewInterval = null, int? checkpointFrequency = null, int? leasesCollectionThroughput = null, bool trackRemainingWork = true, string remainingWorkCronExpression = "*/1 * * * * *")
Parameters
Type Name Description
System.String collectionName
System.String databaseName
System.String leaseCollectionName
System.String leaseDatabaseName
System.Boolean createLeaseCollectionIfNotExists
System.Boolean startFromBeginning
System.Boolean convertToPascalCase
System.String leaseCollectionPrefix
System.Nullable<System.Int32> maxItemsPerInvocation
System.Nullable<System.Int32> feedPollDelay
System.Nullable<System.Int32> leaseAcquireInterval
System.Nullable<System.Int32> leaseExpirationInterval
System.Nullable<System.Int32> leaseRenewInterval
System.Nullable<System.Int32> checkpointFrequency
System.Nullable<System.Int32> leasesCollectionThroughput
System.Boolean trackRemainingWork
System.String remainingWorkCronExpression
Returns
Type Description
ICosmosDbFunctionOptionBuilder<TCommand>
Type Parameters
Name Description
TCommand
| Improve this Doc View Source

ChangeFeedFunction<TCommand, TCosmosDbErrorHandler>(String, String, String, String, Boolean, Boolean, Boolean, String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Boolean, String)

Declaration
public ICosmosDbFunctionOptionBuilder<TCommand> ChangeFeedFunction<TCommand, TCosmosDbErrorHandler>(string collectionName, string databaseName, string leaseCollectionName = "leases", string leaseDatabaseName = null, bool createLeaseCollectionIfNotExists = false, bool startFromBeginning = false, bool convertToPascalCase = false, string leaseCollectionPrefix = null, int? maxItemsPerInvocation = null, int? feedPollDelay = null, int? leaseAcquireInterval = null, int? leaseExpirationInterval = null, int? leaseRenewInterval = null, int? checkpointFrequency = null, int? leasesCollectionThroughput = null, bool trackRemainingWork = true, string remainingWorkCronExpression = "*/1 * * * * *")
    where TCosmosDbErrorHandler : ICosmosDbErrorHandler
Parameters
Type Name Description
System.String collectionName
System.String databaseName
System.String leaseCollectionName
System.String leaseDatabaseName
System.Boolean createLeaseCollectionIfNotExists
System.Boolean startFromBeginning
System.Boolean convertToPascalCase
System.String leaseCollectionPrefix
System.Nullable<System.Int32> maxItemsPerInvocation
System.Nullable<System.Int32> feedPollDelay
System.Nullable<System.Int32> leaseAcquireInterval
System.Nullable<System.Int32> leaseExpirationInterval
System.Nullable<System.Int32> leaseRenewInterval
System.Nullable<System.Int32> checkpointFrequency
System.Nullable<System.Int32> leasesCollectionThroughput
System.Boolean trackRemainingWork
System.String remainingWorkCronExpression
Returns
Type Description
ICosmosDbFunctionOptionBuilder<TCommand>
Type Parameters
Name Description
TCommand
TCosmosDbErrorHandler
| Improve this Doc View Source

Options(Action<IFunctionOptionsBuilder>)

Declaration
public ICosmosDbFunctionOptionBuilder<TCommandOuter> Options(Action<IFunctionOptionsBuilder> options)
Parameters
Type Name Description
Action<IFunctionOptionsBuilder> options
Returns
Type Description
ICosmosDbFunctionOptionBuilder<TCommandOuter>
| Improve this Doc View Source

OutputBindingConverter<TConverter>()

Declaration
public ICosmosDbFunctionOptionBuilder<TCommandOuter> OutputBindingConverter<TConverter>()
    where TConverter : IOutputBindingConverter
Returns
Type Description
ICosmosDbFunctionOptionBuilder<TCommandOuter>
Type Parameters
Name Description
TConverter

Implements

ICosmosDbFunctionOptionBuilder<TCommand>
ICosmosDbFunctionBuilder
IFunctionOptions<TParentBuilder, TFunctionOptionsBuilder>

Extension Methods

OpenApiFluentValidationHelper.IsNumeric(Object)
OpenApiFluentValidationHelper.NumericToInt(Object)
OpenApiFluentValidationHelper.NumericToDouble(Object)
OpenApiFluentValidationHelper.NumericToDecimal(Object)
  • Improve this Doc
  • View Source
  • 0 Comments
In This Article
  • Constructors
    • CosmosDbFunctionOptionBuilder(ConnectionStringSettingNames, ICosmosDbFunctionBuilder, CosmosDbFunctionDefinition)
  • Properties
    • OutputTo
  • Methods
    • ChangeFeedFunction<TCommand>(String, String, String, String, Boolean, Boolean, Boolean, String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Boolean, String)
    • ChangeFeedFunction<TCommand, TCosmosDbErrorHandler>(String, String, String, String, Boolean, Boolean, Boolean, String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Boolean, String)
    • Options(Action<IFunctionOptionsBuilder>)
    • OutputBindingConverter<TConverter>()
  • Implements
  • Extension Methods
Back to top Copyright © 2018 James Randall