Mono exception to SocketException
[mono.git] / mcs / class / referencesource / System.Activities.Presentation / System.Activities.Core.Presentation / System / Activities / Core / Presentation / ParallelDesigner.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.Presentation.View;
9     using System.Activities.Presentation.View.OutlineView;
10     using System.Activities.Statements;
11     using System.ComponentModel;
12
13     // <summary>
14     // Paralle Designer
15     // </summary>
16     partial class ParallelDesigner
17     {
18         public ParallelDesigner()
19         {
20             InitializeComponent();
21         }
22
23         public static void RegisterMetadata(AttributeTableBuilder builder)
24         {
25             Type type = typeof(Parallel);
26             builder.AddCustomAttributes(type, new DesignerAttribute(typeof(ParallelDesigner)));
27             builder.AddCustomAttributes(type, type.GetProperty("Branches"), BrowsableAttribute.No);
28             builder.AddCustomAttributes(type, type.GetProperty("Variables"), BrowsableAttribute.No);
29
30             builder.AddCustomAttributes(type, type.GetProperty("Branches"), new ShowPropertyInOutlineViewAttribute() { CurrentPropertyVisible = false });
31             builder.AddCustomAttributes(type, type.GetProperty("CompletionCondition"), new HidePropertyInOutlineViewAttribute());
32         }
33     }
34 }