Condividi tramite


ISerializerLocator Interface

Definition

This interface provides a way to locate serializers for a domain model.

public interface class ISerializerLocator
public interface ISerializerLocator
type ISerializerLocator = interface
Public Interface ISerializerLocator
Derived

Methods

GetSerializer(Guid)

Returns a serializer that handles the specified type of domain model, or null if an appropriate serializer could not be found.

GetSerializerFromFileName(String)

Returns a serializer that handles files of the specified type, or null if an appropriate serializer could not be found.

GetSerializerFromNamespace(String)

Returns a serializer that handles the specified target namespace or null if an appropriate serializer could not be found.

Extension Methods

GetDomainModelType(ISerializerLocator, String)

This method takes a target namespace string and return the corresponding domain model type

GetSerializer(ISerializerLocator, Type)

Returns a serializer that handles the specified type of domain model, or null if an appropriate serializer could not be found.

Applies to