I just wanted to blog about some interesting API design discussion we had recently. We discussed whether to relax the event design guidelines to allow value type "event args." This would make raising some events cheaper.
public struct SomethingHappenedEventArgs { public string SomeArgument { get; set; }}
public class SomeType { public EventHandler<SomethingHappenedEventArgs> SomethingHappened;}
- kc