StripSpaces() static private method

static private StripSpaces ( string value ) : string
value string
return string
Example #1
0
 internal void TrimSpacesInValue()
 {
     if (ValueBuffered)
     {
         XmlTextReaderImpl.StripSpaces(_chars, _valueStartPos, ref _valueLength);
     }
     else
     {
         _value = XmlTextReaderImpl.StripSpaces(_value);
     }
 }
 internal void TrimSpacesInValue()
 {
     if (ValueBuffered)
     {
         Debug.Assert(_chars != null);
         XmlTextReaderImpl.StripSpaces(_chars, _valueStartPos, ref _valueLength);
     }
     else
     {
         Debug.Assert(_value != null);
         _value = XmlTextReaderImpl.StripSpaces(_value);
     }
 }