C# Class BVNetwork.NotFound.Core.CustomRedirects.RedirectsXmlParser

Class for reading and writing to the custom redirects file
Mostra file Open project: BVNetwork/404handler Class Usage Examples

Public Methods

Method Description
Export ( List redirects ) : XmlDocument
Load ( ) : BVNetwork.NotFound.Core.CustomRedirects.CustomRedirectCollection

Parses the xml file and reads all redirects.

RedirectsXmlParser ( ) : System.Collections.Generic
RedirectsXmlParser ( Stream xmlContent ) : System.Collections.Generic

Reads the custom redirects information from the specified xml file

Method Details

Export() public method

public Export ( List redirects ) : XmlDocument
redirects List
return System.Xml.XmlDocument

Load() public method

Parses the xml file and reads all redirects.
public Load ( ) : BVNetwork.NotFound.Core.CustomRedirects.CustomRedirectCollection
return BVNetwork.NotFound.Core.CustomRedirects.CustomRedirectCollection

RedirectsXmlParser() public method

public RedirectsXmlParser ( ) : System.Collections.Generic
return System.Collections.Generic

RedirectsXmlParser() public method

Reads the custom redirects information from the specified xml file
public RedirectsXmlParser ( Stream xmlContent ) : System.Collections.Generic
xmlContent System.IO.Stream
return System.Collections.Generic