Interface IMediaStorageService
Summary description for IMediaStorageService.
Namespace: ImageVault.Core.Common.Services
Assembly: ImageVault.Core.dll
Syntax
public interface IMediaStorageService
Methods
GetMediaStorage(Int32)
Gets the IMediaStorage for the requested storageTypeId
Declaration
IMediaStorage GetMediaStorage(int storageTypeId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | storageTypeId |
Returns
Type | Description |
---|---|
IMediaStorage |
GetMediaStorageTypeId(Type)
Gets the id of the MediaStorageType
Declaration
[Obsolete("ImageVault supports multiple registrations of media storage types, this method is no longer recommended.")]
int? GetMediaStorageTypeId(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type |
Returns
Type | Description |
---|---|
System.Nullable<System.Int32> |
UpdateSettings(Int32, String)
Update the settings for a specific Media Storage
Declaration
void UpdateSettings(int mediaStorageTypeId, string settings)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | mediaStorageTypeId | Id of the media storage type you would like to update the settings for |
System.String | settings | The settings to write |