Section navigation

Public classSealed CodecCatalog

Namespace
Rowles.LeanCorpus.Codecs.CodecKit
Assembly
Rowles.LeanCorpus.dll

An immutable catalogue of persistent codec families and physical file roles.

public sealed class CodecCatalog
Inheritance
CodecCatalog

Public property Default

Gets the default catalogue containing every built-in persistent format.

Public property Families

Gets all registered codec families in registration order.

Public property Files

Gets all registered file roles in family and registration order.

Public method GetFamily(string)

Gets a family by its stable identifier.

Public method GetFile(string)

Gets a file role by its stable format identifier.

Public method TryGetFamily(string, out CodecFamilyDescriptor?)

Tries to get a family by its stable identifier.

Public method TryGetFile(string, out CodecFileDescriptor?)

Tries to get a file role by its stable format identifier.

Public method TryMatchFile(string, out CodecFileDescriptor?)

Tries to resolve a logical file name to its registered file role.

Public method TryMatchTemporaryFile(string, out CodecFileDescriptor?)

Tries to resolve a temporary logical file name to its owning registered file role.