/// <summary>
        /// Gets the name of the transformed property.
        /// </summary>
        /// <param name="validationModelPropertyName">
        /// Name of the validation model property.
        /// </param>
        /// <param name="validationModelType">
        /// The validation Model Type.
        /// </param>
        /// <returns>
        /// The transformed property name.
        /// </returns>
        private string GetTransformedPropertyName(string validationModelPropertyName, Type validationModelType)
        {
            if (m_ValidationTransformerManager == null)
            {
                return(null);
            }

            if (validationModelType == null)
            {
                return(null);
            }

            IValidationTransformer validationTransformerForValidationModel = m_ValidationTransformerManager.GetValidationTransformerForValidationModel(validationModelType);

            if (validationTransformerForValidationModel == null)
            {
                return(null);
            }

            MappingMemberInfo mappingMemberInfo = validationTransformerForValidationModel.TransformPropertyNameFromValidationModel(validationModelPropertyName);

            if (mappingMemberInfo != null)
            {
                return(mappingMemberInfo.PropertyName);
            }

            return(null);
        }
        /// <summary>
        /// Gets the member information.
        /// </summary>
        /// <returns>The member info.</returns>
        private MemberInfo GetMemberInfo()
        {
            IValidationTransformerManager validationTransformerManager = ValidatorSettings.ValidationTransformerManager;
            IValidationTransformer        validationTransformer        = validationTransformerManager.GetValidationTransformerForValidationModel(typeof(TEntity));
            MemberInfo memberInfo;

            if (validationTransformer == null)
            {
                memberInfo = MemberInfo;
            }
            else
            {
                MappingMemberInfo mappingMemberInfo = validationTransformer.TransformPropertyNameFromValidationModel(MemberName);
                memberInfo = mappingMemberInfo == null ? MemberInfo : mappingMemberInfo.MemberInfo;
            }

            return(memberInfo);
        }