public bool IsTimelineContain(LINK_TYPE linkType, int modifierID) { return(_timelines.Exists(delegate(apAnimTimeline a) { if (linkType == LINK_TYPE.AnimatedModifier) { return a._linkType == linkType && a._modifierUniqueID == modifierID; } else { return a._linkType == linkType; } })); }
public Link(LINK_TYPE type, ComponentWrapper start, ComponentWrapper end) { this.Type = type; this.StartComponent = start; this.EndComponent = end; }
public void SetLinkType(Object sender, EventArgs e) { LINK_TYPE? nextLinkType = GetNextLinkType(); if (!nextLinkType.Equals(null)) { linkType = (LINK_TYPE)nextLinkType; } SetLinkDashStyle(); }