public GlobalNamingConventionsBuilder ConditionalConventions(IPattern from, IPattern to, Action <ConditionalNamingConventionsBuilder> conventions)
        {
            var conv = new ConditionalNamingConventionsBuilder(this.ConventionDirection, new PatternGroup(from, to));

            conventions(conv);

            this.aConditionalConventionList.Add(conv);

            return(this);
        }
        public GlobalNamingConventionsBuilder ConditionalConventions <TMemberFrom, TMemberTo>(Action <NamingConventionsBuilder> conventions)
        {
            var conv = new ConditionalNamingConventionsBuilder(this.ConventionDirection, new PatternGroup(new Pattern <TMemberFrom>(), new Pattern <TMemberTo>()));

            conventions(conv);

            this.aConditionalConventionList.Add(conv);

            return(this);
        }