7a6e207160a9a7d4af698331ea87dfa518636379
[mono.git] / mcs / class / referencesource / System.Activities.Presentation / System.Activities.Core.Presentation / System / Activities / Core / Presentation / WriteLineDesigner.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;
8     using System.Activities.Presentation.Metadata;
9     using System.Activities.Statements;
10     using System.ComponentModel;
11
12     partial class WriteLineDesigner
13     {
14         public WriteLineDesigner()
15         {
16             this.InitializeComponent();
17         }
18
19         public static void RegisterMetadata(AttributeTableBuilder builder)
20         {
21             Type type = typeof(WriteLine);
22             builder.AddCustomAttributes(type, new DesignerAttribute(typeof(WriteLineDesigner)));
23             builder.AddCustomAttributes(type, new ActivityDesignerOptionsAttribute { AllowDrillIn = false });
24         }
25     }
26 }