DslDefinitionModelSerializationBehaviorMonikerResolver Class
Moniker resolver for serialization behavior DslDefinitionModelSerializationBehavior.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.SimpleMonikerResolver
Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelSerializationBehaviorMonikerResolverBase
Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelSerializationBehaviorMonikerResolver
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Déclaration
Public Class DslDefinitionModelSerializationBehaviorMonikerResolver _
Inherits DslDefinitionModelSerializationBehaviorMonikerResolverBase
public class DslDefinitionModelSerializationBehaviorMonikerResolver : DslDefinitionModelSerializationBehaviorMonikerResolverBase
public ref class DslDefinitionModelSerializationBehaviorMonikerResolver : public DslDefinitionModelSerializationBehaviorMonikerResolverBase
type DslDefinitionModelSerializationBehaviorMonikerResolver =
class
inherit DslDefinitionModelSerializationBehaviorMonikerResolverBase
end
public class DslDefinitionModelSerializationBehaviorMonikerResolver extends DslDefinitionModelSerializationBehaviorMonikerResolverBase
The DslDefinitionModelSerializationBehaviorMonikerResolver type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DslDefinitionModelSerializationBehaviorMonikerResolver | Constructor. |
Top
Properties
Name | Description | |
---|---|---|
IsDeserializing | Returns whether the moniker is being currently used for deserialization (Inherited from SimpleMonikerResolver.) | |
IsDisposed | Gets the moniker resolver and verifies whether it has been disposed. (Inherited from SimpleMonikerResolver.) | |
SerializationContext | Obsolete. Gets or sets the serialization context. (Inherited from SimpleMonikerResolver.) | |
UnresolvedMonikerExceptionMessage | (Inherited from DslDefinitionModelSerializationBehaviorMonikerResolverBase.) |
Top
Methods
Name | Description | |
---|---|---|
AddNewElement | Adds an element during a deserialization transaction. (Inherited from SimpleMonikerResolver.) | |
AddToLookupTable | Adds extra keys to the moniker lookup table that resolves monikers. (Inherited from SimpleMonikerResolver.) | |
CalculateQualifiedName | Calculate the fully qualified monikerized string of the given ModelElement. (Inherited from DslDefinitionModelSerializationBehaviorMonikerResolverBase.) | |
CanBeMonikerized | Tells if a DomainClass can be monikerized or not. (Inherited from DslDefinitionModelSerializationBehaviorMonikerResolverBase.) | |
CreateMoniker | Not currently implemented. (Inherited from SimpleMonikerResolver.) | |
CreateMonikerForToken | Not currently implemented. (Inherited from SimpleMonikerResolver.) | |
DeserializationComplete | (Overrides SimpleMonikerResolver.DeserializationComplete().) | |
Dispose() | Releases all resources used by the SimpleMonikerResolver. (Inherited from SimpleMonikerResolver.) | |
Dispose(Boolean) | Disposes this moniker resolver. (Inherited from SimpleMonikerResolver.) | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Finalizes the moniker resolver but does not dispose it. (Inherited from SimpleMonikerResolver.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnAmbiguousMoniker | Called when two new elements are giving the same moniker, which will cause ambiguity during moniker resolution. (Inherited from DslDefinitionModelSerializationBehaviorMonikerResolverBase.) | |
OnMonikerResolvedToDuplicateLink | Called when resolving a moniker causes a duplicate link to be created. (Inherited from DslDefinitionModelSerializationBehaviorMonikerResolverBase.) | |
OnStoreDisposing | Alerts listeners that the store is disposing. (Inherited from SimpleMonikerResolver.) | |
OnTopLevelTransactionBeginning | Verifies whether there is a new top-level transaction. (Inherited from SimpleMonikerResolver.) | |
OnTransactionRollback | Alerts listeners that the transaction has been rolled back. (Inherited from SimpleMonikerResolver.) | |
OnUnresolvedMoniker | Called at the end of synchronization when they're unresolved monikers. (Inherited from DslDefinitionModelSerializationBehaviorMonikerResolverBase.) | |
ProcessAddedElement | This method is called when an added model element is being processed at the end of deserialization transaction. (Overrides SimpleMonikerResolver.ProcessAddedElement(ModelElement).) | |
Reset | Re-initialises the moniker resolver to its starting state (Inherited from SimpleMonikerResolver.) | |
ResolveMoniker | Resolves a moniker defined Dsl model. Special-case ModelElement to support special relationships that uses ModelElement as target role player (i.e. PresentationViewsSubject). (Overrides SimpleMonikerResolver.ResolveMoniker(Moniker).) | |
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.