Class PostgreSqlHostApplicationBuilderExtensions
Inheritance
System.Object
PostgreSqlHostApplicationBuilderExtensions
Namespace: Steeltoe.Connectors.PostgreSql
Assembly: Steeltoe.Connectors.dll
Syntax
csharp
public static class PostgreSqlHostApplicationBuilderExtensions : object
Methods
| Edit this page View SourceAddPostgreSql(IHostApplicationBuilder)
Registers a ConnectorFactory<TOptions, TConnection> (with type parameters Postgre
Declaration
csharp
public static IHostApplicationBuilder AddPostgreSql(this IHostApplicationBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
IHost |
builder | The |
Returns
Type | Description |
---|---|
IHost |
The incoming |
AddPostgreSql(IHostApplicationBuilder, Nullable<Action<ConnectorConfigureOptionsBuilder>>, Nullable<Action<ConnectorAddOptionsBuilder>>)
Registers a ConnectorFactory<TOptions, TConnection> (with type parameters Postgre
Declaration
csharp
public static IHostApplicationBuilder AddPostgreSql(this IHostApplicationBuilder builder, Action<ConnectorConfigureOptionsBuilder>? configureAction, Action<ConnectorAddOptionsBuilder>? addAction)
Parameters
Type | Name | Description |
---|---|---|
IHost |
builder | The |
System. |
configureAction | An optional delegate to configure configuration of this connector. |
System. |
addAction | An optional delegate to configure this connector. |
Returns
Type | Description |
---|---|
IHost |
The incoming |