Partager via


DslDefinitionModelSerializationBehaviorMonikerResolver Class

Moniker resolver for serialization behavior DslDefinitionModelSerializationBehavior.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.SimpleMonikerResolver
    Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelSerializationBehaviorMonikerResolverBase
      Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelSerializationBehaviorMonikerResolver

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

Syntax

'Declaration
Public Class DslDefinitionModelSerializationBehaviorMonikerResolver _
    Inherits DslDefinitionModelSerializationBehaviorMonikerResolverBase
public class DslDefinitionModelSerializationBehaviorMonikerResolver : DslDefinitionModelSerializationBehaviorMonikerResolverBase
public ref class DslDefinitionModelSerializationBehaviorMonikerResolver : public DslDefinitionModelSerializationBehaviorMonikerResolverBase
type DslDefinitionModelSerializationBehaviorMonikerResolver =  
    class 
        inherit DslDefinitionModelSerializationBehaviorMonikerResolverBase 
    end
public class DslDefinitionModelSerializationBehaviorMonikerResolver extends DslDefinitionModelSerializationBehaviorMonikerResolverBase

The DslDefinitionModelSerializationBehaviorMonikerResolver type exposes the following members.

Constructors

  Name Description
Public method DslDefinitionModelSerializationBehaviorMonikerResolver Constructor.

Top

Properties

  Name Description
Public property IsDeserializing Returns whether the moniker is being currently used for deserialization (Inherited from SimpleMonikerResolver.)
Protected property IsDisposed Gets the moniker resolver and verifies whether it has been disposed. (Inherited from SimpleMonikerResolver.)
Public property SerializationContext Obsolete. Gets or sets the serialization context. (Inherited from SimpleMonikerResolver.)
Protected property UnresolvedMonikerExceptionMessage (Inherited from DslDefinitionModelSerializationBehaviorMonikerResolverBase.)

Top

Methods

  Name Description
Public method AddNewElement Adds an element during a deserialization transaction. (Inherited from SimpleMonikerResolver.)
Protected method AddToLookupTable Adds extra keys to the moniker lookup table that resolves monikers. (Inherited from SimpleMonikerResolver.)
Protected method CalculateQualifiedName Calculate the fully qualified monikerized string of the given ModelElement. (Inherited from DslDefinitionModelSerializationBehaviorMonikerResolverBase.)
Protected method CanBeMonikerized Tells if a DomainClass can be monikerized or not. (Inherited from DslDefinitionModelSerializationBehaviorMonikerResolverBase.)
Public method CreateMoniker Not currently implemented. (Inherited from SimpleMonikerResolver.)
Public method CreateMonikerForToken Not currently implemented. (Inherited from SimpleMonikerResolver.)
Protected method DeserializationComplete (Overrides SimpleMonikerResolver.DeserializationComplete().)
Public method Dispose() Releases all resources used by the SimpleMonikerResolver. (Inherited from SimpleMonikerResolver.)
Protected method Dispose(Boolean) Disposes this moniker resolver. (Inherited from SimpleMonikerResolver.)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Finalizes the moniker resolver but does not dispose it. (Inherited from SimpleMonikerResolver.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnAmbiguousMoniker Called when two new elements are giving the same moniker, which will cause ambiguity during moniker resolution. (Inherited from DslDefinitionModelSerializationBehaviorMonikerResolverBase.)
Protected method OnMonikerResolvedToDuplicateLink Called when resolving a moniker causes a duplicate link to be created. (Inherited from DslDefinitionModelSerializationBehaviorMonikerResolverBase.)
Protected method OnStoreDisposing Alerts listeners that the store is disposing. (Inherited from SimpleMonikerResolver.)
Protected method OnTopLevelTransactionBeginning Verifies whether there is a new top-level transaction. (Inherited from SimpleMonikerResolver.)
Protected method OnTransactionRollback Alerts listeners that the transaction has been rolled back. (Inherited from SimpleMonikerResolver.)
Protected method OnUnresolvedMoniker Called at the end of synchronization when they're unresolved monikers. (Inherited from DslDefinitionModelSerializationBehaviorMonikerResolverBase.)
Public method ProcessAddedElement This method is called when an added model element is being processed at the end of deserialization transaction. (Overrides SimpleMonikerResolver.ProcessAddedElement(ModelElement).)
Public method Reset Re-initialises the moniker resolver to its starting state (Inherited from SimpleMonikerResolver.)
Public method ResolveMoniker Resolves a moniker defined Dsl model. Special-case ModelElement to support special relationships that uses ModelElement as target role player (i.e. PresentationViewsSubject). (Overrides SimpleMonikerResolver.ResolveMoniker(Moniker).)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

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.DslDefinition Namespace