e3bfc8786f407a369719b1430baf53224b9428c2
[mono.git] / mcs / class / referencesource / System.Activities.Presentation / System.Activities.Presentation / System / Activities / Presentation / ArgumentAccessor.cs
1 //----------------------------------------------------------------
2 // <copyright company="Microsoft Corporation">
3 //     Copyright (c) Microsoft Corporation.  All rights reserved.
4 // </copyright>
5 //----------------------------------------------------------------
6
7 namespace System.Activities.Presentation
8 {
9     using System;
10
11     /// <summary>
12     /// A class containing a get/set delegate pair to access an argument in an activity instance.
13     /// </summary>
14     public class ArgumentAccessor
15     {
16         /// <summary>
17         /// Gets or sets the method to retrieve an argument from an activity instance.
18         /// </summary>
19         public Func<Activity, Argument> Getter { get; set; }
20
21         /// <summary>
22         /// Gets or sets the method to set an argument into an activity instance.
23         /// </summary>
24         public Action<Activity, Argument> Setter { get; set; }
25     }
26 }