Class ChangeOutputFormatEffect
The ChangeOutputFormatEffect allows the format to change the output format for the media
Implements
Namespace: ImageVault.Common.Data.Effects
Assembly: ImageVault.Common.dll
Syntax
public class ChangeOutputFormatEffect : Effect
Constructors
ChangeOutputFormatEffect()
Initializes a new instance of the ChangeOutputFormatEffect class.
Declaration
public ChangeOutputFormatEffect()
ChangeOutputFormatEffect(String)
Initializes a new instance of the ChangeOutputFormatEffect class.
Declaration
public ChangeOutputFormatEffect(string contentType)
Parameters
Type | Name | Description |
---|---|---|
System.String | contentType |
Properties
ContentType
Get/Sets the ContentType of the ChangeOutputFormatEffect
Declaration
public string ContentType { get; set; }
Property Value
Type | Description |
---|---|
System.String | The content type that the output should be changed to. |
Methods
Clone()
Creates a new object that is a copy of the current instance.
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
System.Object | A new object that is a copy of this instance. |
Overrides
Equals(ChangeOutputFormatEffect)
Determines whether the specified ChangeOutputFormatEffect is equal to the current ChangeOutputFormatEffect.
Declaration
public bool Equals(ChangeOutputFormatEffect other)
Parameters
Type | Name | Description |
---|---|---|
ChangeOutputFormatEffect | other | The ChangeOutputFormatEffect to compare with the current ChangeOutputFormatEffect. |
Returns
Type | Description |
---|---|
System.Boolean | true if the specified ChangeOutputFormatEffect is equal to the current ChangeOutputFormatEffect; otherwise, false. |
Equals(Object)
Determines whether the specified System.Object is equal to the current ChangeOutputFormatEffect.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The System.Object to compare with the current ChangeOutputFormatEffect. |
Returns
Type | Description |
---|---|
System.Boolean | true if the specified System.Object is equal to the current ChangeOutputFormatEffect; otherwise, false. |
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 ChangeOutputFormatEffect. |
ToString()
Returns a System.String that represents the current ChangeOutputFormatEffect.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents the current ChangeOutputFormatEffect. |