InterfaceGenerator icon indicating copy to clipboard operation
InterfaceGenerator copied to clipboard

VisibilityModifier should be an enum

Open jvzijp opened this issue 1 year ago • 0 comments

Currently the VisibilityModifier option on the GenerateAutoInterfaceAttribute is of type string. I think it would be better to be able to define this setting using an enum.

Theoretically there could be multiple access modifiers. For example "protected internal:". Therefor the enum should have the [Flags] attribute to be able to define multiple access modifiers or just include all allowed combinations.

jvzijp avatar May 12 '23 08:05 jvzijp