Class PublicDiskStorageProvider
Implements
System.ICloneable
Inherited Members
Namespace: Mediachase.BusinessFoundation.Blob
Assembly: Mediachase.BusinessFoundation.dll
Version: 10.8.0Syntax
public class PublicDiskStorageProvider : DiskBlobStorageProvider, ICloneable
Constructors
PublicDiskStorageProvider()
Declaration
public PublicDiskStorageProvider()
Methods
Clone()
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
System.Object |
Overrides
CreateStream(BlobInfo)
Creates the stream.
Declaration
public override Stream CreateStream(BlobInfo blobInfo)
Parameters
Type | Name | Description |
---|---|---|
BlobInfo | blobInfo | The BLOB info. |
Returns
Type | Description |
---|---|
System.IO.Stream |
Overrides
GetBlobFileName(BlobInfo)
Gets the name of the BLOB file.
Declaration
public override string GetBlobFileName(BlobInfo blobInfo)
Parameters
Type | Name | Description |
---|---|---|
BlobInfo | blobInfo |
Returns
Type | Description |
---|---|
System.String |
Overrides
GetInfo(Guid)
Gets the info.
Declaration
public override BlobInfo GetInfo(Guid uidStream)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | uidStream | The uid stream. |
Returns
Type | Description |
---|---|
BlobInfo |
Overrides
GetRedirectUrl(BlobInfo)
Gets the redirect URL.
Declaration
public static string GetRedirectUrl(BlobInfo blobInfo)
Parameters
Type | Name | Description |
---|---|---|
BlobInfo | blobInfo | The BLOB info. |
Returns
Type | Description |
---|---|
System.String |
ReadStream(BlobInfo)
Reads the stream.
Declaration
public override Stream ReadStream(BlobInfo blobInfo)
Parameters
Type | Name | Description |
---|---|---|
BlobInfo | blobInfo | The BLOB info. |
Returns
Type | Description |
---|---|
System.IO.Stream |
Overrides
ReleaseStream(Guid)
Releases the stream.
Declaration
public override void ReleaseStream(Guid uidStream)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | uidStream | The uid stream. |
Overrides
StreamCommited(BlobInfo, BlobInfo)
Commits the stream.
Declaration
public override void StreamCommited(BlobInfo newBlobInfo, BlobInfo oldBlobInfo)
Parameters
Type | Name | Description |
---|---|---|
BlobInfo | newBlobInfo | The new BLOB info. |
BlobInfo | oldBlobInfo | The old BLOB info. |
Overrides
Implements
System.ICloneable