/// <summary>
        /// Gets a code string generated from the code member.
        /// </summary>
        private static String GetCodeFromMember(ILanguageProvider languageProvider, CodeTypeMember member)
        {
            var provider = languageProvider.GetCodeDomProvider();
            var builder  = new StringBuilder();
            var writer   = new StringWriter(builder);
            var options  = new CodeGeneratorOptions {
                BracingStyle = "C"
            };

            provider.GenerateCodeFromMember(member, writer, options);

            return(builder.ToString());
        }