SimpleMonikerResolver Class
Resolves simple string references when the model is serialized using the default XML serialization.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.SimpleMonikerResolver
Microsoft.VisualStudio.Modeling.Diagrams.CoreDesignSurfaceSerializationBehaviorMonikerResolver
Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelSerializationBehaviorMonikerResolverBase
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaration
Public MustInherit Class SimpleMonikerResolver _
Implements IMonikerResolver, IDisposable
public abstract class SimpleMonikerResolver : IMonikerResolver,
IDisposable
public ref class SimpleMonikerResolver abstract : IMonikerResolver,
IDisposable
[<AbstractClass>]
type SimpleMonikerResolver =
class
interface IMonikerResolver
interface IDisposable
end
public abstract class SimpleMonikerResolver implements IMonikerResolver, IDisposable
The SimpleMonikerResolver type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SimpleMonikerResolver | Initializes a new instance of the SimpleMonikerResolver class. |
Top
Properties
Name | Description | |
---|---|---|
IsDeserializing | Returns whether the moniker is being currently used for deserialization | |
IsDisposed | Gets the moniker resolver and verifies whether it has been disposed. | |
SerializationContext | Obsolete. Gets or sets the serialization context. | |
UnresolvedMonikerExceptionMessage | Gets the error message for the unresolved moniker exception. |
Top
Methods
Name | Description | |
---|---|---|
AddNewElement | Adds an element during a deserialization transaction. | |
AddToLookupTable | Adds extra keys to the moniker lookup table that resolves monikers. | |
CalculateQualifiedName | Calculates the fully-qualified monikerized string of a given element. | |
CanBeMonikerized | Indicates whether a domain class can be monikerized. | |
CreateMoniker | Not currently implemented. | |
CreateMonikerForToken | Not currently implemented. | |
DeserializationComplete | Indicates serialization is complete or was aborted. | |
Dispose() | Releases all resources used by the SimpleMonikerResolver. | |
Dispose(Boolean) | Disposes this moniker resolver. | |
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. (Overrides Object.Finalize().) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsFullyQualified | Indicates whether the input string is a fully-qualified reference. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnAmbiguousMoniker | Verifies whether two elements have the same moniker. | |
OnMonikerResolvedToDuplicateLink | Checks to see if a moniker has a duplicate link. | |
OnStoreDisposing | Alerts listeners that the store is disposing. | |
OnTopLevelTransactionBeginning | Verifies whether there is a new top-level transaction. | |
OnTransactionRollback | Alerts listeners that the transaction has been rolled back. | |
OnUnresolvedMoniker | Checks to see whether there are unresolved monikers. | |
ProcessAddedElement | Checks to verify whether an element that was created during deserialization has been processed and its moniker added to the lookup table. | |
Reset | Re-initialises the moniker resolver to its starting state | |
ResolveMoniker | Resolves a moniker to one element. | |
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.