Class BaseBlobProfile
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.BusinessFoundation.Blob.BlobProfileDownload
Assembly: Mediachase.BusinessFoundation.dll
Version: 10.8.0Syntax
public abstract class BaseBlobProfile
Constructors
BaseBlobProfile(BlobProfileDownloadElement)
Initializes a new instance of the BaseBlobProfile class.
Declaration
protected BaseBlobProfile(BlobProfileDownloadElement profile)
Parameters
Type | Name | Description |
---|---|---|
BlobProfileDownloadElement | profile | The profile. |
Fields
MagicSeq
Declaration
public static string MagicSeq
Field Value
Type | Description |
---|---|
System.String |
profileDownloadCfgName
Declaration
public static string profileDownloadCfgName
Field Value
Type | Description |
---|---|
System.String |
Properties
ProfileName
Gets or sets the name of the profile.
Declaration
public string ProfileName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the profile. |
Methods
GetAccessProfileByCfgName(String)
Gets the name of the download profile by CFG.
Declaration
public static BaseBlobProfile GetAccessProfileByCfgName(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name. |
Returns
Type | Description |
---|---|
BaseBlobProfile |
GetCfgProfileByName(String)
Gets the name of the profile by.
Declaration
public static BlobProfileDownloadElement GetCfgProfileByName(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name. |
Returns
Type | Description |
---|---|
BlobProfileDownloadElement |
GetProfileTicket(BlobInfo)
Gets the profile ticket.
Declaration
public abstract string GetProfileTicket(BlobInfo blobInfo)
Parameters
Type | Name | Description |
---|---|---|
BlobInfo | blobInfo | The BLOB info. |
Returns
Type | Description |
---|---|
System.String |
InitializeByTicket(String)
Parses the ticket.
Declaration
protected abstract void InitializeByTicket(string ticket)
Parameters
Type | Name | Description |
---|---|---|
System.String | ticket | The ticket. |
ProcessRequest(HttpContext)
Processes the request.
Declaration
protected abstract void ProcessRequest(HttpContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Web.HttpContext | context | The context. |
ProcessRequest(HttpContext, BlobInfo)
Processes the request.
Declaration
public virtual void ProcessRequest(HttpContext context, BlobInfo blobInfo)
Parameters
Type | Name | Description |
---|---|---|
System.Web.HttpContext | context | The context. |
BlobInfo | blobInfo | The BLOB info. |
ProcessRequest(HttpContext, String)
Processes the request.
Declaration
public static void ProcessRequest(HttpContext context, string ticket)
Parameters
Type | Name | Description |
---|---|---|
System.Web.HttpContext | context | The context. |
System.String | ticket | The ticket. |
WriteBlobToResponse(HttpContext, Stream, BlobInfo)
Writes the BLOB to response.
Declaration
protected void WriteBlobToResponse(HttpContext context, Stream stream, BlobInfo blobInfo)
Parameters
Type | Name | Description |
---|---|---|
System.Web.HttpContext | context | |
System.IO.Stream | stream | |
BlobInfo | blobInfo |
Events
FilterEvent
Allow to filter output stream
Declaration
public event DownloadFilterHandler FilterEvent
Event Type
Type | Description |
---|---|
DownloadFilterHandler |