Auf Englisch lesen

Freigeben über


DslDefinitionModelSerializationBehaviorMonikerResolverBase Class

Base 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 DslDefinitionModelSerializationBehaviorMonikerResolverBase _
    Inherits SimpleMonikerResolver
public class DslDefinitionModelSerializationBehaviorMonikerResolverBase : SimpleMonikerResolver
public ref class DslDefinitionModelSerializationBehaviorMonikerResolverBase : public SimpleMonikerResolver
type DslDefinitionModelSerializationBehaviorMonikerResolverBase =  
    class 
        inherit SimpleMonikerResolver 
    end
public class DslDefinitionModelSerializationBehaviorMonikerResolverBase extends SimpleMonikerResolver

The DslDefinitionModelSerializationBehaviorMonikerResolverBase type exposes the following members.

Constructors

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 (Overrides SimpleMonikerResolver.UnresolvedMonikerExceptionMessage.)

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. (Overrides SimpleMonikerResolver.CalculateQualifiedName(ModelElement).)
Protected method CanBeMonikerized Tells if a DomainClass can be monikerized or not. (Overrides SimpleMonikerResolver.CanBeMonikerized(DomainClassInfo).)
Public method CreateMoniker Not currently implemented. (Inherited from SimpleMonikerResolver.)
Public method CreateMonikerForToken Not currently implemented. (Inherited from SimpleMonikerResolver.)
Protected method DeserializationComplete Indicates serialization is complete or was aborted. (Inherited from SimpleMonikerResolver.)
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. (Overrides SimpleMonikerResolver.OnAmbiguousMoniker(SerializationContext, String, ModelElement, ModelElement).)
Protected method OnMonikerResolvedToDuplicateLink Called when resolving a moniker causes a duplicate link to be created. (Overrides SimpleMonikerResolver.OnMonikerResolvedToDuplicateLink(SerializationResult, Moniker).)
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. (Overrides SimpleMonikerResolver.OnUnresolvedMoniker(SerializationResult, Moniker).)
Public method ProcessAddedElement Checks to verify whether an element that was created during deserialization has been processed and its moniker added to the lookup table. (Inherited from SimpleMonikerResolver.)
Public method Reset Re-initialises the moniker resolver to its starting state (Inherited from SimpleMonikerResolver.)
Public method ResolveMoniker Resolves a moniker to one element. (Inherited from SimpleMonikerResolver.)
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