Просмотр исходного кода

New files (IFieldInfo.cs,ISoapMessage.cs,ChangeLog)

svn path=/trunk/mcs/; revision=2089
David Dawkins 24 лет назад
Родитель
Сommit
252249354b

+ 5 - 0
mcs/class/corlib/System.Runtime.Serialization.Formatters/ChangeLog

@@ -0,0 +1,5 @@
+2002-01-21  David Dawkins <[email protected]>
+
+	* IFieldInfo.cs : New file
+	* ISoapMessage.cs : New file
+

+ 30 - 0
mcs/class/corlib/System.Runtime.Serialization.Formatters/IFieldInfo.cs

@@ -0,0 +1,30 @@
+//
+// System.Runtime.Serialization.Formatters.IFieldInfo
+//
+// Author:
+//   David Dawkins ([email protected])
+//
+// (C) David Dawkins
+//
+
+namespace System.Runtime.Serialization.Formatters {
+
+	/// <summary>
+	/// Interface for querying field information on serialized objects.</summary>
+	public interface IFieldInfo {
+
+		/// <summary>
+		/// Get or set the field names for serialized objects.</summary>
+		string[] FieldNames {
+			get;
+			set;
+		}
+
+		/// <summary>
+		/// Get or set the field types for serialized objects.</summary>
+		Type[] FieldTypes {
+			get;
+			set;
+		}
+	}
+}

+ 60 - 0
mcs/class/corlib/System.Runtime.Serialization.Formatters/ISoapMessage.cs

@@ -0,0 +1,60 @@
+//
+// System.Runtime.Serialization.Formatters.ISoapMessage
+//
+// Author:
+//   David Dawkins ([email protected])
+//
+// (C) David Dawkins
+//
+
+using System.Runtime.Remoting.Messaging;
+
+namespace System.Runtime.Serialization.Formatters {
+
+	/// <summary>
+	/// Interface for making SOAP method calls</summary>
+	public interface ISoapMessage {
+
+		/// <summary>
+		/// Get or set the headers ("out-of-band" data) for the method call</summary>
+		Header[] Headers {
+			get;
+			set;
+		}
+
+		/// <summary>
+		/// Get or set the method name</summary>
+		string MethodName {
+			get;
+			set;
+		}
+
+		/// <summary>
+		/// Get or set the method parameter names</summary
+		string[] ParamNames {
+			get;
+			set;
+		}
+
+		/// <summary>
+		/// Get or set the method parameter types</summary
+		Type[] ParamTypes {
+			get;
+			set;
+		}
+
+		/// <summary>
+		/// Get or set the method parameter values</summary
+		object[]  ParamValues {
+			get;
+			set;
+		}
+
+		/// <summary>
+		/// Get or set the XML namespace for the location of the called object</summary
+		string XmlNameSpace {
+			get;
+			set;
+		}
+	}
+}