Partilhar via


DslDefinitionModelSerializationBehaviorMonikerResolver Class

Definition

Moniker resolver for serialization behavior DslDefinitionModelSerializationBehavior.

public ref class DslDefinitionModelSerializationBehaviorMonikerResolver : Microsoft::VisualStudio::Modeling::DslDefinition::DslDefinitionModelSerializationBehaviorMonikerResolverBase
public class DslDefinitionModelSerializationBehaviorMonikerResolver : Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelSerializationBehaviorMonikerResolverBase
type DslDefinitionModelSerializationBehaviorMonikerResolver = class
    inherit DslDefinitionModelSerializationBehaviorMonikerResolverBase
Public Class DslDefinitionModelSerializationBehaviorMonikerResolver
Inherits DslDefinitionModelSerializationBehaviorMonikerResolverBase
Inheritance
DslDefinitionModelSerializationBehaviorMonikerResolver

Constructors

DslDefinitionModelSerializationBehaviorMonikerResolver(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 DslDefinitionModelSerializationBehaviorMonikerResolverBase)

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 DslDefinitionModelSerializationBehaviorMonikerResolverBase)
CanBeMonikerized(DomainClassInfo)

Tells if a DomainClass can be monikerized or not.

(Inherited from DslDefinitionModelSerializationBehaviorMonikerResolverBase)
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()
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 DslDefinitionModelSerializationBehaviorMonikerResolverBase)
OnMonikerResolvedToDuplicateLink(SerializationResult, Moniker)

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

(Inherited from DslDefinitionModelSerializationBehaviorMonikerResolverBase)
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 DslDefinitionModelSerializationBehaviorMonikerResolverBase)
ProcessAddedElement(ModelElement)

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

Reset()

Re-initialises the moniker resolver to its starting state

(Inherited from SimpleMonikerResolver)
ResolveMoniker(Moniker)

Resolves a moniker defined Dsl model. Special-case ModelElement to support special relationships that uses ModelElement as target role player (i.e. PresentationViewsSubject).

Applies to