suffix _Args to Args, Evt to Event
Details
Details
Diff Detail
Diff Detail
- Repository
- rEFL core/efl
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
I agree that the underscore looks weird (we do not use it anywhere in the C# bindings). But EvtEventArgs is even weirder.
Can't we just replace _Args with Args? (I know this is not what the C# guidelines propose)
Comment Actions
Today:
button.ClickedEvt += (object sender, ClickableClickedEvt_Args args) {...};
Current patch
button.ClickedEvt += (object sender, ClickableClickedEvtEventArgs args) {...};
What about: Renaming events to an Event Suffix and only the Args suffix on the structs:
button.ClickedEvent += (object sender, ClickableClickedEventArgs args) {...};
Thoughts @woohyun @segfaultxavi ? This could help with T8163 too.