Example #1
0
 private bool CanConvertToSelectedType()
 {
     if (m_value == null)
     {
         return(true);
     }
     else if (m_value is string)
     {
         return(TypeXmlConvert.CanConvert((string)m_value, m_primitiveType));
     }
     else
     {
         return(TypeConvert.CanConvert(m_value, m_primitiveType));
     }
 }