Class MorpheoBlobExtensions
Extension methods for configuring blob storage.
Inherited Members
Namespace: Morpheo.Core.Extensions
Assembly: Morpheo.Core.dll
Syntax
public static class MorpheoBlobExtensions
Methods
| Edit this page View SourceAddBlobStore(IMorpheoBuilder, string?)
Adds a file system-based blob store to the DI container.
Declaration
public static IMorpheoBuilder AddBlobStore(this IMorpheoBuilder builder, string? path = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IMorpheoBuilder | builder | The Morpheo builder. |
| string | path | The root directory for storing blobs. Defaults to 'storage/blobs'. |
Returns
| Type | Description |
|---|---|
| IMorpheoBuilder | The Morpheo builder. |