Search Results for

    Show / Hide Table of Contents

    Class CodecInfo

    Describes an image codec.

    Inheritance
    System.Object
    CodecInfo
    DecoderInfo
    EncoderInfo
    Implements
    IImageCodecInfo
    System.IEquatable<CodecInfo>
    Namespace: PhotoSauce.MagicScaler
    Assembly: PhotoSauce.MagicScaler.dll
    Syntax
    public abstract class CodecInfo : Object, IImageCodecInfo

    Constructors

    CodecInfo(CodecInfo)

    Declaration
    protected CodecInfo(CodecInfo original)
    Parameters
    Type Name Description
    CodecInfo original

    CodecInfo(String, IEnumerable<String>, IEnumerable<String>)

    The friendly name of the codec.

    Declaration
    protected CodecInfo(string Name, IEnumerable<string> MimeTypes, IEnumerable<string> FileExtensions)
    Parameters
    Type Name Description
    System.String Name

    The friendly name of the codec.

    System.Collections.Generic.IEnumerable<System.String> MimeTypes

    A list of MIME types supported by the codec.

    System.Collections.Generic.IEnumerable<System.String> FileExtensions

    A list of file extensions supported by the codec.

    Properties

    EqualityContract

    Declaration
    protected virtual Type EqualityContract { get; }
    Property Value
    Type Description
    System.Type

    FileExtensions

    A list of file extensions supported by the codec.

    Declaration
    public IEnumerable<string> FileExtensions { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<System.String>

    MimeTypes

    A list of MIME types supported by the codec.

    Declaration
    public IEnumerable<string> MimeTypes { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<System.String>

    Name

    The friendly name of the codec.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    <Clone>$()

    Declaration
    public abstract CodecInfo <Clone>$()
    Returns
    Type Description
    CodecInfo

    Deconstruct(out String, out IEnumerable<String>, out IEnumerable<String>)

    Declaration
    public void Deconstruct(out string Name, out IEnumerable<string> MimeTypes, out IEnumerable<string> FileExtensions)
    Parameters
    Type Name Description
    System.String Name
    System.Collections.Generic.IEnumerable<System.String> MimeTypes
    System.Collections.Generic.IEnumerable<System.String> FileExtensions

    Equals(CodecInfo)

    Declaration
    public virtual bool Equals(CodecInfo other)
    Parameters
    Type Name Description
    CodecInfo other
    Returns
    Type Description
    System.Boolean

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    PrintMembers(StringBuilder)

    Declaration
    protected virtual bool PrintMembers(StringBuilder builder)
    Parameters
    Type Name Description
    System.Text.StringBuilder builder
    Returns
    Type Description
    System.Boolean

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    Operators

    Equality(CodecInfo, CodecInfo)

    Declaration
    public static bool operator ==(CodecInfo left, CodecInfo right)
    Parameters
    Type Name Description
    CodecInfo left
    CodecInfo right
    Returns
    Type Description
    System.Boolean

    Inequality(CodecInfo, CodecInfo)

    Declaration
    public static bool operator !=(CodecInfo left, CodecInfo right)
    Parameters
    Type Name Description
    CodecInfo left
    CodecInfo right
    Returns
    Type Description
    System.Boolean

    Implements

    IImageCodecInfo
    System.IEquatable<>
    In This Article
    Back to top Copyright © 2022 Clinton Ingram
    Generated with DocFX