Search Results for

    Show / Hide Table of Contents

    Class Catalog

    Default implementation of a ICatalog.

    Inheritance
    object
    Catalog
    Implements
    ICatalog
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: MGR.PortableObject
    Assembly: MGR.PortableObject.dll
    Syntax
    public class Catalog : ICatalog

    Constructors

    | Edit this page View Source

    Catalog(Dictionary<PortableObjectKey, IPortableObjectEntry>, CultureInfo)

    Creates a new instance of Catalog.

    Declaration
    public Catalog(Dictionary<PortableObjectKey, IPortableObjectEntry> entries, CultureInfo culture)
    Parameters
    Type Name Description
    Dictionary<PortableObjectKey, IPortableObjectEntry> entries

    The different entries composing the catalog.

    CultureInfo culture

    The culture of the catalog

    Properties

    | Edit this page View Source

    Count

    Gets the number of translation in the current catalog.

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    Culture

    Gets the culture for the current catalog.

    Declaration
    public CultureInfo Culture { get; }
    Property Value
    Type Description
    CultureInfo

    Methods

    | Edit this page View Source

    GetEntry(PortableObjectKey)

    Gets an entry from the current catalog for the specified key.

    Declaration
    public IPortableObjectEntry GetEntry(PortableObjectKey key)
    Parameters
    Type Name Description
    PortableObjectKey key

    A key.

    Returns
    Type Description
    IPortableObjectEntry

    The entry corresponding to the key.

    Implements

    ICatalog
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX