Class AssignModelReferenceRule<TSemanticElement, TReference>
Denotes the abstract class for a rule that represents a model reference
public abstract class AssignModelReferenceRule<TSemanticElement, TReference> : AssignReferenceRule<TSemanticElement, TReference> where TSemanticElement : class, IModelElement where TReference : class, IModelElement
Type Parameters
TSemanticElementthe type of the semantic element
TReferencethe type of the reference
- Inheritance
-
ResolveRule<TSemanticElement, TReference>AssignReferenceRule<TSemanticElement, TReference>AssignModelReferenceRule<TSemanticElement, TReference>
- Derived
- Inherited Members
Methods
GetReferenceString(TReference, object, ParseContext)
Gets the printed reference for the given object
protected override string GetReferenceString(TReference reference, object contextElement, ParseContext context)
Parameters
referenceTReferencethe referenced object
contextElementobjectthe semantic context element
contextParseContextthe parse context
Returns
- string
a string representation