CoreDesignSurfaceSerializationBehaviorMonikerResolverBase Class

Definition

Base moniker resolver for serialization behavior CoreDesignSurfaceSerializationBehavior.

public ref class CoreDesignSurfaceSerializationBehaviorMonikerResolverBase : Microsoft::VisualStudio::Modeling::SimpleMonikerResolver
public class CoreDesignSurfaceSerializationBehaviorMonikerResolverBase : Microsoft.VisualStudio.Modeling.SimpleMonikerResolver
type CoreDesignSurfaceSerializationBehaviorMonikerResolverBase = class
    inherit SimpleMonikerResolver
Public Class CoreDesignSurfaceSerializationBehaviorMonikerResolverBase
Inherits SimpleMonikerResolver
Inheritance
CoreDesignSurfaceSerializationBehaviorMonikerResolverBase
Derived

Constructors

CoreDesignSurfaceSerializationBehaviorMonikerResolverBase(Store, DomainXmlSerializerDirectory)

Constructor.

Properties

IsDeserializing

Returns whether the moniker is being currently used for deserialization

(Inherited from SimpleMonikerResolver)
IsDisposed

Tells if this moniker resolver has been disposed.

(Inherited from SimpleMonikerResolver)
SerializationContext
Obsolete.

Gets or Sets the current serialization context.

(Inherited from SimpleMonikerResolver)
UnresolvedMonikerExceptionMessage

Error message for UnresolvedMonikerException.

Methods

AddNewElement(ModelElement)

Add a new element during a deserialization transaction.

(Inherited from SimpleMonikerResolver)
AddToLookupTable(String, ModelElement)

Derived classes can call this method to add extra keys to the moniker lookup table used to resolve monikers.

(Inherited from SimpleMonikerResolver)
CalculateQualifiedName(ModelElement)

Calculate the fully qualified monikerized string of the given ModelElement.

CanBeMonikerized(DomainClassInfo)

Tells if a DomainClass can be monikerized or not.

CreateMoniker(ModelElement)

Not implemented by the SimpleMonikerResolver. Default Xml serialization creates the Moniker on the reference relationship class.

(Inherited from SimpleMonikerResolver)
CreateMonikerForToken(Object)

Not implemented by the SimpleMonikerResolver. Default Xml serialization creates the Moniker on the reference relationship class.

(Inherited from SimpleMonikerResolver)
DeserializationComplete()

This method is called when serialization is complete or aborted. Derived classes should perform their own cleanup and then call this base method.

(Inherited from SimpleMonikerResolver)
Dispose()

Dispose unsuscribes from DeserializationBeginning and DeserializationEnding

(Inherited from SimpleMonikerResolver)
Dispose(Boolean)

Dispose this moniker resolver.

(Inherited from SimpleMonikerResolver)
OnAmbiguousMoniker(SerializationContext, String, ModelElement, ModelElement)

Called when two new elements are giving the same moniker, which will cause ambiguity during moniker resolution.

OnMonikerResolvedToDuplicateLink(SerializationResult, Moniker)

Called when resolving a moniker causes a duplicate link to be created.

OnStoreDisposing(Object, EventArgs)

Event callback on store disposing.

(Inherited from SimpleMonikerResolver)
OnTopLevelTransactionBeginning(Transaction)

Called when the moniker resolver starts to moniter a new top-level transaction. Base implementation does nothing.

(Inherited from SimpleMonikerResolver)
OnTransactionRollback(Object, TransactionRollbackEventArgs)

Do some cleanup if the serialization transaction is rolled back

(Inherited from SimpleMonikerResolver)
OnUnresolvedMoniker(SerializationResult, Moniker)

Called at the end of synchronization when they're unresolved monikers.

ProcessAddedElement(ModelElement)

This method is called when an added model element is being processed at the end of deserialization transaction.

(Inherited from SimpleMonikerResolver)
Reset()

Re-initialises the moniker resolver to its starting state

(Inherited from SimpleMonikerResolver)
ResolveMoniker(Moniker)

Resolves moniker to one element, moniker was created during Xml deserialization

(Inherited from SimpleMonikerResolver)

Applies to