Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / System.Activities / System / Activities / ActivityAction.cs / 1305376 / ActivityAction.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.Activities { using System.ComponentModel; using System.Collections.Generic; public sealed class ActivityAction : ActivityDelegate { static readonly IListEmptyDelegateParameters = new List (0); public ActivityAction() { } internal override IList InternalGetRuntimeDelegateArguments() { return ActivityAction.EmptyDelegateParameters; } } public sealed class ActivityAction : ActivityDelegate { public ActivityAction() { } [DefaultValue(null)] public DelegateInArgument Argument { get; set; } internal override IList InternalGetRuntimeDelegateArguments() { IList result = new List (1) { {new RuntimeDelegateArgument(ActivityDelegate.ArgumentName, typeof(T), ArgumentDirection.In, this.Argument)} }; return result; } } public sealed class ActivityAction : ActivityDelegate { public ActivityAction() { } [DefaultValue(null)] public DelegateInArgument Argument1 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument2 { get; set; } internal override IList InternalGetRuntimeDelegateArguments() { IList result = new List (2) { {new RuntimeDelegateArgument(ActivityDelegate.Argument1Name, typeof(T1), ArgumentDirection.In, this.Argument1)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument2Name, typeof(T2), ArgumentDirection.In, this.Argument2)} }; return result; } } public sealed class ActivityAction : ActivityDelegate { public ActivityAction() { } [DefaultValue(null)] public DelegateInArgument Argument1 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument2 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument3 { get; set; } internal override IList InternalGetRuntimeDelegateArguments() { IList result = new List (3) { {new RuntimeDelegateArgument(ActivityDelegate.Argument1Name, typeof(T1), ArgumentDirection.In, this.Argument1)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument2Name, typeof(T2), ArgumentDirection.In, this.Argument2)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument3Name, typeof(T3), ArgumentDirection.In, this.Argument3)} }; return result; } } public sealed class ActivityAction : ActivityDelegate { public ActivityAction() { } [DefaultValue(null)] public DelegateInArgument Argument1 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument2 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument3 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument4 { get; set; } internal override IList InternalGetRuntimeDelegateArguments() { IList result = new List (4) { {new RuntimeDelegateArgument(ActivityDelegate.Argument1Name, typeof(T1), ArgumentDirection.In, this.Argument1)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument2Name, typeof(T2), ArgumentDirection.In, this.Argument2)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument3Name, typeof(T3), ArgumentDirection.In, this.Argument3)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument4Name, typeof(T4), ArgumentDirection.In, this.Argument4)} }; return result; } } public sealed class ActivityAction : ActivityDelegate { public ActivityAction() { } [DefaultValue(null)] public DelegateInArgument Argument1 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument2 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument3 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument4 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument5 { get; set; } internal override IList InternalGetRuntimeDelegateArguments() { IList result = new List (5) { {new RuntimeDelegateArgument(ActivityDelegate.Argument1Name, typeof(T1), ArgumentDirection.In, this.Argument1)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument2Name, typeof(T2), ArgumentDirection.In, this.Argument2)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument3Name, typeof(T3), ArgumentDirection.In, this.Argument3)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument4Name, typeof(T4), ArgumentDirection.In, this.Argument4)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument5Name, typeof(T5), ArgumentDirection.In, this.Argument5)} }; return result; } } public sealed class ActivityAction : ActivityDelegate { public ActivityAction() { } [DefaultValue(null)] public DelegateInArgument Argument1 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument2 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument3 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument4 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument5 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument6 { get; set; } internal override IList InternalGetRuntimeDelegateArguments() { IList result = new List (6) { {new RuntimeDelegateArgument(ActivityDelegate.Argument1Name, typeof(T1), ArgumentDirection.In, this.Argument1)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument2Name, typeof(T2), ArgumentDirection.In, this.Argument2)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument3Name, typeof(T3), ArgumentDirection.In, this.Argument3)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument4Name, typeof(T4), ArgumentDirection.In, this.Argument4)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument5Name, typeof(T5), ArgumentDirection.In, this.Argument5)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument6Name, typeof(T6), ArgumentDirection.In, this.Argument6)}, }; return result; } } public sealed class ActivityAction : ActivityDelegate { public ActivityAction() { } [DefaultValue(null)] public DelegateInArgument Argument1 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument2 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument3 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument4 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument5 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument6 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument7 { get; set; } [DefaultValue(null)] internal override IList InternalGetRuntimeDelegateArguments() { IList result = new List (7) { {new RuntimeDelegateArgument(ActivityDelegate.Argument1Name, typeof(T1), ArgumentDirection.In, this.Argument1)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument2Name, typeof(T2), ArgumentDirection.In, this.Argument2)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument3Name, typeof(T3), ArgumentDirection.In, this.Argument3)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument4Name, typeof(T4), ArgumentDirection.In, this.Argument4)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument5Name, typeof(T5), ArgumentDirection.In, this.Argument5)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument6Name, typeof(T6), ArgumentDirection.In, this.Argument6)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument7Name, typeof(T7), ArgumentDirection.In, this.Argument7)}, }; return result; } } public sealed class ActivityAction : ActivityDelegate { public ActivityAction() { } [DefaultValue(null)] public DelegateInArgument Argument1 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument2 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument3 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument4 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument5 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument6 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument7 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument8 { get; set; } internal override IList InternalGetRuntimeDelegateArguments() { IList result = new List (8) { {new RuntimeDelegateArgument(ActivityDelegate.Argument1Name, typeof(T1), ArgumentDirection.In, this.Argument1)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument2Name, typeof(T2), ArgumentDirection.In, this.Argument2)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument3Name, typeof(T3), ArgumentDirection.In, this.Argument3)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument4Name, typeof(T4), ArgumentDirection.In, this.Argument4)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument5Name, typeof(T5), ArgumentDirection.In, this.Argument5)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument6Name, typeof(T6), ArgumentDirection.In, this.Argument6)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument7Name, typeof(T7), ArgumentDirection.In, this.Argument7)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument8Name, typeof(T8), ArgumentDirection.In, this.Argument8)}, }; return result; } } public sealed class ActivityAction : ActivityDelegate { public ActivityAction() { } [DefaultValue(null)] public DelegateInArgument Argument1 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument2 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument3 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument4 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument5 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument6 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument7 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument8 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument9 { get; set; } internal override IList InternalGetRuntimeDelegateArguments() { IList result = new List (9) { {new RuntimeDelegateArgument(ActivityDelegate.Argument1Name, typeof(T1), ArgumentDirection.In, this.Argument1)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument2Name, typeof(T2), ArgumentDirection.In, this.Argument2)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument3Name, typeof(T3), ArgumentDirection.In, this.Argument3)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument4Name, typeof(T4), ArgumentDirection.In, this.Argument4)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument5Name, typeof(T5), ArgumentDirection.In, this.Argument5)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument6Name, typeof(T6), ArgumentDirection.In, this.Argument6)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument7Name, typeof(T7), ArgumentDirection.In, this.Argument7)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument8Name, typeof(T8), ArgumentDirection.In, this.Argument8)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument9Name, typeof(T9), ArgumentDirection.In, this.Argument9)}, }; return result; } } public sealed class ActivityAction : ActivityDelegate { public ActivityAction() { } [DefaultValue(null)] public DelegateInArgument Argument1 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument2 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument3 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument4 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument5 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument6 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument7 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument8 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument9 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument10 { get; set; } internal override IList InternalGetRuntimeDelegateArguments() { IList result = new List (10) { {new RuntimeDelegateArgument(ActivityDelegate.Argument1Name, typeof(T1), ArgumentDirection.In, this.Argument1)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument2Name, typeof(T2), ArgumentDirection.In, this.Argument2)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument3Name, typeof(T3), ArgumentDirection.In, this.Argument3)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument4Name, typeof(T4), ArgumentDirection.In, this.Argument4)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument5Name, typeof(T5), ArgumentDirection.In, this.Argument5)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument6Name, typeof(T6), ArgumentDirection.In, this.Argument6)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument7Name, typeof(T7), ArgumentDirection.In, this.Argument7)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument8Name, typeof(T8), ArgumentDirection.In, this.Argument8)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument9Name, typeof(T9), ArgumentDirection.In, this.Argument9)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument10Name, typeof(T10), ArgumentDirection.In, this.Argument10)}, }; return result; } } public sealed class ActivityAction : ActivityDelegate { public ActivityAction() { } [DefaultValue(null)] public DelegateInArgument Argument1 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument2 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument3 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument4 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument5 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument6 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument7 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument8 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument9 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument10 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument11 { get; set; } internal override IList InternalGetRuntimeDelegateArguments() { IList result = new List (11) { {new RuntimeDelegateArgument(ActivityDelegate.Argument1Name, typeof(T1), ArgumentDirection.In, this.Argument1)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument2Name, typeof(T2), ArgumentDirection.In, this.Argument2)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument3Name, typeof(T3), ArgumentDirection.In, this.Argument3)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument4Name, typeof(T4), ArgumentDirection.In, this.Argument4)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument5Name, typeof(T5), ArgumentDirection.In, this.Argument5)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument6Name, typeof(T6), ArgumentDirection.In, this.Argument6)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument7Name, typeof(T7), ArgumentDirection.In, this.Argument7)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument8Name, typeof(T8), ArgumentDirection.In, this.Argument8)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument9Name, typeof(T9), ArgumentDirection.In, this.Argument9)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument10Name, typeof(T10), ArgumentDirection.In, this.Argument10)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument11Name, typeof(T11), ArgumentDirection.In, this.Argument11)}, }; return result; } } public sealed class ActivityAction : ActivityDelegate { public ActivityAction() { } [DefaultValue(null)] public DelegateInArgument Argument1 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument2 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument3 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument4 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument5 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument6 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument7 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument8 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument9 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument10 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument11 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument12 { get; set; } internal override IList InternalGetRuntimeDelegateArguments() { IList result = new List (12) { {new RuntimeDelegateArgument(ActivityDelegate.Argument1Name, typeof(T1), ArgumentDirection.In, this.Argument1)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument2Name, typeof(T2), ArgumentDirection.In, this.Argument2)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument3Name, typeof(T3), ArgumentDirection.In, this.Argument3)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument4Name, typeof(T4), ArgumentDirection.In, this.Argument4)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument5Name, typeof(T5), ArgumentDirection.In, this.Argument5)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument6Name, typeof(T6), ArgumentDirection.In, this.Argument6)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument7Name, typeof(T7), ArgumentDirection.In, this.Argument7)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument8Name, typeof(T8), ArgumentDirection.In, this.Argument8)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument9Name, typeof(T9), ArgumentDirection.In, this.Argument9)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument10Name, typeof(T10), ArgumentDirection.In, this.Argument10)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument11Name, typeof(T11), ArgumentDirection.In, this.Argument11)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument12Name, typeof(T12), ArgumentDirection.In, this.Argument12)}, }; return result; } } public sealed class ActivityAction : ActivityDelegate { public ActivityAction() { } [DefaultValue(null)] public DelegateInArgument Argument1 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument2 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument3 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument4 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument5 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument6 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument7 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument8 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument9 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument10 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument11 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument12 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument13 { get; set; } internal override IList InternalGetRuntimeDelegateArguments() { IList result = new List (13) { {new RuntimeDelegateArgument(ActivityDelegate.Argument1Name, typeof(T1), ArgumentDirection.In, this.Argument1)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument2Name, typeof(T2), ArgumentDirection.In, this.Argument2)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument3Name, typeof(T3), ArgumentDirection.In, this.Argument3)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument4Name, typeof(T4), ArgumentDirection.In, this.Argument4)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument5Name, typeof(T5), ArgumentDirection.In, this.Argument5)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument6Name, typeof(T6), ArgumentDirection.In, this.Argument6)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument7Name, typeof(T7), ArgumentDirection.In, this.Argument7)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument8Name, typeof(T8), ArgumentDirection.In, this.Argument8)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument9Name, typeof(T9), ArgumentDirection.In, this.Argument9)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument10Name, typeof(T10), ArgumentDirection.In, this.Argument10)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument11Name, typeof(T11), ArgumentDirection.In, this.Argument11)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument12Name, typeof(T12), ArgumentDirection.In, this.Argument12)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument13Name, typeof(T13), ArgumentDirection.In, this.Argument13)} }; return result; } } public sealed class ActivityAction : ActivityDelegate { public ActivityAction() { } [DefaultValue(null)] public DelegateInArgument Argument1 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument2 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument3 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument4 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument5 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument6 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument7 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument8 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument9 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument10 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument11 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument12 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument13 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument14 { get; set; } internal override IList InternalGetRuntimeDelegateArguments() { IList result = new List (14) { {new RuntimeDelegateArgument(ActivityDelegate.Argument1Name, typeof(T1), ArgumentDirection.In, this.Argument1)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument2Name, typeof(T2), ArgumentDirection.In, this.Argument2)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument3Name, typeof(T3), ArgumentDirection.In, this.Argument3)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument4Name, typeof(T4), ArgumentDirection.In, this.Argument4)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument5Name, typeof(T5), ArgumentDirection.In, this.Argument5)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument6Name, typeof(T6), ArgumentDirection.In, this.Argument6)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument7Name, typeof(T7), ArgumentDirection.In, this.Argument7)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument8Name, typeof(T8), ArgumentDirection.In, this.Argument8)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument9Name, typeof(T9), ArgumentDirection.In, this.Argument9)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument10Name, typeof(T10), ArgumentDirection.In, this.Argument10)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument11Name, typeof(T11), ArgumentDirection.In, this.Argument11)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument12Name, typeof(T12), ArgumentDirection.In, this.Argument12)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument13Name, typeof(T13), ArgumentDirection.In, this.Argument13)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument14Name, typeof(T14), ArgumentDirection.In, this.Argument14)} }; return result; } } public sealed class ActivityAction : ActivityDelegate { public ActivityAction() { } [DefaultValue(null)] public DelegateInArgument Argument1 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument2 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument3 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument4 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument5 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument6 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument7 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument8 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument9 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument10 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument11 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument12 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument13 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument14 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument15 { get; set; } internal override IList InternalGetRuntimeDelegateArguments() { IList result = new List (15) { {new RuntimeDelegateArgument(ActivityDelegate.Argument1Name, typeof(T1), ArgumentDirection.In, this.Argument1)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument2Name, typeof(T2), ArgumentDirection.In, this.Argument2)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument3Name, typeof(T3), ArgumentDirection.In, this.Argument3)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument4Name, typeof(T4), ArgumentDirection.In, this.Argument4)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument5Name, typeof(T5), ArgumentDirection.In, this.Argument5)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument6Name, typeof(T6), ArgumentDirection.In, this.Argument6)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument7Name, typeof(T7), ArgumentDirection.In, this.Argument7)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument8Name, typeof(T8), ArgumentDirection.In, this.Argument8)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument9Name, typeof(T9), ArgumentDirection.In, this.Argument9)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument10Name, typeof(T10), ArgumentDirection.In, this.Argument10)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument11Name, typeof(T11), ArgumentDirection.In, this.Argument11)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument12Name, typeof(T12), ArgumentDirection.In, this.Argument12)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument13Name, typeof(T13), ArgumentDirection.In, this.Argument13)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument14Name, typeof(T14), ArgumentDirection.In, this.Argument14)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument15Name, typeof(T15), ArgumentDirection.In, this.Argument15)} }; return result; } } public sealed class ActivityAction : ActivityDelegate { public ActivityAction() { } [DefaultValue(null)] public DelegateInArgument Argument1 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument2 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument3 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument4 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument5 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument6 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument7 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument8 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument9 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument10 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument11 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument12 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument13 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument14 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument15 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument16 { get; set; } internal override IList InternalGetRuntimeDelegateArguments() { IList result = new List (16) { {new RuntimeDelegateArgument(ActivityDelegate.Argument1Name, typeof(T1), ArgumentDirection.In, this.Argument1)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument2Name, typeof(T2), ArgumentDirection.In, this.Argument2)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument3Name, typeof(T3), ArgumentDirection.In, this.Argument3)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument4Name, typeof(T4), ArgumentDirection.In, this.Argument4)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument5Name, typeof(T5), ArgumentDirection.In, this.Argument5)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument6Name, typeof(T6), ArgumentDirection.In, this.Argument6)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument7Name, typeof(T7), ArgumentDirection.In, this.Argument7)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument8Name, typeof(T8), ArgumentDirection.In, this.Argument8)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument9Name, typeof(T9), ArgumentDirection.In, this.Argument9)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument10Name, typeof(T10), ArgumentDirection.In, this.Argument10)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument11Name, typeof(T11), ArgumentDirection.In, this.Argument11)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument12Name, typeof(T12), ArgumentDirection.In, this.Argument12)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument13Name, typeof(T13), ArgumentDirection.In, this.Argument13)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument14Name, typeof(T14), ArgumentDirection.In, this.Argument14)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument15Name, typeof(T15), ArgumentDirection.In, this.Argument15)}, {new RuntimeDelegateArgument(ActivityDelegate.Argument16Name, typeof(T16), ArgumentDirection.In, this.Argument16)} }; return result; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- IconConverter.cs
- ArrayElementGridEntry.cs
- FastEncoder.cs
- COM2ICategorizePropertiesHandler.cs
- UpdateTranslator.cs
- BamlRecords.cs
- ExpressionParser.cs
- ListViewAutomationPeer.cs
- UniqueEventHelper.cs
- DocComment.cs
- Freezable.cs
- PartialList.cs
- TraceXPathNavigator.cs
- CodeDOMProvider.cs
- EmptyControlCollection.cs
- BitmapEffectInputConnector.cs
- SettingsContext.cs
- ToolStripCustomTypeDescriptor.cs
- ParallelDesigner.cs
- TextFormattingConverter.cs
- mediapermission.cs
- DriveNotFoundException.cs
- WindowsListViewGroupSubsetLink.cs
- HttpApplicationFactory.cs
- InProcStateClientManager.cs
- BaseProcessor.cs
- ErrorWrapper.cs
- ExecutedRoutedEventArgs.cs
- ILGen.cs
- StatusBarPanelClickEvent.cs
- RadioButtonRenderer.cs
- ObjectListSelectEventArgs.cs
- TimeoutException.cs
- ToolTipAutomationPeer.cs
- DefaultSection.cs
- DragDeltaEventArgs.cs
- Errors.cs
- NodeLabelEditEvent.cs
- ShaderEffect.cs
- StylusPointPropertyInfo.cs
- SendingRequestEventArgs.cs
- WebBrowserUriTypeConverter.cs
- CookielessData.cs
- RecognizerStateChangedEventArgs.cs
- securitymgrsite.cs
- SecurityVerifiedMessage.cs
- KeyValueConfigurationCollection.cs
- PrtTicket_Editor.cs
- SchemaReference.cs
- BrowsableAttribute.cs
- DateTimeOffset.cs
- RoleService.cs
- WorkflowPrinting.cs
- LocalIdKeyIdentifierClause.cs
- Module.cs
- XmlValidatingReader.cs
- ProtocolViolationException.cs
- Thumb.cs
- Symbol.cs
- ScriptBehaviorDescriptor.cs
- CodeDomConfigurationHandler.cs
- LocalTransaction.cs
- OdbcConnectionStringbuilder.cs
- CollectionMarkupSerializer.cs
- VirtualPathUtility.cs
- IDictionary.cs
- CompoundFileStreamReference.cs
- PointHitTestResult.cs
- RSAPKCS1SignatureDeformatter.cs
- ValueConversionAttribute.cs
- ResourceExpressionBuilder.cs
- PagesSection.cs
- NotifyIcon.cs
- DecimalConverter.cs
- RecognizerBase.cs
- OdbcFactory.cs
- HttpModulesSection.cs
- ObjectViewFactory.cs
- BitmapEffectInputData.cs
- ControlPaint.cs
- HwndHost.cs
- EmptyControlCollection.cs
- ItemList.cs
- BamlLocalizationDictionary.cs
- dsa.cs
- SessionState.cs
- UpdateCommand.cs
- HttpCapabilitiesEvaluator.cs
- TreeNodeClickEventArgs.cs
- X509AsymmetricSecurityKey.cs
- DataAccessor.cs
- RTLAwareMessageBox.cs
- EditCommandColumn.cs
- ProbeMatches11.cs
- VariableExpressionConverter.cs
- ReferencedAssemblyResolver.cs
- KeyFrames.cs
- ZoneButton.cs
- NavigationExpr.cs
- BroadcastEventHelper.cs