Exemplo n.º 1
0
 public static MvcHtmlString GetLink(this HtmlHelper helper, AntiGoal antigoal)
 {
     return helper.ActionLink (antigoal.FriendlyName, "GoalModel");
 }
Exemplo n.º 2
0
 public void Add(AntiGoal antiGoal)
 {
     this.SubAntiGoalIdentifiers.Add (antiGoal.Identifier);
 }
Exemplo n.º 3
0
 public void SetParentAntiGoal(AntiGoal element)
 {
     this.ParentAntiGoalIdentifier = element.Identifier;
 }
        protected void Render(AntiGoal antigoal)
        {
            int lineWidth = 1;
            if (antigoal.AgentAssignments().Count() > 0)
                lineWidth = 2;

            AddParallelogram (antigoal.Identifier, antigoal.FriendlyName,
                lineWidth, 1, 234.0/255, 192.0/255);
        }