[amd64/tramp] hide interpreter specific trampoline behind ifdef
[mono.git] / mcs / class / referencesource / System.Activities.Presentation / System.Activities.Presentation / System / Activities / Presentation / Toolbox / ActivityTemplateFactoryBuilder.cs
1 // <copyright>
2 //   Copyright (c) Microsoft Corporation.  All rights reserved.
3 // </copyright>
4
5 namespace System.Activities.Presentation.Toolbox
6 {
7     using System.Activities.Presentation.View;
8     using System.ComponentModel;
9     using System.Reflection;
10     using System.Runtime;
11     using System.Windows.Markup;
12     using System.Xaml;
13
14     /// <summary>
15     /// ActivityTemplateFactoryBuilder represents an ActivityTemplateFactory class. This class is for XAML serialization purpose only and is not expected to be used by developers.
16     /// </summary>
17     [ContentProperty("Implementation")]
18     [Designer(typeof(ActivityTypeDesigner))]
19     public sealed class ActivityTemplateFactoryBuilder
20     {
21         /// <summary>
22         /// Gets or sets the name of an ActivityTemplateFactoryBuilder
23         /// </summary>
24         public string Name
25         {
26             get;
27             set;
28         }
29
30         /// <summary>
31         /// Gets or sets the TargetType of an ActivityTemplateFactoryBuilder
32         /// </summary>
33         [DependsOn("Name")]
34         [DefaultValue(null)]
35         public Type TargetType
36         {
37             get;
38             set;
39         }
40
41         /// <summary>
42         /// Gets or sets the implementation of an ActivityTemplateFactoryBuilder
43         /// </summary>
44         [DependsOn("TargetType")]
45         [Browsable(false)]
46         public object Implementation { get; set; }
47     }
48 }