private Agent CreateContributor()
 {
     Agent agent = new Agent();
     agent.SetId("GGG-GGGG");
     agent.SetName("Ryan Heaton");
     return agent;
 }
 /// <summary>
 /// Visits the agent.
 /// </summary>
 /// <param name="agent">The agent to visit.</param>
 public override void VisitAgent(Gx.Agent.Agent agent)
 {
     if (agent.Id != null)
     {
         this.dictionary.Add(agent.Id, agent);
     }
     base.VisitAgent(agent);
 }
 public virtual void VisitAgent(Agent agent)
 {
     //no-op.
 }
 /// <summary>
 /// Visits the agent.
 /// </summary>
 /// <param name="agent">The agent to visit.</param>
 /// <remarks>This specific class implementation does not currently visit the agent.</remarks>
 public virtual void VisitAgent(Gx.Agent.Agent agent)
 {
     //no-op.
 }
 public override void VisitAgent(Agent agent)
 {
     BindIfNeeded(agent);
     base.VisitAgent(agent);
 }