public virtual void VisitEvidenceReference(EvidenceReference evidenceReference)
 {
     //no-op
 }
Пример #2
0
 /**
  * Build up this subject with an evidence reference.
  *
  * @param evidence The evidence reference.
  * @return this.
  */
 public Subject SetEvidence(EvidenceReference evidence)
 {
     AddEvidence(evidence);
     return this;
 }
 public override void VisitEvidenceReference(EvidenceReference evidenceReference)
 {
     BindIfNeeded(evidenceReference);
     base.VisitEvidenceReference(evidenceReference);
 }
Пример #4
0
 /**
  * Add an evidence reference for this subject.
  *
  * @param evidenceRef The evidence to be added.
  */
 public void AddEvidence(EvidenceReference evidenceRef)
 {
     if (evidenceRef != null)
     {
         if (_evidence == null)
         {
             _evidence = new List<EvidenceReference>();
         }
         _evidence.Add(evidenceRef);
     }
 }
Пример #5
0
 /**
  * Build up this subject with an persona reference.
  *
  * @param persona The persona reference.
  * @return this.
  */
 public Subject SetPersonaReference(EvidenceReference persona)
 {
     AddEvidence(persona);
     return this;
 }