Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / System.Activities / System / Activities / ActivityFunc.cs / 1305376 / ActivityFunc.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.Activities { using System.ComponentModel; using System.Collections.Generic; public sealed class ActivityFunc: ActivityDelegate { public ActivityFunc() { } [DefaultValue(null)] public DelegateOutArgument Result { get; set; } protected internal override DelegateOutArgument GetResultArgument() { return this.Result; } internal override IList InternalGetRuntimeDelegateArguments() { IList parameters = new List (1) { {new RuntimeDelegateArgument(ActivityDelegate.ResultArgumentName, typeof(TResult), ArgumentDirection.Out, this.Result)} }; return parameters; } } public sealed class ActivityFunc : ActivityDelegate { public ActivityFunc() { } [DefaultValue(null)] public DelegateInArgument Argument { get; set; } [DefaultValue(null)] public DelegateOutArgument Result { get; set; } protected internal override DelegateOutArgument GetResultArgument() { return this.Result; } internal override IList InternalGetRuntimeDelegateArguments() { IList parameters = new List (2) { {new RuntimeDelegateArgument(ActivityDelegate.ArgumentName, typeof(T), ArgumentDirection.In, this.Argument)}, {new RuntimeDelegateArgument(ActivityDelegate.ResultArgumentName, typeof(TResult), ArgumentDirection.Out, this.Result)} }; return parameters; } } public sealed class ActivityFunc : ActivityDelegate { public ActivityFunc() { } [DefaultValue(null)] public DelegateInArgument Argument1 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument2 { get; set; } [DefaultValue(null)] public DelegateOutArgument Result { get; set; } protected internal override DelegateOutArgument GetResultArgument() { return this.Result; } internal override IList InternalGetRuntimeDelegateArguments() { IList parameters = 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.ResultArgumentName, typeof(TResult), ArgumentDirection.Out, this.Result)} }; return parameters; } } public sealed class ActivityFunc : ActivityDelegate { public ActivityFunc() { } [DefaultValue(null)] public DelegateInArgument Argument1 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument2 { get; set; } [DefaultValue(null)] public DelegateInArgument Argument3 { get; set; } [DefaultValue(null)] public DelegateOutArgument Result { get; set; } protected internal override DelegateOutArgument GetResultArgument() { return this.Result; } internal override IList InternalGetRuntimeDelegateArguments() { IList parameters = 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.ResultArgumentName, typeof(TResult), ArgumentDirection.Out, this.Result)} }; return parameters; } } public sealed class ActivityFunc : ActivityDelegate { public ActivityFunc() { } [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 DelegateOutArgument Result { get; set; } protected internal override DelegateOutArgument GetResultArgument() { return this.Result; } internal override IList InternalGetRuntimeDelegateArguments() { IList parameters = 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.ResultArgumentName, typeof(TResult), ArgumentDirection.Out, this.Result)} }; return parameters; } } public sealed class ActivityFunc : ActivityDelegate { public ActivityFunc() { } [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 DelegateOutArgument Result { get; set; } protected internal override DelegateOutArgument GetResultArgument() { return this.Result; } internal override IList InternalGetRuntimeDelegateArguments() { IList parameters = 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.ResultArgumentName, typeof(TResult), ArgumentDirection.Out, this.Result)} }; return parameters; } } public sealed class ActivityFunc : ActivityDelegate { public ActivityFunc() { } [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 DelegateOutArgument Result { get; set; } protected internal override DelegateOutArgument GetResultArgument() { return this.Result; } internal override IList InternalGetRuntimeDelegateArguments() { IList parameters = 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.ResultArgumentName, typeof(TResult), ArgumentDirection.Out, this.Result)} }; return parameters; } } public sealed class ActivityFunc : ActivityDelegate { public ActivityFunc() { } [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 DelegateOutArgument Result { get; set; } protected internal override DelegateOutArgument GetResultArgument() { return this.Result; } internal override IList InternalGetRuntimeDelegateArguments() { IList parameters = 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.ResultArgumentName, typeof(TResult), ArgumentDirection.Out, this.Result)} }; return parameters; } } public sealed class ActivityFunc : ActivityDelegate { public ActivityFunc() { } [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 DelegateOutArgument Result { get; set; } protected internal override DelegateOutArgument GetResultArgument() { return this.Result; } internal override IList InternalGetRuntimeDelegateArguments() { IList parameters = 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.ResultArgumentName, typeof(TResult), ArgumentDirection.Out, this.Result)} }; return parameters; } } public sealed class ActivityFunc : ActivityDelegate { public ActivityFunc() { } [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 DelegateOutArgument Result { get; set; } protected internal override DelegateOutArgument GetResultArgument() { return this.Result; } internal override IList InternalGetRuntimeDelegateArguments() { IList parameters = 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.ResultArgumentName, typeof(TResult), ArgumentDirection.Out, this.Result)} }; return parameters; } } public sealed class ActivityFunc : ActivityDelegate { public ActivityFunc() { } [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 DelegateOutArgument Result { get; set; } protected internal override DelegateOutArgument GetResultArgument() { return this.Result; } internal override IList InternalGetRuntimeDelegateArguments() { IList parameters = 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.ResultArgumentName, typeof(TResult), ArgumentDirection.Out, this.Result)} }; return parameters; } } public sealed class ActivityFunc : ActivityDelegate { public ActivityFunc() { } [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 DelegateOutArgument Result { get; set; } protected internal override DelegateOutArgument GetResultArgument() { return this.Result; } internal override IList InternalGetRuntimeDelegateArguments() { IList parameters = 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.ResultArgumentName, typeof(TResult), ArgumentDirection.Out, this.Result)} }; return parameters; } } public sealed class ActivityFunc : ActivityDelegate { public ActivityFunc() { } [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 DelegateOutArgument Result { get; set; } protected internal override DelegateOutArgument GetResultArgument() { return this.Result; } internal override IList InternalGetRuntimeDelegateArguments() { IList parameters = 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.ResultArgumentName, typeof(TResult), ArgumentDirection.Out, this.Result)} }; return parameters; } } public sealed class ActivityFunc : ActivityDelegate { public ActivityFunc() { } [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 DelegateOutArgument Result { get; set; } protected internal override DelegateOutArgument GetResultArgument() { return this.Result; } internal override IList InternalGetRuntimeDelegateArguments() { IList parameters = 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.ResultArgumentName, typeof(TResult), ArgumentDirection.Out, this.Result)} }; return parameters; } } public sealed class ActivityFunc : ActivityDelegate { public ActivityFunc() { } [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 DelegateOutArgument Result { get; set; } protected internal override DelegateOutArgument GetResultArgument() { return this.Result; } internal override IList InternalGetRuntimeDelegateArguments() { IList parameters = 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.ResultArgumentName, typeof(TResult), ArgumentDirection.Out, this.Result)} }; return parameters; } } public sealed class ActivityFunc : ActivityDelegate { public ActivityFunc() { } [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 DelegateOutArgument Result { get; set; } protected internal override DelegateOutArgument GetResultArgument() { return this.Result; } internal override IList InternalGetRuntimeDelegateArguments() { IList parameters = 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.ResultArgumentName, typeof(TResult), ArgumentDirection.Out, this.Result)} }; return parameters; } } public sealed class ActivityFunc : ActivityDelegate { public ActivityFunc() { } [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; } [DefaultValue(null)] public DelegateOutArgument Result { get; set; } protected internal override DelegateOutArgument GetResultArgument() { return this.Result; } internal override IList InternalGetRuntimeDelegateArguments() { IList parameters = new List (17) { {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)}, {new RuntimeDelegateArgument(ActivityDelegate.ResultArgumentName, typeof(TResult), ArgumentDirection.Out, this.Result)} }; return parameters; } } } // 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
- PreviewControlDesigner.cs
- CustomCredentialPolicy.cs
- PersonalizationProviderHelper.cs
- PerformanceCounterLib.cs
- SiteMapPath.cs
- SqlProvider.cs
- AppLevelCompilationSectionCache.cs
- AttributeUsageAttribute.cs
- HttpWebRequest.cs
- ZipIOExtraField.cs
- AddInStore.cs
- ImageDrawing.cs
- HttpClientCertificate.cs
- InputLanguageCollection.cs
- SqlFunctionAttribute.cs
- DesignerActionTextItem.cs
- TransformationRules.cs
- DrawingState.cs
- MessageAction.cs
- XmlUtf8RawTextWriter.cs
- XPathDocumentBuilder.cs
- ToolStripProgressBar.cs
- MetadataCache.cs
- FontFaceLayoutInfo.cs
- EventMappingSettingsCollection.cs
- SqlNotificationEventArgs.cs
- XmlMemberMapping.cs
- DataServiceQueryException.cs
- WpfPayload.cs
- ClientScriptItem.cs
- RSAOAEPKeyExchangeFormatter.cs
- StyleHelper.cs
- TextOnlyOutput.cs
- TextSpanModifier.cs
- TreeViewImageKeyConverter.cs
- VScrollBar.cs
- CompModSwitches.cs
- ApplicationCommands.cs
- DataGridColumnHeaderCollection.cs
- Visual3D.cs
- ListMarkerLine.cs
- xmlfixedPageInfo.cs
- BoolExpr.cs
- NumericUpDownAcceleration.cs
- VariableValue.cs
- TextRangeEditLists.cs
- HijriCalendar.cs
- PropertyChangedEventArgs.cs
- TextShapeableCharacters.cs
- SoapSchemaImporter.cs
- XpsStructure.cs
- CodeAttributeDeclaration.cs
- BufferedGraphicsManager.cs
- DbgCompiler.cs
- ButtonFlatAdapter.cs
- DynamicILGenerator.cs
- ServiceParser.cs
- WmpBitmapDecoder.cs
- XslAstAnalyzer.cs
- path.cs
- InputLangChangeRequestEvent.cs
- IndexedDataBuffer.cs
- ToolTip.cs
- XdrBuilder.cs
- SystemPens.cs
- StrongNamePublicKeyBlob.cs
- TextFindEngine.cs
- RadioButtonStandardAdapter.cs
- CursorConverter.cs
- CompositeFontParser.cs
- DescriptionCreator.cs
- WebPartVerb.cs
- RadioButtonPopupAdapter.cs
- RawTextInputReport.cs
- SystemColors.cs
- ReadOnlyCollection.cs
- Hex.cs
- RouteParser.cs
- StringUtil.cs
- StateItem.cs
- IOException.cs
- EdmProviderManifest.cs
- TemplateControlCodeDomTreeGenerator.cs
- RegionData.cs
- Accessors.cs
- XsltException.cs
- SchemaImporterExtensionsSection.cs
- TableRowCollection.cs
- PlanCompiler.cs
- SpecularMaterial.cs
- _ProxyRegBlob.cs
- XamlUtilities.cs
- GridSplitterAutomationPeer.cs
- controlskin.cs
- BitmapPalettes.cs
- VisualTreeHelper.cs
- DragAssistanceManager.cs
- BufferedGraphics.cs
- CachedBitmap.cs
- ClientApiGenerator.cs