MonikerizeReference Method
Collapse the table of content
Expand the table of content

LinkConnectDirectiveReferencesDomainRelationshipSerializer.MonikerizeReference Method

Calculates a Moniker, given a reference to a DomainRelationship

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

public override Moniker MonikerizeReference(
	SerializationContext serializationContext,
	ModelElement sourceElement,
	Guid domainClassId,
	string monikerString,
	Store store
)

Parameters

serializationContext
Type: Microsoft.VisualStudio.Modeling.SerializationContext

Serialization context.

sourceElement
Type: Microsoft.VisualStudio.Modeling.ModelElement

Instance of LinkConnectDirective that contains the given serialized reference

domainClassId
Type: Guid

DomainClassId of the model element that the given moniker string will be resolved to.

monikerString
Type: String

Serialized string reference to an instance of DomainRelationship

store
Type: Microsoft.VisualStudio.Modeling.Store

Store where the Moniker will be created

Return Value

Type: Microsoft.VisualStudio.Modeling.Moniker
A Moniker encapsulating the serialized string reference of DomainRelationship instance

Show:
© 2016 Microsoft