public void AddTag(FlowTag tag) { if (this.tags.Contains(tag.id) == false) { this.tags.Add(tag.id); } }
public void RemoveTag(FlowWindow window, FlowTag tag) { window.RemoveTag(tag); this.isDirty = true; }
public void AddTag(FlowWindow window, FlowTag tag) { var contains = this.tags.FirstOrDefault((t) => t.title.ToLower() == tag.title.ToLower()); if (contains == null) { this.tags.Add(tag); } else { tag = contains; } window.AddTag(tag); this.isDirty = true; }
public static void RemoveTag(FlowWindow window, FlowTag tag) { FlowSystem.instance.data.RemoveTag(window, tag); }
public static void AddTag(FlowWindow window, FlowTag tag) { FlowSystem.instance.data.AddTag(window, tag); }
public void RemoveTag(FlowTag tag) { this.tags.Remove(tag.id); }