Class HttpMediaContent
Class for defining media 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 abstract class HttpMediaContent : MediaContent, IDisposable
Constructors
HttpMediaContent()
default constructor
Declaration
protected HttpMediaContent()
HttpMediaContent(HttpMediaContent)
Copy constructor
Declaration
protected HttpMediaContent(HttpMediaContent httpMediaContent)
Parameters
Type | Name | Description |
---|---|---|
HttpMediaContent | httpMediaContent |
HttpMediaContent(DbMediaContentReference)
Declaration
protected HttpMediaContent(DbMediaContentReference reference)
Parameters
Type | Name | Description |
---|---|---|
DbMediaContentReference | reference |
Properties
CacheControl
Defines the cache control of the content.
Declaration
public string CacheControl { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
If no value is present, default is public. Common valid values are private, public, no-cache. For more information see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9
CacheTimeout
Get/Sets the CacheTimeout of the StreamedBinaryMediaContent
Declaration
public TimeSpan? CacheTimeout { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.TimeSpan> |
ETag
Get/Sets the ETag of the MediaContent
Declaration
public string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LastModified
Get/Sets the LastModified of the MediaContent
Declaration
public DateTime LastModified { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
Implements
System.IDisposable