Table of Contents

Class AssignModelReferenceRule<TSemanticElement, TReference>

Namespace
NMF.AnyText.Model
Assembly
NMF.AnyText.dll

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

TSemanticElement

the type of the semantic element

TReference

the 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

reference TReference

the referenced object

contextElement object

the semantic context element

context ParseContext

the parse context

Returns

string

a string representation