Struct GorgonAnimationCodecDescription
A name and description for an image codec within a GorgonAnimationCodecPlugIn.
Implements
Inherited Members
Namespace: Gorgon.IO
Assembly: Gorgon.IO.Gorgon2D.dll
Syntax
public struct GorgonAnimationCodecDescription : IEquatable<GorgonAnimationCodecDescription>
Constructors
| Edit this page View SourceGorgonAnimationCodecDescription(Type)
Initializes a new instance of the GorgonAnimationCodecDescription struct.
Declaration
public GorgonAnimationCodecDescription(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type | The type of codec object. |
Fields
| Edit this page View SourceDescription
A friendly description used for display.
Declaration
public string Description
Field Value
Type | Description |
---|---|
string |
Name
The name of the plug in. This will be the same as its fully qualified type name.
Declaration
public readonly string Name
Field Value
Type | Description |
---|---|
string |
Methods
| Edit this page View SourceEquals(GorgonAnimationCodecDescription)
Indicates whether the current object is equal to another object of the same type.
Declaration
public readonly bool Equals(GorgonAnimationCodecDescription other)
Parameters
Type | Name | Description |
---|---|---|
GorgonAnimationCodecDescription | other | An object to compare with this object. |
Returns
Type | Description |
---|---|
bool | true if the current object is equal to the |
Exceptions
Type | Condition |
---|---|
NotImplementedException |
Equals(GorgonAnimationCodecDescription, GorgonAnimationCodecDescription)
Function to determine if two instances are equal.
Declaration
public static bool Equals(GorgonAnimationCodecDescription left, GorgonAnimationCodecDescription right)
Parameters
Type | Name | Description |
---|---|---|
GorgonAnimationCodecDescription | left | The left instance to compare. |
GorgonAnimationCodecDescription | right | The right instance to compare. |
Returns
Type | Description |
---|---|
bool | true if the two instances are equal, false if not. |
Equals(object)
Indicates whether this instance and a specified object are equal.
Declaration
public override readonly bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current instance. |
Returns
Type | Description |
---|---|
bool | true if |
Overrides
| Edit this page View SourceGetHashCode()
Returns the hash code for this instance.
Declaration
public override readonly int GetHashCode()
Returns
Type | Description |
---|---|
int | A 32-bit signed integer that is the hash code for this instance. |
Overrides
| Edit this page View SourceToString()
Returns the fully qualified type name of this instance.
Declaration
public override readonly string ToString()
Returns
Type | Description |
---|---|
string | A string containing a fully qualified type name. |
Overrides
Operators
| Edit this page View Sourceoperator ==(GorgonAnimationCodecDescription, GorgonAnimationCodecDescription)
Operator to determine if two instances are equal or not.
Declaration
public static bool operator ==(GorgonAnimationCodecDescription left, GorgonAnimationCodecDescription right)
Parameters
Type | Name | Description |
---|---|---|
GorgonAnimationCodecDescription | left | The left instance to compare. |
GorgonAnimationCodecDescription | right | The right instance to compare. |
Returns
Type | Description |
---|---|
bool | true if the two instances are equal, false if not. |
operator !=(GorgonAnimationCodecDescription, GorgonAnimationCodecDescription)
Operator to determine if two instances are not equal.
Declaration
public static bool operator !=(GorgonAnimationCodecDescription left, GorgonAnimationCodecDescription right)
Parameters
Type | Name | Description |
---|---|---|
GorgonAnimationCodecDescription | left | The left instance to compare. |
GorgonAnimationCodecDescription | right | The right instance to compare. |
Returns
Type | Description |
---|---|
bool | true if the two instances are not equal, false if they are. |