Class BinaryHttpMediaContent
Binary content that should be delivered as http
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ImageVault.Core.Common.Data
Assembly: ImageVault.Core.dll
Syntax
public class BinaryHttpMediaContent : HttpMediaContent, IDisposable
Constructors
BinaryHttpMediaContent()
Default constructor
Declaration
public BinaryHttpMediaContent()
BinaryHttpMediaContent(BinaryHttpMediaContent)
Copy constructor
Declaration
public BinaryHttpMediaContent(BinaryHttpMediaContent content)
Parameters
Type | Name | Description |
---|---|---|
BinaryHttpMediaContent | content |
BinaryHttpMediaContent(DbMediaContentReference, IMediaContentSource)
Declaration
public BinaryHttpMediaContent(DbMediaContentReference reference, IMediaContentSource contentSource)
Parameters
Type | Name | Description |
---|---|---|
DbMediaContentReference | reference | |
ImageVault.Abstractions.IMediaContentSource | contentSource |
Properties
ContentSource
A reference to the binary content
Declaration
public IMediaContentSource ContentSource { get; set; }
Property Value
Type | Description |
---|---|
ImageVault.Abstractions.IMediaContentSource |
Download
Get/Sets the Download of the BinaryMediaContentBase
Declaration
public bool Download { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
Dispose(Boolean)
Releases the resources used by the MediaContent.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Set to true to release both managed and unmanaged resources; false to release only unmanaged resources. |
Overrides
Implements
System.IDisposable