C# Class Dev2.StringExtension

显示文件 Open project: Warewolf-ESB/Warewolf

Public Methods

Method Description
IsDate ( this payload ) : bool
IsJSON ( this payload ) : bool
IsXml ( string data, bool &isFragment ) : bool

Checks if the info contained in data is well formed XML

IsXml ( this payload ) : bool

Private Methods

Method Description
IsXml ( string data, bool &isFragment, bool &isHtml ) : bool

Checks if the info contained in data is well formed XML

Method Details

IsDate() public static method

public static IsDate ( this payload ) : bool
payload this
return bool

IsJSON() public static method

public static IsJSON ( this payload ) : bool
payload this
return bool

IsXml() public static method

Checks if the info contained in data is well formed XML
public static IsXml ( string data, bool &isFragment ) : bool
data string
isFragment bool
return bool

IsXml() public static method

public static IsXml ( this payload ) : bool
payload this
return bool