public string ToNullable(XmlNullable xmlValue)
        {
            var valueString = this.GetNullableString(xmlValue.Value);

            if (valueString != null)
            {
                return(this.xmlService.GetNode(xmlValue.NodeName, valueString));
            }
            else
            {
                return(this.xmlService.GetNilNode(xmlValue.NodeName));
            }
        }
        public object ToValue(Type propertyType, XmlNullable xmlValue)
        {
            var type = this.assemblyInfoService.GetNullableUnderlyingType(propertyType);

            return(this.assemblyInfoService.ConvertValueToPropertyType(xmlValue.Value, type));
        }