/// <summary>
        /// Gets the format with the specified ID.
        /// </summary>
        /// <param ID="id">Id of the application module.</param>
        /// <returns>The current visitor application module.</returns>
        public IBdoFormatDefinitionDto GetFormatWithId(String id)
        {
            if (id == null)
            {
                return(null);
            }

            return((IBdoFormatDefinitionDto)FormatDefinitions.Find(p => p.Id.KeyEquals(id)));
        }
        /// <summary>
        /// Gets the format with the specified name.
        /// </summary>
        /// <param name="name">Name of the application module.</param>
        /// <returns>The current visitor application module.</returns>
        public IBdoFormatDefinitionDto GetFormatWithName(String name)
        {
            if (name == null)
            {
                return(null);
            }

            return((IBdoFormatDefinitionDto)FormatDefinitions.Find(p => p.KeyEquals(name)));
        }