+2002-08-03 Tim Coleman <tim@timcoleman.com>
+ * DiscoveryDocument.cs:
+ Added XmlIgnore attribute to References property
+ * DiscoveryDocumentReference.cs:
+ Implemented Ref/Url properties and added XmlIgnore
+ attributes.
+
2002-07-28 Dave Bettin <javabettin@yahoo.com>
* ContractReference.cs
* ContractSearchPattern.cs
* XmlSchemaSearchPattern.cs
[ Added stubs]
-
\ No newline at end of file
+
//\r
// Author:\r
// Dave Bettin (javabettin@yahoo.com)\r
+// Tim Coleman (tim@timcoleman.com) \r
//\r
// Copyright (C) Dave Bettin, 2002\r
+// Copyright (C) Tim Coleman, 2002\r
//\r
\r
using System.Collections;\r
using System.IO;\r
using System.Xml;\r
+using System.Xml.Serialization;\r
\r
namespace System.Web.Services.Discovery {\r
public sealed class DiscoveryDocument {\r
#endregion // Constructors\r
\r
#region Properties\r
- \r
+ \r
+ [XmlIgnore]\r
public IList References {\r
[MonoTODO]\r
get { throw new NotImplementedException (); }\r
//\r
// Author:\r
// Dave Bettin (javabettin@yahoo.com)\r
+// Tim Coleman (tim@timcoleman.com)\r
//\r
// Copyright (C) Dave Bettin, 2002\r
+// Copyright (C) Tim Coleman, 2002\r
//\r
\r
using System.IO;\r
using System.Web.Services.Description;\r
+using System.Xml.Serialization;\r
\r
namespace System.Web.Services.Discovery {\r
public sealed class DiscoveryDocumentReference : DiscoveryReference {\r
\r
+ #region Fields\r
+\r
+ string href;\r
+\r
+ #endregion // Fields\r
+\r
#region Constructors\r
\r
[MonoTODO]\r
public DiscoveryDocumentReference () \r
{\r
- throw new NotImplementedException ();\r
+ href = String.Empty;\r
}\r
\r
- [MonoTODO]\r
- public DiscoveryDocumentReference (string href) : this() \r
+ public DiscoveryDocumentReference (string href) : this () \r
{\r
- throw new NotImplementedException ();\r
+ this.href = href;\r
} \r
\r
#endregion // Constructors\r
#region Properties\r
\r
[MonoTODO]\r
+ [XmlIgnore]\r
public DiscoveryDocument Document {\r
[MonoTODO]\r
get { throw new NotImplementedException (); }\r
}\r
\r
[MonoTODO]\r
+ [XmlIgnore]\r
public override string DefaultFilename {\r
[MonoTODO]\r
get { throw new NotImplementedException (); }\r
}\r
- \r
- [MonoTODO]\r
+ \r
+ [MonoTODO ("Set the XmlAttribute on this.")]\r
public string Ref {\r
- [MonoTODO]\r
- get { throw new NotImplementedException (); }\r
- \r
- [MonoTODO]\r
- set { throw new NotImplementedException (); }\r
+ get { return href; }\r
+ set { href = value; }\r
}\r
\r
- [MonoTODO]\r
+ [XmlIgnore]\r
public override string Url {\r
- [MonoTODO]\r
- get { throw new NotImplementedException (); }\r
- \r
- [MonoTODO]\r
- set { throw new NotImplementedException (); }\r
+ get { return Ref; }\r
+ set { Ref = value; }\r
}\r
\r
#endregion // Properties\r