ISerializerLocator Interface
This interface provides a way to locate serializers for a domain model.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Public Interface ISerializerLocator
public interface ISerializerLocator
public interface class ISerializerLocator
type ISerializerLocator = interface end
public interface ISerializerLocator
The ISerializerLocator type exposes the following members.
Methods
Name | Description | |
---|---|---|
GetSerializer | Returns a serializer that handles the specified type of domain model, or null if an appropriate serializer could not be found. | |
GetSerializerFromFileName | Returns a serializer that handles files of the specified type, or null if an appropriate serializer could not be found. | |
GetSerializerFromNamespace | Returns a serializer that handles the specified target namespace or null if an appropriate serializer could not be found. |
Top
Extension Methods
Name | Description | |
---|---|---|
GetDomainModelType | This method takes a target namespace string and return the corresponding domain model type (Defined by ISerializerLocatorExtensions.) | |
GetSerializer | Returns a serializer that handles the specified type of domain model, or null if an appropriate serializer could not be found. (Defined by ISerializerLocatorExtensions.) |
Top