|
//-----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
namespace System.Activities
{
using System.ComponentModel;
using System.Collections.Generic;
public sealed class ActivityAction : ActivityDelegate
{
static readonly IList<RuntimeDelegateArgument> EmptyDelegateParameters = new List<RuntimeDelegateArgument>(0);
public ActivityAction()
{
}
internal override IList<RuntimeDelegateArgument> InternalGetRuntimeDelegateArguments()
{
return ActivityAction.EmptyDelegateParameters;
}
}
public sealed class ActivityAction<T> : ActivityDelegate
{
public ActivityAction()
{
}
[DefaultValue(null)]
public DelegateInArgument<T> Argument
{
get;
set;
}
internal override IList<RuntimeDelegateArgument> InternalGetRuntimeDelegateArguments()
{
IList<RuntimeDelegateArgument> result = new List<RuntimeDelegateArgument>(1)
{
{ new RuntimeDelegateArgument(ActivityDelegate.ArgumentName, typeof(T), ArgumentDirection.In, this.Argument) }
};
return result;
}
}
public sealed class ActivityAction<T1, T2> : ActivityDelegate
{
public ActivityAction()
{
}
[DefaultValue(null)]
public DelegateInArgument<T1> Argument1
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T2> Argument2
{
get;
set;
}
internal override IList<RuntimeDelegateArgument> InternalGetRuntimeDelegateArguments()
{
IList<RuntimeDelegateArgument> result = new List<RuntimeDelegateArgument>(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<T1, T2, T3> : ActivityDelegate
{
public ActivityAction()
{
}
[DefaultValue(null)]
public DelegateInArgument<T1> Argument1
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T2> Argument2
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T3> Argument3
{
get;
set;
}
internal override IList<RuntimeDelegateArgument> InternalGetRuntimeDelegateArguments()
{
IList<RuntimeDelegateArgument> result = new List<RuntimeDelegateArgument>(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<T1, T2, T3, T4> : ActivityDelegate
{
public ActivityAction()
{
}
[DefaultValue(null)]
public DelegateInArgument<T1> Argument1
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T2> Argument2
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T3> Argument3
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T4> Argument4
{
get;
set;
}
internal override IList<RuntimeDelegateArgument> InternalGetRuntimeDelegateArguments()
{
IList<RuntimeDelegateArgument> result = new List<RuntimeDelegateArgument>(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<T1, T2, T3, T4, T5> : ActivityDelegate
{
public ActivityAction()
{
}
[DefaultValue(null)]
public DelegateInArgument<T1> Argument1
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T2> Argument2
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T3> Argument3
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T4> Argument4
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T5> Argument5
{
get;
set;
}
internal override IList<RuntimeDelegateArgument> InternalGetRuntimeDelegateArguments()
{
IList<RuntimeDelegateArgument> result = new List<RuntimeDelegateArgument>(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<T1, T2, T3, T4, T5, T6> : ActivityDelegate
{
public ActivityAction()
{
}
[DefaultValue(null)]
public DelegateInArgument<T1> Argument1
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T2> Argument2
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T3> Argument3
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T4> Argument4
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T5> Argument5
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T6> Argument6
{
get;
set;
}
internal override IList<RuntimeDelegateArgument> InternalGetRuntimeDelegateArguments()
{
IList<RuntimeDelegateArgument> result = new List<RuntimeDelegateArgument>(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<T1, T2, T3, T4, T5, T6, T7> : ActivityDelegate
{
public ActivityAction()
{
}
[DefaultValue(null)]
public DelegateInArgument<T1> Argument1
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T2> Argument2
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T3> Argument3
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T4> Argument4
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T5> Argument5
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T6> Argument6
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T7> Argument7
{
get;
set;
}
[DefaultValue(null)]
internal override IList<RuntimeDelegateArgument> InternalGetRuntimeDelegateArguments()
{
IList<RuntimeDelegateArgument> result = new List<RuntimeDelegateArgument>(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<T1, T2, T3, T4, T5, T6, T7, T8> : ActivityDelegate
{
public ActivityAction()
{
}
[DefaultValue(null)]
public DelegateInArgument<T1> Argument1
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T2> Argument2
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T3> Argument3
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T4> Argument4
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T5> Argument5
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T6> Argument6
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T7> Argument7
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T8> Argument8
{
get;
set;
}
internal override IList<RuntimeDelegateArgument> InternalGetRuntimeDelegateArguments()
{
IList<RuntimeDelegateArgument> result = new List<RuntimeDelegateArgument>(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<T1, T2, T3, T4, T5, T6, T7, T8, T9> : ActivityDelegate
{
public ActivityAction()
{
}
[DefaultValue(null)]
public DelegateInArgument<T1> Argument1
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T2> Argument2
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T3> Argument3
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T4> Argument4
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T5> Argument5
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T6> Argument6
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T7> Argument7
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T8> Argument8
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T9> Argument9
{
get;
set;
}
internal override IList<RuntimeDelegateArgument> InternalGetRuntimeDelegateArguments()
{
IList<RuntimeDelegateArgument> result = new List<RuntimeDelegateArgument>(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<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> : ActivityDelegate
{
public ActivityAction()
{
}
[DefaultValue(null)]
public DelegateInArgument<T1> Argument1
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T2> Argument2
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T3> Argument3
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T4> Argument4
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T5> Argument5
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T6> Argument6
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T7> Argument7
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T8> Argument8
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T9> Argument9
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T10> Argument10
{
get;
set;
}
internal override IList<RuntimeDelegateArgument> InternalGetRuntimeDelegateArguments()
{
IList<RuntimeDelegateArgument> result = new List<RuntimeDelegateArgument>(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<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> : ActivityDelegate
{
public ActivityAction()
{
}
[DefaultValue(null)]
public DelegateInArgument<T1> Argument1
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T2> Argument2
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T3> Argument3
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T4> Argument4
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T5> Argument5
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T6> Argument6
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T7> Argument7
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T8> Argument8
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T9> Argument9
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T10> Argument10
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T11> Argument11
{
get;
set;
}
internal override IList<RuntimeDelegateArgument> InternalGetRuntimeDelegateArguments()
{
IList<RuntimeDelegateArgument> result = new List<RuntimeDelegateArgument>(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<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> : ActivityDelegate
{
public ActivityAction()
{
}
[DefaultValue(null)]
public DelegateInArgument<T1> Argument1
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T2> Argument2
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T3> Argument3
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T4> Argument4
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T5> Argument5
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T6> Argument6
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T7> Argument7
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T8> Argument8
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T9> Argument9
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T10> Argument10
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T11> Argument11
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T12> Argument12
{
get;
set;
}
internal override IList<RuntimeDelegateArgument> InternalGetRuntimeDelegateArguments()
{
IList<RuntimeDelegateArgument> result = new List<RuntimeDelegateArgument>(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<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> : ActivityDelegate
{
public ActivityAction()
{
}
[DefaultValue(null)]
public DelegateInArgument<T1> Argument1
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T2> Argument2
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T3> Argument3
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T4> Argument4
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T5> Argument5
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T6> Argument6
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T7> Argument7
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T8> Argument8
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T9> Argument9
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T10> Argument10
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T11> Argument11
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T12> Argument12
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T13> Argument13
{
get;
set;
}
internal override IList<RuntimeDelegateArgument> InternalGetRuntimeDelegateArguments()
{
IList<RuntimeDelegateArgument> result = new List<RuntimeDelegateArgument>(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<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> : ActivityDelegate
{
public ActivityAction()
{
}
[DefaultValue(null)]
public DelegateInArgument<T1> Argument1
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T2> Argument2
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T3> Argument3
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T4> Argument4
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T5> Argument5
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T6> Argument6
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T7> Argument7
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T8> Argument8
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T9> Argument9
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T10> Argument10
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T11> Argument11
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T12> Argument12
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T13> Argument13
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T14> Argument14
{
get;
set;
}
internal override IList<RuntimeDelegateArgument> InternalGetRuntimeDelegateArguments()
{
IList<RuntimeDelegateArgument> result = new List<RuntimeDelegateArgument>(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<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> : ActivityDelegate
{
public ActivityAction()
{
}
[DefaultValue(null)]
public DelegateInArgument<T1> Argument1
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T2> Argument2
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T3> Argument3
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T4> Argument4
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T5> Argument5
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T6> Argument6
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T7> Argument7
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T8> Argument8
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T9> Argument9
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T10> Argument10
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T11> Argument11
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T12> Argument12
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T13> Argument13
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T14> Argument14
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T15> Argument15
{
get;
set;
}
internal override IList<RuntimeDelegateArgument> InternalGetRuntimeDelegateArguments()
{
IList<RuntimeDelegateArgument> result = new List<RuntimeDelegateArgument>(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<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> : ActivityDelegate
{
public ActivityAction()
{
}
[DefaultValue(null)]
public DelegateInArgument<T1> Argument1
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T2> Argument2
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T3> Argument3
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T4> Argument4
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T5> Argument5
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T6> Argument6
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T7> Argument7
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T8> Argument8
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T9> Argument9
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T10> Argument10
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T11> Argument11
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T12> Argument12
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T13> Argument13
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T14> Argument14
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T15> Argument15
{
get;
set;
}
[DefaultValue(null)]
public DelegateInArgument<T16> Argument16
{
get;
set;
}
internal override IList<RuntimeDelegateArgument> InternalGetRuntimeDelegateArguments()
{
IList<RuntimeDelegateArgument> result = new List<RuntimeDelegateArgument>(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;
}
}
}
|