Class BlobCacheProfile
Inheritance
System.Object
BlobCacheProfile
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 class BlobCacheProfile
Constructors
BlobCacheProfile(BlobCacheProfileElement)
Initializes a new instance of the BlobCacheProfile class.
Declaration
protected BlobCacheProfile(BlobCacheProfileElement configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| BlobCacheProfileElement | configuration |
Fields
profileCacheCfgName
Declaration
public static string profileCacheCfgName
Field Value
| Type | Description |
|---|---|
| System.String |
Methods
AddToCache(Stream, BlobInfo)
Adds to cache.
Declaration
public void AddToCache(Stream srcStream, BlobInfo blobInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IO.Stream | srcStream | The source stream. |
| BlobInfo | blobInfo | The BLOB info. |
GetProfileByName(String)
Gets the name of the profile by.
Declaration
public static BlobCacheProfile GetProfileByName(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name. |
Returns
| Type | Description |
|---|---|
| BlobCacheProfile |
TryGetCache(Guid, out String)
Tries the get cache.
Declaration
public bool TryGetCache(Guid blobUid, out string path)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Guid | blobUid | The BLOB uid. |
| System.String | path | The path. |
Returns
| Type | Description |
|---|---|
| System.Boolean |