/// <summary>
        /// Extension method that will lookup the value of an enumeration by the enumeration type name.
        /// </summary>
        /// <param name="source">The target <see cref="IDotNetEnum"/> model to get the enumeration value from.</param>
        /// <param name="enumName">The target numerical named item to use to lookup the enumeration value.</param>
        /// <returns>The target enumeration value or null if it could not be found.</returns>
        public static string FormatCSharpEnumValueSyntax(this CsEnum source, string enumName)
        {
            var dotNetEnum = source as IDotNetEnum;

            return(dotNetEnum.FormatCSharpEnumValueSyntax(enumName));
        }
        /// <summary>
        /// Extension method that will lookup the enumeration type based on the provided value.
        /// </summary>
        /// <param name="source">The target <see cref="CsEnum"/> model to get the enumeration type from.</param>
        /// <param name="value">The target numerical value to use to lookup the enumeration type.</param>
        /// <returns>The fully qualified enumeration type or null if the enumeration type could not be found.</returns>
        public static string FormatCSharpEnumTypeSyntax(this CsEnum source, string value)
        {
            var dotNetEnum = source as IDotNetEnum;

            return(dotNetEnum.FormatCSharpEnumTypeSyntax(value));
        }