Class AddAssignModelReferenceRule<TSemanticElement, TReference>
Denotes the abstract class for a rule that represents a model reference assigned to a collection
public abstract class AddAssignModelReferenceRule<TSemanticElement, TReference> : AddAssignReferenceRule<TSemanticElement, TReference> where TSemanticElement : class, IModelElement where TReference : class, IModelElement
Type Parameters
TSemanticElement
the type of the semantic element
TReference
the type of the reference
- Inheritance
-
ResolveRule<TSemanticElement, TReference>AddAssignReferenceRule<TSemanticElement, TReference>AddAssignModelReferenceRule<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
reference
TReferencethe referenced object
contextElement
objectthe semantic context element
context
ParseContextthe parse context
Returns
- string
a string representation