Bagikan melalui


ISerializerLocatorExtensions Class

Provides convenience methods to extend the standard ISerializerLocator interface

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.Modeling.ISerializerLocatorExtensions

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class ISerializerLocatorExtensions
public static class ISerializerLocatorExtensions
[ExtensionAttribute]
public ref class ISerializerLocatorExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
type ISerializerLocatorExtensions =  class end
public final class ISerializerLocatorExtensions

The ISerializerLocatorExtensions type exposes the following members.

Methods

  Name Description
Public methodStatic member GetDomainModelType This method takes a target namespace string and return the corresponding domain model type
Public methodStatic member GetSerializer Returns a serializer that handles the specified type of domain model, or null if an appropriate serializer could not be found.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Modeling Namespace