Skip to content

VfsConnectionFactory ​

Namespace: MJCZone.MediaMatic.AspNetCore.Factories

Assembly: MJCZone.MediaMatic.AspNetCore

Summary ​

Default implementation of IDbConnectionFactory that creates provider-specific database connections.

Inheritance ​

Implemented Interfaces:

sealed public

Contents ​

Constructors (1) | Methods (5)

Constructors ​

VfsConnectionFactory ​

csharp
VfsConnectionFactory()

Methods ​

CreateConnection ​

Creates a vfs connection for the specified provider and connection string.

csharp
IVfsConnection CreateConnection(string provider, string connectionString)

Parameters ​

  • provider (string) - The vfs provider (e.g., Local, S3, SFTP, Minio, B2, GCP, ZipFile).
  • connectionString (string) - The connection string.

Returns ​

Type: IVfsConnection

A configured database connection.

GetType ​

csharp
GetType()

ToString ​

csharp
ToString()

Equals ​

csharp
Equals()

GetHashCode ​

csharp
GetHashCode()