示例#1
0
 public void AddTag(FlowTag tag)
 {
     if (this.tags.Contains(tag.id) == false)
     {
         this.tags.Add(tag.id);
     }
 }
示例#2
0
		public void RemoveTag(FlowWindow window, FlowTag tag) {
			
			window.RemoveTag(tag);

			this.isDirty = true;

		}
示例#3
0
        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;
        }
示例#4
0
		public void RemoveTag(FlowWindow window, FlowTag tag) {
			
			window.RemoveTag(tag);

			this.isDirty = true;

		}
示例#5
0
		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);

		}
示例#8
0
 public static void RemoveTag(FlowWindow window, FlowTag tag)
 {
     FlowSystem.instance.data.RemoveTag(window, tag);
 }
示例#9
0
 public static void AddTag(FlowWindow window, FlowTag tag)
 {
     FlowSystem.instance.data.AddTag(window, tag);
 }
示例#10
0
 public void RemoveTag(FlowTag tag)
 {
     this.tags.Remove(tag.id);
 }
示例#11
0
		public void RemoveTag(FlowTag tag) {

			this.tags.Remove(tag.id);

		}
示例#12
0
		public void AddTag(FlowTag tag) {
			
			if (this.tags.Contains(tag.id) == false) {

				this.tags.Add(tag.id);

			}

		}