예제 #1
0
 public static TagEvent CreateTypePriorityChangedEvent(TagTypeModel tagType)
 {
     return(new TagEvent(TagEventType.TypePriorityChanged)
     {
         TagTypeName = tagType.Name,
         Argument = tagType.Priority
     });
 }
예제 #2
0
 public static TagEvent CreateTypeAddedEvent(TagTypeModel tagType)
 {
     return(new TagEvent(TagEventType.TypeAdded)
     {
         TagTypeName = tagType.Name,
         Argument = tagType
     });
 }
예제 #3
0
 public static TagEvent CreateTypeDescriptionChangedEvent(TagTypeModel tagType)
 {
     return(new TagEvent(TagEventType.TypeDescriptionChanged)
     {
         TagTypeName = tagType.Name,
         Argument = tagType.Description
     });
 }
예제 #4
0
 public static TagEvent CreateTypeColorChangedEvent(TagTypeModel tagType)
 {
     return(new TagEvent(TagEventType.TypeColorChanged)
     {
         TagTypeName = tagType.Name,
         Argument = tagType.Color
     });
 }