Esempio n. 1
0
 /// <summary>
 /// Binds another IReferencer, generally another Pronoun but possibly a PronounPhrase, to refer to the Pronoun.
 /// </summary>
 /// <param name="referencer">An IReferencer which will be bound to refer to the Pronoun.</param>
 public virtual void BindReferencer(IReferencer referencer)
 {
     boundPronouns.Add(referencer);
     referencer.BindAsReferringTo(new AggregateEntity(this, this.RefersTo));
 }
Esempio n. 2
0
 /// <summary>
 /// Binds an EntityReferencer, generally a Pronoun or PronounPhrase to refer to the RelativePronoun.
 /// </summary>
 /// <param name="referencer">The EntityReferency to Bind.</param>
 public void BindReferencer(IReferencer referencer)
 {
     referencers = referencers.Add(referencer);
     referencer.BindAsReferringTo(this);
 }
Esempio n. 3
0
 /// <summary>
 /// Binds the <see cref="IReferencer"/> as referencing this.
 /// </summary>
 /// <param name="referencer">The <see cref="IReferencer"/> to which to bind.</param>
 public override void BindReferencer(IReferencer referencer)
 {
     base.BindReferencer(referencer);
     referencer.BindAsReferringTo(this.RefersTo);
 }