Struct GorgonSpriteCodecDescription
A name and description for an image codec within a GorgonSpriteCodecPlugIn.
Implements
Inherited Members
Namespace: Gorgon.IO
Assembly: Gorgon.IO.Gorgon2D.dll
Syntax
public struct GorgonSpriteCodecDescription : IEquatable<GorgonSpriteCodecDescription>
Constructors
| Edit this page View SourceGorgonSpriteCodecDescription(Type)
Initializes a new instance of the GorgonSpriteCodecDescription struct.
Declaration
public GorgonSpriteCodecDescription(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(GorgonSpriteCodecDescription)
Indicates whether the current object is equal to another object of the same type.
Declaration
public readonly bool Equals(GorgonSpriteCodecDescription other)
Parameters
Type | Name | Description |
---|---|---|
GorgonSpriteCodecDescription | 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(GorgonSpriteCodecDescription, GorgonSpriteCodecDescription)
Function to determine if two instances are equal.
Declaration
public static bool Equals(GorgonSpriteCodecDescription left, GorgonSpriteCodecDescription right)
Parameters
Type | Name | Description |
---|---|---|
GorgonSpriteCodecDescription | left | The left instance to compare. |
GorgonSpriteCodecDescription | 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 ==(GorgonSpriteCodecDescription, GorgonSpriteCodecDescription)
Operator to determine if two instances are equal or not.
Declaration
public static bool operator ==(GorgonSpriteCodecDescription left, GorgonSpriteCodecDescription right)
Parameters
Type | Name | Description |
---|---|---|
GorgonSpriteCodecDescription | left | The left instance to compare. |
GorgonSpriteCodecDescription | right | The right instance to compare. |
Returns
Type | Description |
---|---|
bool | true if the two instances are equal, false if not. |
operator !=(GorgonSpriteCodecDescription, GorgonSpriteCodecDescription)
Operator to determine if two instances are not equal.
Declaration
public static bool operator !=(GorgonSpriteCodecDescription left, GorgonSpriteCodecDescription right)
Parameters
Type | Name | Description |
---|---|---|
GorgonSpriteCodecDescription | left | The left instance to compare. |
GorgonSpriteCodecDescription | right | The right instance to compare. |
Returns
Type | Description |
---|---|
bool | true if the two instances are not equal, false if they are. |