C# Class Hangfire.Mongo.Tests.Utils.ConnectionUtils

Show file Open project: Trov/Hangfire.Mongo Class Usage Examples

Public Methods

Method Description
CreateConnection ( ) : HangfireDbContext
GetConnectionString ( ) : string
GetDatabaseName ( ) : string

Private Methods

Method Description
GetConnectionStringTemplate ( ) : string

Method Details

CreateConnection() public static method

public static CreateConnection ( ) : HangfireDbContext
return Hangfire.Mongo.Database.HangfireDbContext

GetConnectionString() public static method

public static GetConnectionString ( ) : string
return string

GetDatabaseName() public static method

public static GetDatabaseName ( ) : string
return string