rssframework_bin.zip
DockingManagerExtender.dll
MagicLibrary.DLL
Raccoom.Windows.Forms.dll
Raccoom.Xml.dll
Raccoom.Xml.Editors.exe
rssframework_demo.zip
Raccoom.Bin
DockingManagerExtender.dll
MagicLibrary.DLL
nunit.framework.dll
Raccoom.Windows.Forms
Windows
Forms
Design
Raccoom.Xml.Editors
ActionList
Actions
Design
App.ico
bin
Raccoom.Xml.Editors.csproj.user
Windows
Forms
Raccoom.Xml.Test
Resources
rsschannel.rss
Raccoom.Xml
Properties
Raccoom.Xml.csproj.user
Xml
atom.xsx
rssframework_help.zip
Raccoom.Xml.chm
rssframework_src.zip
rsschannel.rss
Raccoom.Xml.csproj.user
atom.xsx
setup.zip
setup.exe
|
// Copyright � 2009 by Christoph Richner. All rights are reserved.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
//
// website http://www.raccoom.net, email support@raccoom.net, msn chrisdarebell@msn.com
using System;
using System.Xml;
using System.Xml.Serialization;
using System.Reflection;
using System.Net;
namespace Raccoom.Xml
{
/// <summary>
/// ConcreteOpmlFactory implements the operations to create <see cref="IOpmlDocument"/> objects
/// </summary>
public class ConcreteOpmlFactory
: OpmlFactory
{
#region fields
/// <summary>web proxy to use when get feeds from da web</summary>
private System.Net.WebProxy _webProxy;
#endregion
#region constructors
/// <summary>Initializes a new instance of ConcreteOpmlFactory</summary>
public ConcreteOpmlFactory ()
{
}
#endregion
#region public interface
/// <summary>
/// Gets or sets the WebProxy that is used to connect to the network, can be null
/// </summary>
public System.Net.WebProxy Proxy
{
get
{
return _webProxy;
}
set
{
_webProxy = value;
}
}
/// <summary>
/// Gets (create) the requested <see cref="IOpmlDocument"/> instance
/// </summary>
/// <param name="uri">The URI of the resource to receive the data.</param>
/// <returns>The requested see cref="IOpmlDocument" instance</returns>
public override IOpmlDocument GetDocument (Uri uri)
{
return new OpmlDocument(uri, _webProxy);
}
#endregion
}
}
|
By viewing downloads associated with this article you agree to the Terms of use and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.