| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- //
- // System.Web.Services.Discovery.DiscoveryReference.cs
- //
- // Author:
- // Dave Bettin ([email protected])
- //
- // Copyright (C) Dave Bettin, 2002
- //
- using System.IO;
- using System.Xml.Serialization;
- namespace System.Web.Services.Discovery {
- public abstract class DiscoveryReference {
-
- #region Fields
- private string defaultFilename;
- private DiscoveryClientProtocol clientProtocol;
- #endregion // Fields
- #region Constructors
- [MonoTODO]
- protected DiscoveryReference ()
- {
- throw new NotImplementedException ();
- }
-
- #endregion // Constructors
- #region Properties
- [XmlIgnore]
- public DiscoveryClientProtocol ClientProtocol {
- get { return clientProtocol; }
- set { clientProtocol = value; }
-
- }
-
- [XmlIgnore]
- public virtual string DefaultFilename {
- get { return defaultFilename; }
- }
-
- [XmlIgnore]
- public abstract string Url {
- get;
- set;
- }
-
- #endregion // Properties
- #region Methods
- [MonoTODO]
- protected static string FilenameFromUrl (string url)
- {
- throw new NotImplementedException ();
- }
-
- public abstract object ReadDocument (Stream stream);
-
- [MonoTODO]
- public void Resolve ()
- {
- throw new NotImplementedException ();
- }
-
- protected internal abstract void Resolve (string contentType, Stream stream);
-
- public abstract void WriteDocument (object document, Stream stream);
- #endregion // Methods
- }
- }
|