Export (0) Print
Expand All

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)

public interface ISerializerLocator

The ISerializerLocator type exposes the following members.

  NameDescription
Public methodGetSerializerReturns a serializer that handles the specified type of domain model, or null if an appropriate serializer could not be found.
Public methodGetSerializerFromFileNameReturns a serializer that handles files of the specified type, or null if an appropriate serializer could not be found.
Public methodGetSerializerFromNamespaceReturns a serializer that handles the specified target namespace or null if an appropriate serializer could not be found.
Top

  NameDescription
Public Extension MethodGetDomainModelTypeThis method takes a target namespace string and return the corresponding domain model type (Defined by ISerializerLocatorExtensions.)
Public Extension MethodGetSerializerReturns a serializer that handles the specified type of domain model, or null if an appropriate serializer could not be found. (Defined by ISerializerLocatorExtensions.)
Top
Show:
© 2014 Microsoft