In .:
[mono.git] / mcs / class / System.Messaging / System.Messaging / XmlMessageFormatter.cs
index 847c0b1bfaadb244cee14f254f0d1a853e0bc1dd..8db5fe175acd6ad7fe9618602790b5193a6bf5ed 100644 (file)
@@ -7,8 +7,31 @@
 //\r
 //     (C) 2003 Peter Van Isacker\r
 //\r
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+\r
 using System;\r
 using System.Collections;\r
+using System.ComponentModel;\r
 \r
 namespace System.Messaging \r
 {\r
@@ -37,7 +60,8 @@ namespace System.Messaging
                private void initializeFromNames(string[] targetTypeNames)\r
                {\r
                }\r
-               \r
+\r
+               [MessagingDescription ("XmlMsgTargetTypeNames")]\r
                public string[] TargetTypeNames \r
                {\r
                        get \r
@@ -52,8 +76,11 @@ namespace System.Messaging
                        }\r
                        set { initializeFromNames(value); }\r
                }\r
-               \r
-               public Type[] TargetTypes \r
+\r
+               [Browsable (false)]\r
+               [DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)]\r
+               [MessagingDescription ("XmlMsgTargetTypes")]\r
+               public Type[] TargetTypes\r
                {\r
                        get {return this.targetTypes;}\r
                        set {targetTypes = value;}\r