Mono exception to SocketException
[mono.git] / mcs / class / referencesource / System.Activities.Presentation / System.Activities.Core.Presentation / System / Activities / Core / Presentation / TransactionScopeDesigner.xaml.cs
1 //----------------------------------------------------------------
2 // Copyright (c) Microsoft Corporation.  All rights reserved.
3 //----------------------------------------------------------------
4
5 namespace System.Activities.Core.Presentation
6 {
7     using System.Activities.Presentation.Metadata;
8     using System.Activities.Statements;
9
10     using System.ComponentModel;
11
12     partial class TransactionScopeDesigner
13     {
14         public TransactionScopeDesigner()
15         {
16             this.InitializeComponent();
17         }
18
19         public static void RegisterMetadata(AttributeTableBuilder builder)
20         {
21             Type type = typeof(TransactionScope);
22             builder.AddCustomAttributes(type, new DesignerAttribute(typeof(TransactionScopeDesigner)));
23             builder.AddCustomAttributes(type, type.GetProperty("Body"), BrowsableAttribute.No);
24         }
25     }
26 }