public static TagEvent CreateTypePriorityChangedEvent(TagTypeModel tagType) { return(new TagEvent(TagEventType.TypePriorityChanged) { TagTypeName = tagType.Name, Argument = tagType.Priority }); }
public static TagEvent CreateTypeAddedEvent(TagTypeModel tagType) { return(new TagEvent(TagEventType.TypeAdded) { TagTypeName = tagType.Name, Argument = tagType }); }
public static TagEvent CreateTypeDescriptionChangedEvent(TagTypeModel tagType) { return(new TagEvent(TagEventType.TypeDescriptionChanged) { TagTypeName = tagType.Name, Argument = tagType.Description }); }
public static TagEvent CreateTypeColorChangedEvent(TagTypeModel tagType) { return(new TagEvent(TagEventType.TypeColorChanged) { TagTypeName = tagType.Name, Argument = tagType.Color }); }