다음을 통해 공유


SimpleMonikerResolver Class

Resolves simple string references when the model is serialized using the default XML serialization.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.SimpleMonikerResolver
    Microsoft.VisualStudio.Modeling.Diagrams.CoreDesignSurfaceSerializationBehaviorMonikerResolver
    Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelSerializationBehaviorMonikerResolverBase

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

Syntax

‘선언
Public MustInherit Class SimpleMonikerResolver _
    Implements IMonikerResolver, IDisposable
public abstract class SimpleMonikerResolver : IMonikerResolver, 
    IDisposable
public ref class SimpleMonikerResolver abstract : IMonikerResolver, 
    IDisposable
[<AbstractClass>]
type SimpleMonikerResolver =  
    class
        interface IMonikerResolver
        interface IDisposable
    end
public abstract class SimpleMonikerResolver implements IMonikerResolver, IDisposable

The SimpleMonikerResolver type exposes the following members.

Constructors

  Name Description
Protected method SimpleMonikerResolver Initializes a new instance of the SimpleMonikerResolver class.

Top

Properties

  Name Description
Public property IsDeserializing Returns whether the moniker is being currently used for deserialization
Protected property IsDisposed Gets the moniker resolver and verifies whether it has been disposed.
Public property SerializationContext Obsolete. Gets or sets the serialization context.
Protected property UnresolvedMonikerExceptionMessage Gets the error message for the unresolved moniker exception.

Top

Methods

  Name Description
Public method AddNewElement Adds an element during a deserialization transaction.
Protected method AddToLookupTable Adds extra keys to the moniker lookup table that resolves monikers.
Protected method CalculateQualifiedName Calculates the fully-qualified monikerized string of a given element.
Protected method CanBeMonikerized Indicates whether a domain class can be monikerized.
Public method CreateMoniker Not currently implemented.
Public method CreateMonikerForToken Not currently implemented.
Protected method DeserializationComplete Indicates serialization is complete or was aborted.
Public method Dispose() Releases all resources used by the SimpleMonikerResolver.
Protected method Dispose(Boolean) Disposes this moniker resolver.
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. (Overrides Object.Finalize().)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public methodStatic member IsFullyQualified Indicates whether the input string is a fully-qualified reference.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnAmbiguousMoniker Verifies whether two elements have the same moniker.
Protected method OnMonikerResolvedToDuplicateLink Checks to see if a moniker has a duplicate link.
Protected method OnStoreDisposing Alerts listeners that the store is disposing.
Protected method OnTopLevelTransactionBeginning Verifies whether there is a new top-level transaction.
Protected method OnTransactionRollback Alerts listeners that the transaction has been rolled back.
Protected method OnUnresolvedMoniker Checks to see whether there are unresolved monikers.
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.
Public method Reset Re-initialises the moniker resolver to its starting state
Public method ResolveMoniker Resolves a moniker to one element.
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 Namespace