Class MediaContentBase
Summary description for MediaContentBase.
Inherited Members
Namespace: ImageVault.Core.Common.Data
Assembly: ImageVault.Core.dll
Syntax
public abstract class MediaContentBase
Constructors
MediaContentBase()
Initializes a new instance of the MediaContentBase class.
Declaration
protected MediaContentBase()
MediaContentBase(MediaContentBase)
Initializes a new instance of the MediaContentBase class.
Declaration
protected MediaContentBase(MediaContentBase reference)
Parameters
Type | Name | Description |
---|---|---|
MediaContentBase | reference |
Properties
ContentType
Get/Sets the ContentType of the MediaContent
Declaration
public string ContentType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MediaContentReferenceId
Get/Sets the MediaContentReferenceId of the MediaContentBase
Declaration
public string MediaContentReferenceId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MediaFormatId
Get/Sets the MediaFormatId of the MediaContentBase
Declaration
public int MediaFormatId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MediaKeyAndName
Gets the MediaKeyAndName of the MediaConversion
Declaration
public virtual string MediaKeyAndName { get; }
Property Value
Type | Description |
---|---|
System.String |
MediaStorageId
Get/Sets the MediaStorageId of the MediaContentBase
Declaration
public int? MediaStorageId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
MediaStorageTypeId
Get/Sets the MediaStorageTypeId of the MediaContentBase
Declaration
public int? MediaStorageTypeId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
MediaStorageValue
Get/Sets the MediaStorageValue of the MediaContentBase
Declaration
public string MediaStorageValue { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
Get/Sets the Name of the MediaContentBase
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
VersionId
Gets the content version id
Declaration
public int VersionId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
CopyFromMediaContentBase(MediaContentBase)
Declaration
public void CopyFromMediaContentBase(MediaContentBase content)
Parameters
Type | Name | Description |
---|---|---|
MediaContentBase | content |
Equals(MediaContentBase)
Determines whether the specified MediaContentBase is equal to the current MediaContentBase.
Declaration
public bool Equals(MediaContentBase other)
Parameters
Type | Name | Description |
---|---|---|
MediaContentBase | other | The MediaContentBase to compare with the current MediaContentBase. |
Returns
Type | Description |
---|---|
System.Boolean | true if the specified MediaContentBase is equal to the current MediaContentBase; otherwise, false. |
Equals(Object)
Determines whether the specified System.Object is equal to the current MediaContentBase.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The System.Object to compare with the current MediaContentBase. |
Returns
Type | Description |
---|---|
System.Boolean | true if the specified System.Object is equal to the current MediaContentBase; otherwise, false. |
Overrides
GetHashCode()
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A hash code for the current MediaContentBase. |
Overrides
ToString()
Returns a System.String that represents the current MediaContentBase.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents the current MediaContentBase. |