Share via


SimpleMonikerResolver Members

Include Protected Members
Include Inherited Members

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

The SimpleMonikerResolver type exposes the following members.

Constructors

 

Name

Description

Protected method

SimpleMonikerResolver

Initializes a new instance of the SimpleMonikerResolver class.

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

Overloaded. Releases all resources used by the 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. (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

ResolveMoniker

Resolves a moniker to one element.

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

 

Name

Description

Protected property

IsDisposed

Gets the moniker resolver and verifies whether it has been disposed.

Public property

SerializationContext

Gets or sets the serialization context.

Protected property

UnresolvedMonikerExceptionMessage

Gets the error message for the unresolved moniker exception.

Top

See Also

Reference

SimpleMonikerResolver Class

Microsoft.VisualStudio.Modeling Namespace