Compartir a través de


CoreDesignSurfaceSerializationBehaviorMonikerResolver Class

Definition

Moniker resolver for serialization behavior CoreDesignSurfaceSerializationBehavior.

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

Constructors

CoreDesignSurfaceSerializationBehaviorMonikerResolver(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.

(Inherited from CoreDesignSurfaceSerializationBehaviorMonikerResolverBase)

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.

(Inherited from CoreDesignSurfaceSerializationBehaviorMonikerResolverBase)
CanBeMonikerized(DomainClassInfo)

Tells if a DomainClass can be monikerized or not.

(Inherited from CoreDesignSurfaceSerializationBehaviorMonikerResolverBase)
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.

(Inherited from CoreDesignSurfaceSerializationBehaviorMonikerResolverBase)
OnMonikerResolvedToDuplicateLink(SerializationResult, Moniker)

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

(Inherited from CoreDesignSurfaceSerializationBehaviorMonikerResolverBase)
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.

(Inherited from CoreDesignSurfaceSerializationBehaviorMonikerResolverBase)
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