Class BlobStorageProvider

Inheritance
System.Object
BlobStorageProvider
Namespace: Mediachase.BusinessFoundation.Blob
Assembly: Mediachase.BusinessFoundation.dll
Version: 10.8.0
Syntax
public abstract class BlobStorageProvider : ProviderBase

Constructors

BlobStorageProvider()

Declaration
protected BlobStorageProvider()

Properties

AllowSearch

Gets or sets a value indicating whether [allow search].

Declaration
public bool AllowSearch { get; }
Property Value
Type Description
System.Boolean

true if [allow search]; otherwise, false.

Methods

CommitStream(BlobInfo)

Commits the stream.

Declaration
public void CommitStream(BlobInfo newBlobInfo)
Parameters
Type Name Description
BlobInfo newBlobInfo

The new BLOB info.

CreateStream(BlobInfo)

Creates the stream.

Declaration
public abstract Stream CreateStream(BlobInfo newBlobInfo)
Parameters
Type Name Description
BlobInfo newBlobInfo

The BLOB information.

Returns
Type Description
System.IO.Stream

GetInfo(Guid)

Gets the info.

Declaration
public abstract BlobInfo GetInfo(Guid uidStream)
Parameters
Type Name Description
System.Guid uidStream

The uid stream.

Returns
Type Description
BlobInfo

Initialize(String, NameValueCollection)

Declaration
public override void Initialize(string name, NameValueCollection config)
Parameters
Type Name Description
System.String name
System.Collections.Specialized.NameValueCollection config

ReadStream(BlobInfo)

Reads the stream.

Declaration
public abstract Stream ReadStream(BlobInfo newBlobInfo)
Parameters
Type Name Description
BlobInfo newBlobInfo

The BLOB information.

Returns
Type Description
System.IO.Stream

ReleaseStream(BlobInfo)

Releases the stream.

Declaration
public void ReleaseStream(BlobInfo blobInfo)
Parameters
Type Name Description
BlobInfo blobInfo

The BLOB info.

ReleaseStream(Guid)

Releases the stream.

Declaration
public abstract void ReleaseStream(Guid uidStream)
Parameters
Type Name Description
System.Guid uidStream

The uid stream.

Search(String)

Searches the specified keyword.

Declaration
public abstract BlobInfo[] Search(string keyword)
Parameters
Type Name Description
System.String keyword

The keyword.

Returns
Type Description
BlobInfo[]

StreamCommited(BlobInfo, BlobInfo)

Commits the stream.

Declaration
public abstract void StreamCommited(BlobInfo newBlobInfo, BlobInfo oldBlobInfo)
Parameters
Type Name Description
BlobInfo newBlobInfo

The new BLOB info.

BlobInfo oldBlobInfo

The old BLOB info.