Example #1
0
        public void WithEnvironmentStyle(string prefix = null, params string[] additionalPrefixes)
        {
            WithNamingConvention(NamingConvention.UseEnvironmentStyle(prefix));

            foreach (var additionalPrefix in additionalPrefixes)
            {
                WithNamingConvention(NamingConvention.UseEnvironmentStyle(additionalPrefix));
            }
        }
        public ProducerConfigurationBuilder WithEnvironmentStyle(string prefix = null, params string[] additionalPrefixes)
        {
            WithNamingConvention(NamingConvention.UseEnvironmentStyle(prefix));

            foreach (var additionalPrefix in additionalPrefixes)
            {
                WithNamingConvention(NamingConvention.UseEnvironmentStyle(additionalPrefix));
            }

            return(this);
        }
 internal ProducerConfigurationBuilder WithNamingConvention(NamingConvention namingConvention)
 {
     _namingConventions.Add(namingConvention);
     return(this);
 }
 public ProducerConfigurationBuilder WithNamingConvention(Func <string, string> converter)
 {
     _namingConventions.Add(NamingConvention.UseCustom(converter));
     return(this);
 }
Example #5
0
 public void WithNamingConvention(NamingConvention namingConvention)
 {
     _namingConventions.Add(namingConvention);
 }
Example #6
0
 public void WithNamingConvention(NamingConvention namingConvention)
 {
     _builder.WithNamingConvention(namingConvention);
 }