public HtmlTag VisualizePartial(BehaviorStart start)
        {
            var description = Description.For(start.Correlation.Node);

            return new HtmlTag("div", div =>
            {
                div.Append(new LiteralTag("Starting "));
                div.Add("i").Text(description.Title);
                div.PrependGlyph("icon-chevron-down");
            });
        }
Exemple #2
0
 public bool Equals(BehaviorStart other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Equals(other._correlation, _correlation));
 }
Exemple #3
0
 public bool Equals(BehaviorStart other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return Equals(other._correlation, _correlation);
 }