public void IgnoreCanceled_Set_Get() { var attribute = new EventHandlerAttribute("test"); attribute.IgnoreCanceled = false; Assert.False(attribute.IgnoreCanceled); }
public void Priority_Set_Get() { var attribute = new EventHandlerAttribute("test"); attribute.Priority = EventPriority.Highest; Assert.Equal(EventPriority.Highest, attribute.Priority); }
public void Name_Get() { var attribute = new EventHandlerAttribute("test"); Assert.Equal("test", attribute.Name); }