Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camel Casing everything, even when option explicitly disabled. #19

Closed
Jestar342 opened this issue Nov 7, 2016 · 2 comments
Closed

Camel Casing everything, even when option explicitly disabled. #19

Jestar342 opened this issue Nov 7, 2016 · 2 comments

Comments

@Jestar342
Copy link

Jestar342 commented Nov 7, 2016

My class/interface members are being camelCased even when I explicitly set them to not be.

I created and use the following extensions:

        public static T WithEverythingThatIsPublic<T>(this T builder) where T : ITypeConfigurationBuilder
        {
            return builder
                .WithPublicMethods(c => c.NotCamelCase())
                .WithPublicFields(c => c.NotCamelCase())
                .WithPublicProperties(c => c.NotCamelCase());
        }

        public static T NotCamelCase<T>(this T config) where T : IExportConfiguration<ICamelCaseableAttribute>
        {
            config.AttributePrototype.ShouldBeCamelCased = false;
            return config;
        }

but the output members are always camelcase.

@Jestar342
Copy link
Author

Ugh.. false alarm. My colleague changed the RtCamelCaseForX directives in the settings xml file.

@pavel-b-novikov
Copy link
Member

Well.. Greetings to your colleague

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants