diff options
author | nulltoken <emeric.fermas@gmail.com> | 2014-04-15 18:53:36 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2014-04-16 21:05:00 +0400 |
commit | 6ff7bf8a98fc54445801eac3d33205756135a0cf (patch) | |
tree | 46e1ec7577aba34331bafbf2338f417ac370da82 | |
parent | ac394b41f27fe26a24b6d46a08b630abf02f72ab (diff) |
Upgrade to .Net 4.0
Fix #654
36 files changed, 364 insertions, 957 deletions
diff --git a/Lib/MoQ/Moq.dll b/Lib/MoQ/Moq.dll Binary files differindex 3d3b8ccd..bdd4235f 100644 --- a/Lib/MoQ/Moq.dll +++ b/Lib/MoQ/Moq.dll diff --git a/Lib/MoQ/Moq.xml b/Lib/MoQ/Moq.xml index 43207757..160c1b51 100644 --- a/Lib/MoQ/Moq.xml +++ b/Lib/MoQ/Moq.xml @@ -47,6 +47,62 @@ <param name="setterExpression">The setter expression.</param>
<returns></returns>
</member>
+ <member name="M:Moq.IInterceptStrategy.HandleIntercept(Moq.Proxy.ICallContext,Moq.InterceptorContext,Moq.CurrentInterceptContext)">
+ <summary>
+ Handle interception
+ </summary>
+ <param name="invocation">the current invocation context</param>
+ <param name="ctx">shared data for the interceptor as a whole</param>
+ <param name="localCtx">shared data among the strategies during a single interception</param>
+ <returns>InterceptionAction.Continue if further interception has to be processed, otherwise InterceptionAction.Stop</returns>
+ </member>
+ <member name="T:Moq.IMock`1">
+ <summary>
+ Covarient interface for Mock<T> such that casts between IMock<Employee> to IMock<Person>
+ are possible. Only covers the covariant members of Mock<T>.
+ </summary>
+ </member>
+ <member name="P:Moq.IMock`1.Object">
+ <summary>
+ Exposes the mocked object instance.
+ </summary>
+ </member>
+ <member name="P:Moq.IMock`1.Behavior">
+ <summary>
+ Behavior of the mock, according to the value set in the constructor.
+ </summary>
+ </member>
+ <member name="P:Moq.IMock`1.CallBase">
+ <summary>
+ Whether the base member virtual implementation will be called
+ for mocked classes if no setup is matched. Defaults to <see langword="false"/>.
+ </summary>
+ </member>
+ <member name="P:Moq.IMock`1.DefaultValue">
+ <summary>
+ Specifies the behavior to use when returning default values for
+ unexpected invocations on loose mocks.
+ </summary>
+ </member>
+ <member name="M:Moq.AddActualInvocation.GetEventFromName(System.String)">
+ <summary>
+ Get an eventInfo for a given event name. Search type ancestors depth first if necessary.
+ </summary>
+ <param name="eventName">Name of the event, with the set_ or get_ prefix already removed</param>
+ </member>
+ <member name="M:Moq.AddActualInvocation.GetNonPublicEventFromName(System.String)">
+ <summary>
+ Get an eventInfo for a given event name. Search type ancestors depth first if necessary.
+ Searches also in non public events.
+ </summary>
+ <param name="eventName">Name of the event, with the set_ or get_ prefix already removed</param>
+ </member>
+ <member name="M:Moq.AddActualInvocation.GetAncestorTypes(System.Type)">
+ <summary>
+ Given a type return all of its ancestors, both types and interfaces.
+ </summary>
+ <param name="initialType">The type to find immediate ancestors of</param>
+ </member>
<member name="T:Moq.Language.ICallback">
<summary>
Defines the <c>Callback</c> verb and overloads.
@@ -1622,6 +1678,12 @@ </code>
</example>
</member>
+ <member name="M:Moq.Language.IReturns`2.CallBase">
+ <summary>
+ Calls the real method of the object and returns its return value.
+ </summary>
+ <returns>The value calculated by the real method of the object.</returns>
+ </member>
<member name="M:Moq.Language.IReturns`2.Returns``2(System.Func{``0,``1,`1})">
<summary>
Specifies a function that will calculate the value to return from the method,
@@ -2177,6 +2239,58 @@ </code>
</example>
</member>
+ <member name="T:Moq.Proxy.ProxyMethodHook">
+ <summary>
+ Hook used to tells Castle which methods to proxy in mocked classes.
+
+ Here we proxy the default methods Castle suggests (everything Object's methods)
+ plus Object.ToString(), so we can give mocks useful default names.
+
+ This is required to allow Moq to mock ToString on proxy *class* implementations.
+ </summary>
+ </member>
+ <member name="M:Moq.Proxy.ProxyMethodHook.ShouldInterceptMethod(System.Type,System.Reflection.MethodInfo)">
+ <summary>
+ Extends AllMethodsHook.ShouldInterceptMethod to also intercept Object.ToString().
+ </summary>
+ </member>
+ <member name="T:Moq.Proxy.InterfaceProxy">
+ <summary>
+ <para>The base class used for all our interface-inheriting proxies, which overrides the default
+ Object.ToString() behavior, to route it via the mock by default, unless overriden by a
+ real implementation.</para>
+
+ <para>This is required to allow Moq to mock ToString on proxy *interface* implementations.</para>
+ </summary>
+ <remarks>
+ <para><strong>This is internal to Moq and should not be generally used.</strong></para>
+
+ <para>Unfortunately it must be public, due to cross-assembly visibility issues with reflection,
+ see github.com/Moq/moq4/issues/98 for details.</para>
+ </remarks>
+ </member>
+ <member name="M:Moq.Proxy.InterfaceProxy.ToString">
+ <summary>
+ Overrides the default ToString implementation to instead find the mock for this mock.Object,
+ and return MockName + '.Object' as the mocked object's ToString, to make it easy to relate
+ mocks and mock object instances in error messages.
+ </summary>
+ </member>
+ <member name="T:Moq.ReturnsExtensions">
+ <summary>
+ Defines async extension methods on IReturns.
+ </summary>
+ </member>
+ <member name="M:Moq.ReturnsExtensions.ReturnsAsync``2(Moq.Language.IReturns{``0,System.Threading.Tasks.Task{``1}},``1)">
+ <summary>
+ Allows to specify the return value of an asynchronous method.
+ </summary>
+ </member>
+ <member name="M:Moq.ReturnsExtensions.ThrowsAsync``2(Moq.Language.IReturns{``0,System.Threading.Tasks.Task{``1}},System.Exception)">
+ <summary>
+ Allows to specify the exception thrown by an asynchronous method.
+ </summary>
+ </member>
<member name="T:Moq.Language.ISetupSequentialResult`1">
<summary>
Language for ReturnSequence
@@ -2197,6 +2311,11 @@ Throws an exception
</summary>
</member>
+ <member name="M:Moq.Language.ISetupSequentialResult`1.CallBase">
+ <summary>
+ Calls original method
+ </summary>
+ </member>
<member name="F:Moq.Linq.FluentMockVisitor.isFirst">
<summary>
The first method call or member access will be the
@@ -2300,7 +2419,7 @@ // that expectation was not marked as verifiable.
this.VerifyAll();
</code>
- </example><exception cref="T:Moq.MockException">At least one expectation was not met.</exception>
+ </example><exception cref="T:Moq.MockException">At least one expectation was not met.</exception>
</member>
<member name="M:Moq.Mock.GetInterceptor(System.Linq.Expressions.Expression,Moq.Mock)">
<summary>
@@ -2385,6 +2504,20 @@ This is used in the auto-mocking of hierarchy access.
</summary>
</member>
+ <member name="P:Moq.Mock.DelegateInterfaceMethod">
+ <summary>
+ If this is a mock of a delegate, this property contains the method
+ on the autogenerated interface so that we can convert setup + verify
+ expressions on the delegate into expressions on the interface proxy.
+ </summary>
+ </member>
+ <member name="P:Moq.Mock.IsDelegateMock">
+ <summary>
+ Allows to check whether expression conversion to the <see cref="P:Moq.Mock.DelegateInterfaceMethod"/>
+ must be performed on the mock, without causing unnecessarily early initialization of
+ the mock instance, which breaks As{T}.
+ </summary>
+ </member>
<member name="P:Moq.Mock.DefaultValueProvider">
<summary>
Specifies the class that will determine the default
@@ -3006,658 +3139,30 @@ that moment.
</example>
</member>
+ <member name="M:Moq.Language.IReturnsGetter`2.CallBase">
+ <summary>
+ Calls the real property of the object and returns its return value.
+ </summary>
+ <returns>The value calculated by the real property of the object.</returns>
+ </member>
<member name="T:Moq.Language.Flow.IReturnsResult`1">
<summary>
Implements the fluent API.
</summary>
</member>
- <member name="T:System.Action`5">
- <summary>
- Encapsulates a method that has five parameters and does not return a value.
- </summary>
- <typeparam name="T1">The type of the first parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T2">The type of the second parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T3">The type of the third parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T4">The type of the fourth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T5">The type of the fifth parameter of the method that this delegate encapsulates.</typeparam>
- <param name="arg1">The first parameter of the method that this delegate encapsulates.</param>
- <param name="arg2">The second parameter of the method that this delegate encapsulates.</param>
- <param name="arg3">The third parameter of the method that this delegate encapsulates.</param>
- <param name="arg4">The fourth parameter of the method that this delegate encapsulates.</param>
- <param name="arg5">The fifth parameter of the method that this delegate encapsulates.</param>
- </member>
- <member name="T:System.Func`6">
- <summary>
- Encapsulates a method that has five parameters and returns a value of the type specified by the <typeparamref name="TResult" /> parameter.
- </summary>
- <typeparam name="T1">The type of the first parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T2">The type of the second parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T3">The type of the third parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T4">The type of the fourth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T5">The type of the fifth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="TResult">The type of the return value of the method that this delegate encapsulates.</typeparam>
- <param name="arg1">The first parameter of the method that this delegate encapsulates.</param>
- <param name="arg2">The second parameter of the method that this delegate encapsulates.</param>
- <param name="arg3">The third parameter of the method that this delegate encapsulates.</param>
- <param name="arg4">The fourth parameter of the method that this delegate encapsulates.</param>
- <param name="arg5">The fifth parameter of the method that this delegate encapsulates.</param>
- <return>The return value of the method that this delegate encapsulates.</return>
- </member>
- <member name="T:System.Action`6">
- <summary>
- Encapsulates a method that has six parameters and does not return a value.
- </summary>
- <typeparam name="T1">The type of the first parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T2">The type of the second parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T3">The type of the third parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T4">The type of the fourth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T5">The type of the fifth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T6">The type of the sixth parameter of the method that this delegate encapsulates.</typeparam>
- <param name="arg1">The first parameter of the method that this delegate encapsulates.</param>
- <param name="arg2">The second parameter of the method that this delegate encapsulates.</param>
- <param name="arg3">The third parameter of the method that this delegate encapsulates.</param>
- <param name="arg4">The fourth parameter of the method that this delegate encapsulates.</param>
- <param name="arg5">The fifth parameter of the method that this delegate encapsulates.</param>
- <param name="arg6">The sixth parameter of the method that this delegate encapsulates.</param>
- </member>
- <member name="T:System.Func`7">
- <summary>
- Encapsulates a method that has six parameters and returns a value of the type specified by the <typeparamref name="TResult" /> parameter.
- </summary>
- <typeparam name="T1">The type of the first parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T2">The type of the second parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T3">The type of the third parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T4">The type of the fourth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T5">The type of the fifth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T6">The type of the sixth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="TResult">The type of the return value of the method that this delegate encapsulates.</typeparam>
- <param name="arg1">The first parameter of the method that this delegate encapsulates.</param>
- <param name="arg2">The second parameter of the method that this delegate encapsulates.</param>
- <param name="arg3">The third parameter of the method that this delegate encapsulates.</param>
- <param name="arg4">The fourth parameter of the method that this delegate encapsulates.</param>
- <param name="arg5">The fifth parameter of the method that this delegate encapsulates.</param>
- <param name="arg6">The sixth parameter of the method that this delegate encapsulates.</param>
- <return>The return value of the method that this delegate encapsulates.</return>
- </member>
- <member name="T:System.Action`7">
- <summary>
- Encapsulates a method that has seven parameters and does not return a value.
- </summary>
- <typeparam name="T1">The type of the first parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T2">The type of the second parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T3">The type of the third parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T4">The type of the fourth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T5">The type of the fifth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T6">The type of the sixth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T7">The type of the seventh parameter of the method that this delegate encapsulates.</typeparam>
- <param name="arg1">The first parameter of the method that this delegate encapsulates.</param>
- <param name="arg2">The second parameter of the method that this delegate encapsulates.</param>
- <param name="arg3">The third parameter of the method that this delegate encapsulates.</param>
- <param name="arg4">The fourth parameter of the method that this delegate encapsulates.</param>
- <param name="arg5">The fifth parameter of the method that this delegate encapsulates.</param>
- <param name="arg6">The sixth parameter of the method that this delegate encapsulates.</param>
- <param name="arg7">The seventh parameter of the method that this delegate encapsulates.</param>
- </member>
- <member name="T:System.Func`8">
- <summary>
- Encapsulates a method that has seven parameters and returns a value of the type specified by the <typeparamref name="TResult" /> parameter.
- </summary>
- <typeparam name="T1">The type of the first parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T2">The type of the second parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T3">The type of the third parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T4">The type of the fourth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T5">The type of the fifth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T6">The type of the sixth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T7">The type of the seventh parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="TResult">The type of the return value of the method that this delegate encapsulates.</typeparam>
- <param name="arg1">The first parameter of the method that this delegate encapsulates.</param>
- <param name="arg2">The second parameter of the method that this delegate encapsulates.</param>
- <param name="arg3">The third parameter of the method that this delegate encapsulates.</param>
- <param name="arg4">The fourth parameter of the method that this delegate encapsulates.</param>
- <param name="arg5">The fifth parameter of the method that this delegate encapsulates.</param>
- <param name="arg6">The sixth parameter of the method that this delegate encapsulates.</param>
- <param name="arg7">The seventh parameter of the method that this delegate encapsulates.</param>
- <return>The return value of the method that this delegate encapsulates.</return>
- </member>
- <member name="T:System.Action`8">
- <summary>
- Encapsulates a method that has eight parameters and does not return a value.
- </summary>
- <typeparam name="T1">The type of the first parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T2">The type of the second parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T3">The type of the third parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T4">The type of the fourth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T5">The type of the fifth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T6">The type of the sixth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T7">The type of the seventh parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T8">The type of the eighth parameter of the method that this delegate encapsulates.</typeparam>
- <param name="arg1">The first parameter of the method that this delegate encapsulates.</param>
- <param name="arg2">The second parameter of the method that this delegate encapsulates.</param>
- <param name="arg3">The third parameter of the method that this delegate encapsulates.</param>
- <param name="arg4">The fourth parameter of the method that this delegate encapsulates.</param>
- <param name="arg5">The fifth parameter of the method that this delegate encapsulates.</param>
- <param name="arg6">The sixth parameter of the method that this delegate encapsulates.</param>
- <param name="arg7">The seventh parameter of the method that this delegate encapsulates.</param>
- <param name="arg8">The eighth parameter of the method that this delegate encapsulates.</param>
- </member>
- <member name="T:System.Func`9">
- <summary>
- Encapsulates a method that has eight parameters and returns a value of the type specified by the <typeparamref name="TResult" /> parameter.
- </summary>
- <typeparam name="T1">The type of the first parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T2">The type of the second parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T3">The type of the third parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T4">The type of the fourth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T5">The type of the fifth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T6">The type of the sixth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T7">The type of the seventh parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T8">The type of the eighth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="TResult">The type of the return value of the method that this delegate encapsulates.</typeparam>
- <param name="arg1">The first parameter of the method that this delegate encapsulates.</param>
- <param name="arg2">The second parameter of the method that this delegate encapsulates.</param>
- <param name="arg3">The third parameter of the method that this delegate encapsulates.</param>
- <param name="arg4">The fourth parameter of the method that this delegate encapsulates.</param>
- <param name="arg5">The fifth parameter of the method that this delegate encapsulates.</param>
- <param name="arg6">The sixth parameter of the method that this delegate encapsulates.</param>
- <param name="arg7">The seventh parameter of the method that this delegate encapsulates.</param>
- <param name="arg8">The eighth parameter of the method that this delegate encapsulates.</param>
- <return>The return value of the method that this delegate encapsulates.</return>
- </member>
- <member name="T:System.Action`9">
- <summary>
- Encapsulates a method that has nine parameters and does not return a value.
- </summary>
- <typeparam name="T1">The type of the first parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T2">The type of the second parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T3">The type of the third parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T4">The type of the fourth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T5">The type of the fifth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T6">The type of the sixth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T7">The type of the seventh parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T8">The type of the eighth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T9">The type of the nineth parameter of the method that this delegate encapsulates.</typeparam>
- <param name="arg1">The first parameter of the method that this delegate encapsulates.</param>
- <param name="arg2">The second parameter of the method that this delegate encapsulates.</param>
- <param name="arg3">The third parameter of the method that this delegate encapsulates.</param>
- <param name="arg4">The fourth parameter of the method that this delegate encapsulates.</param>
- <param name="arg5">The fifth parameter of the method that this delegate encapsulates.</param>
- <param name="arg6">The sixth parameter of the method that this delegate encapsulates.</param>
- <param name="arg7">The seventh parameter of the method that this delegate encapsulates.</param>
- <param name="arg8">The eighth parameter of the method that this delegate encapsulates.</param>
- <param name="arg9">The nineth parameter of the method that this delegate encapsulates.</param>
- </member>
- <member name="T:System.Func`10">
- <summary>
- Encapsulates a method that has nine parameters and returns a value of the type specified by the <typeparamref name="TResult" /> parameter.
- </summary>
- <typeparam name="T1">The type of the first parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T2">The type of the second parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T3">The type of the third parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T4">The type of the fourth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T5">The type of the fifth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T6">The type of the sixth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T7">The type of the seventh parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T8">The type of the eighth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T9">The type of the nineth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="TResult">The type of the return value of the method that this delegate encapsulates.</typeparam>
- <param name="arg1">The first parameter of the method that this delegate encapsulates.</param>
- <param name="arg2">The second parameter of the method that this delegate encapsulates.</param>
- <param name="arg3">The third parameter of the method that this delegate encapsulates.</param>
- <param name="arg4">The fourth parameter of the method that this delegate encapsulates.</param>
- <param name="arg5">The fifth parameter of the method that this delegate encapsulates.</param>
- <param name="arg6">The sixth parameter of the method that this delegate encapsulates.</param>
- <param name="arg7">The seventh parameter of the method that this delegate encapsulates.</param>
- <param name="arg8">The eighth parameter of the method that this delegate encapsulates.</param>
- <param name="arg9">The nineth parameter of the method that this delegate encapsulates.</param>
- <return>The return value of the method that this delegate encapsulates.</return>
- </member>
- <member name="T:System.Action`10">
- <summary>
- Encapsulates a method that has ten parameters and does not return a value.
- </summary>
- <typeparam name="T1">The type of the first parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T2">The type of the second parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T3">The type of the third parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T4">The type of the fourth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T5">The type of the fifth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T6">The type of the sixth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T7">The type of the seventh parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T8">The type of the eighth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T9">The type of the nineth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T10">The type of the tenth parameter of the method that this delegate encapsulates.</typeparam>
- <param name="arg1">The first parameter of the method that this delegate encapsulates.</param>
- <param name="arg2">The second parameter of the method that this delegate encapsulates.</param>
- <param name="arg3">The third parameter of the method that this delegate encapsulates.</param>
- <param name="arg4">The fourth parameter of the method that this delegate encapsulates.</param>
- <param name="arg5">The fifth parameter of the method that this delegate encapsulates.</param>
- <param name="arg6">The sixth parameter of the method that this delegate encapsulates.</param>
- <param name="arg7">The seventh parameter of the method that this delegate encapsulates.</param>
- <param name="arg8">The eighth parameter of the method that this delegate encapsulates.</param>
- <param name="arg9">The nineth parameter of the method that this delegate encapsulates.</param>
- <param name="arg10">The tenth parameter of the method that this delegate encapsulates.</param>
- </member>
- <member name="T:System.Func`11">
- <summary>
- Encapsulates a method that has ten parameters and returns a value of the type specified by the <typeparamref name="TResult" /> parameter.
- </summary>
- <typeparam name="T1">The type of the first parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T2">The type of the second parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T3">The type of the third parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T4">The type of the fourth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T5">The type of the fifth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T6">The type of the sixth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T7">The type of the seventh parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T8">The type of the eighth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T9">The type of the nineth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T10">The type of the tenth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="TResult">The type of the return value of the method that this delegate encapsulates.</typeparam>
- <param name="arg1">The first parameter of the method that this delegate encapsulates.</param>
- <param name="arg2">The second parameter of the method that this delegate encapsulates.</param>
- <param name="arg3">The third parameter of the method that this delegate encapsulates.</param>
- <param name="arg4">The fourth parameter of the method that this delegate encapsulates.</param>
- <param name="arg5">The fifth parameter of the method that this delegate encapsulates.</param>
- <param name="arg6">The sixth parameter of the method that this delegate encapsulates.</param>
- <param name="arg7">The seventh parameter of the method that this delegate encapsulates.</param>
- <param name="arg8">The eighth parameter of the method that this delegate encapsulates.</param>
- <param name="arg9">The nineth parameter of the method that this delegate encapsulates.</param>
- <param name="arg10">The tenth parameter of the method that this delegate encapsulates.</param>
- <return>The return value of the method that this delegate encapsulates.</return>
- </member>
- <member name="T:System.Action`11">
- <summary>
- Encapsulates a method that has eleven parameters and does not return a value.
- </summary>
- <typeparam name="T1">The type of the first parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T2">The type of the second parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T3">The type of the third parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T4">The type of the fourth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T5">The type of the fifth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T6">The type of the sixth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T7">The type of the seventh parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T8">The type of the eighth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T9">The type of the nineth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T10">The type of the tenth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T11">The type of the eleventh parameter of the method that this delegate encapsulates.</typeparam>
- <param name="arg1">The first parameter of the method that this delegate encapsulates.</param>
- <param name="arg2">The second parameter of the method that this delegate encapsulates.</param>
- <param name="arg3">The third parameter of the method that this delegate encapsulates.</param>
- <param name="arg4">The fourth parameter of the method that this delegate encapsulates.</param>
- <param name="arg5">The fifth parameter of the method that this delegate encapsulates.</param>
- <param name="arg6">The sixth parameter of the method that this delegate encapsulates.</param>
- <param name="arg7">The seventh parameter of the method that this delegate encapsulates.</param>
- <param name="arg8">The eighth parameter of the method that this delegate encapsulates.</param>
- <param name="arg9">The nineth parameter of the method that this delegate encapsulates.</param>
- <param name="arg10">The tenth parameter of the method that this delegate encapsulates.</param>
- <param name="arg11">The eleventh parameter of the method that this delegate encapsulates.</param>
- </member>
- <member name="T:System.Func`12">
- <summary>
- Encapsulates a method that has eleven parameters and returns a value of the type specified by the <typeparamref name="TResult" /> parameter.
- </summary>
- <typeparam name="T1">The type of the first parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T2">The type of the second parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T3">The type of the third parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T4">The type of the fourth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T5">The type of the fifth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T6">The type of the sixth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T7">The type of the seventh parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T8">The type of the eighth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T9">The type of the nineth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T10">The type of the tenth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T11">The type of the eleventh parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="TResult">The type of the return value of the method that this delegate encapsulates.</typeparam>
- <param name="arg1">The first parameter of the method that this delegate encapsulates.</param>
- <param name="arg2">The second parameter of the method that this delegate encapsulates.</param>
- <param name="arg3">The third parameter of the method that this delegate encapsulates.</param>
- <param name="arg4">The fourth parameter of the method that this delegate encapsulates.</param>
- <param name="arg5">The fifth parameter of the method that this delegate encapsulates.</param>
- <param name="arg6">The sixth parameter of the method that this delegate encapsulates.</param>
- <param name="arg7">The seventh parameter of the method that this delegate encapsulates.</param>
- <param name="arg8">The eighth parameter of the method that this delegate encapsulates.</param>
- <param name="arg9">The nineth parameter of the method that this delegate encapsulates.</param>
- <param name="arg10">The tenth parameter of the method that this delegate encapsulates.</param>
- <param name="arg11">The eleventh parameter of the method that this delegate encapsulates.</param>
- <return>The return value of the method that this delegate encapsulates.</return>
- </member>
- <member name="T:System.Action`12">
- <summary>
- Encapsulates a method that has twelve parameters and does not return a value.
- </summary>
- <typeparam name="T1">The type of the first parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T2">The type of the second parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T3">The type of the third parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T4">The type of the fourth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T5">The type of the fifth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T6">The type of the sixth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T7">The type of the seventh parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T8">The type of the eighth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T9">The type of the nineth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T10">The type of the tenth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T11">The type of the eleventh parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T12">The type of the twelfth parameter of the method that this delegate encapsulates.</typeparam>
- <param name="arg1">The first parameter of the method that this delegate encapsulates.</param>
- <param name="arg2">The second parameter of the method that this delegate encapsulates.</param>
- <param name="arg3">The third parameter of the method that this delegate encapsulates.</param>
- <param name="arg4">The fourth parameter of the method that this delegate encapsulates.</param>
- <param name="arg5">The fifth parameter of the method that this delegate encapsulates.</param>
- <param name="arg6">The sixth parameter of the method that this delegate encapsulates.</param>
- <param name="arg7">The seventh parameter of the method that this delegate encapsulates.</param>
- <param name="arg8">The eighth parameter of the method that this delegate encapsulates.</param>
- <param name="arg9">The nineth parameter of the method that this delegate encapsulates.</param>
- <param name="arg10">The tenth parameter of the method that this delegate encapsulates.</param>
- <param name="arg11">The eleventh parameter of the method that this delegate encapsulates.</param>
- <param name="arg12">The twelfth parameter of the method that this delegate encapsulates.</param>
- </member>
- <member name="T:System.Func`13">
- <summary>
- Encapsulates a method that has twelve parameters and returns a value of the type specified by the <typeparamref name="TResult" /> parameter.
- </summary>
- <typeparam name="T1">The type of the first parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T2">The type of the second parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T3">The type of the third parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T4">The type of the fourth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T5">The type of the fifth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T6">The type of the sixth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T7">The type of the seventh parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T8">The type of the eighth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T9">The type of the nineth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T10">The type of the tenth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T11">The type of the eleventh parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T12">The type of the twelfth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="TResult">The type of the return value of the method that this delegate encapsulates.</typeparam>
- <param name="arg1">The first parameter of the method that this delegate encapsulates.</param>
- <param name="arg2">The second parameter of the method that this delegate encapsulates.</param>
- <param name="arg3">The third parameter of the method that this delegate encapsulates.</param>
- <param name="arg4">The fourth parameter of the method that this delegate encapsulates.</param>
- <param name="arg5">The fifth parameter of the method that this delegate encapsulates.</param>
- <param name="arg6">The sixth parameter of the method that this delegate encapsulates.</param>
- <param name="arg7">The seventh parameter of the method that this delegate encapsulates.</param>
- <param name="arg8">The eighth parameter of the method that this delegate encapsulates.</param>
- <param name="arg9">The nineth parameter of the method that this delegate encapsulates.</param>
- <param name="arg10">The tenth parameter of the method that this delegate encapsulates.</param>
- <param name="arg11">The eleventh parameter of the method that this delegate encapsulates.</param>
- <param name="arg12">The twelfth parameter of the method that this delegate encapsulates.</param>
- <return>The return value of the method that this delegate encapsulates.</return>
- </member>
- <member name="T:System.Action`13">
- <summary>
- Encapsulates a method that has thirteen parameters and does not return a value.
- </summary>
- <typeparam name="T1">The type of the first parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T2">The type of the second parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T3">The type of the third parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T4">The type of the fourth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T5">The type of the fifth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T6">The type of the sixth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T7">The type of the seventh parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T8">The type of the eighth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T9">The type of the nineth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T10">The type of the tenth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T11">The type of the eleventh parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T12">The type of the twelfth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T13">The type of the thirteenth parameter of the method that this delegate encapsulates.</typeparam>
- <param name="arg1">The first parameter of the method that this delegate encapsulates.</param>
- <param name="arg2">The second parameter of the method that this delegate encapsulates.</param>
- <param name="arg3">The third parameter of the method that this delegate encapsulates.</param>
- <param name="arg4">The fourth parameter of the method that this delegate encapsulates.</param>
- <param name="arg5">The fifth parameter of the method that this delegate encapsulates.</param>
- <param name="arg6">The sixth parameter of the method that this delegate encapsulates.</param>
- <param name="arg7">The seventh parameter of the method that this delegate encapsulates.</param>
- <param name="arg8">The eighth parameter of the method that this delegate encapsulates.</param>
- <param name="arg9">The nineth parameter of the method that this delegate encapsulates.</param>
- <param name="arg10">The tenth parameter of the method that this delegate encapsulates.</param>
- <param name="arg11">The eleventh parameter of the method that this delegate encapsulates.</param>
- <param name="arg12">The twelfth parameter of the method that this delegate encapsulates.</param>
- <param name="arg13">The thirteenth parameter of the method that this delegate encapsulates.</param>
- </member>
- <member name="T:System.Func`14">
- <summary>
- Encapsulates a method that has thirteen parameters and returns a value of the type specified by the <typeparamref name="TResult" /> parameter.
- </summary>
- <typeparam name="T1">The type of the first parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T2">The type of the second parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T3">The type of the third parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T4">The type of the fourth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T5">The type of the fifth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T6">The type of the sixth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T7">The type of the seventh parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T8">The type of the eighth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T9">The type of the nineth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T10">The type of the tenth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T11">The type of the eleventh parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T12">The type of the twelfth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T13">The type of the thirteenth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="TResult">The type of the return value of the method that this delegate encapsulates.</typeparam>
- <param name="arg1">The first parameter of the method that this delegate encapsulates.</param>
- <param name="arg2">The second parameter of the method that this delegate encapsulates.</param>
- <param name="arg3">The third parameter of the method that this delegate encapsulates.</param>
- <param name="arg4">The fourth parameter of the method that this delegate encapsulates.</param>
- <param name="arg5">The fifth parameter of the method that this delegate encapsulates.</param>
- <param name="arg6">The sixth parameter of the method that this delegate encapsulates.</param>
- <param name="arg7">The seventh parameter of the method that this delegate encapsulates.</param>
- <param name="arg8">The eighth parameter of the method that this delegate encapsulates.</param>
- <param name="arg9">The nineth parameter of the method that this delegate encapsulates.</param>
- <param name="arg10">The tenth parameter of the method that this delegate encapsulates.</param>
- <param name="arg11">The eleventh parameter of the method that this delegate encapsulates.</param>
- <param name="arg12">The twelfth parameter of the method that this delegate encapsulates.</param>
- <param name="arg13">The thirteenth parameter of the method that this delegate encapsulates.</param>
- <return>The return value of the method that this delegate encapsulates.</return>
- </member>
- <member name="T:System.Action`14">
- <summary>
- Encapsulates a method that has fourteen parameters and does not return a value.
- </summary>
- <typeparam name="T1">The type of the first parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T2">The type of the second parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T3">The type of the third parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T4">The type of the fourth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T5">The type of the fifth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T6">The type of the sixth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T7">The type of the seventh parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T8">The type of the eighth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T9">The type of the nineth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T10">The type of the tenth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T11">The type of the eleventh parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T12">The type of the twelfth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T13">The type of the thirteenth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T14">The type of the fourteenth parameter of the method that this delegate encapsulates.</typeparam>
- <param name="arg1">The first parameter of the method that this delegate encapsulates.</param>
- <param name="arg2">The second parameter of the method that this delegate encapsulates.</param>
- <param name="arg3">The third parameter of the method that this delegate encapsulates.</param>
- <param name="arg4">The fourth parameter of the method that this delegate encapsulates.</param>
- <param name="arg5">The fifth parameter of the method that this delegate encapsulates.</param>
- <param name="arg6">The sixth parameter of the method that this delegate encapsulates.</param>
- <param name="arg7">The seventh parameter of the method that this delegate encapsulates.</param>
- <param name="arg8">The eighth parameter of the method that this delegate encapsulates.</param>
- <param name="arg9">The nineth parameter of the method that this delegate encapsulates.</param>
- <param name="arg10">The tenth parameter of the method that this delegate encapsulates.</param>
- <param name="arg11">The eleventh parameter of the method that this delegate encapsulates.</param>
- <param name="arg12">The twelfth parameter of the method that this delegate encapsulates.</param>
- <param name="arg13">The thirteenth parameter of the method that this delegate encapsulates.</param>
- <param name="arg14">The fourteenth parameter of the method that this delegate encapsulates.</param>
- </member>
- <member name="T:System.Func`15">
- <summary>
- Encapsulates a method that has fourteen parameters and returns a value of the type specified by the <typeparamref name="TResult" /> parameter.
- </summary>
- <typeparam name="T1">The type of the first parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T2">The type of the second parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T3">The type of the third parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T4">The type of the fourth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T5">The type of the fifth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T6">The type of the sixth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T7">The type of the seventh parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T8">The type of the eighth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T9">The type of the nineth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T10">The type of the tenth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T11">The type of the eleventh parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T12">The type of the twelfth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T13">The type of the thirteenth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T14">The type of the fourteenth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="TResult">The type of the return value of the method that this delegate encapsulates.</typeparam>
- <param name="arg1">The first parameter of the method that this delegate encapsulates.</param>
- <param name="arg2">The second parameter of the method that this delegate encapsulates.</param>
- <param name="arg3">The third parameter of the method that this delegate encapsulates.</param>
- <param name="arg4">The fourth parameter of the method that this delegate encapsulates.</param>
- <param name="arg5">The fifth parameter of the method that this delegate encapsulates.</param>
- <param name="arg6">The sixth parameter of the method that this delegate encapsulates.</param>
- <param name="arg7">The seventh parameter of the method that this delegate encapsulates.</param>
- <param name="arg8">The eighth parameter of the method that this delegate encapsulates.</param>
- <param name="arg9">The nineth parameter of the method that this delegate encapsulates.</param>
- <param name="arg10">The tenth parameter of the method that this delegate encapsulates.</param>
- <param name="arg11">The eleventh parameter of the method that this delegate encapsulates.</param>
- <param name="arg12">The twelfth parameter of the method that this delegate encapsulates.</param>
- <param name="arg13">The thirteenth parameter of the method that this delegate encapsulates.</param>
- <param name="arg14">The fourteenth parameter of the method that this delegate encapsulates.</param>
- <return>The return value of the method that this delegate encapsulates.</return>
- </member>
- <member name="T:System.Action`15">
- <summary>
- Encapsulates a method that has fifteen parameters and does not return a value.
- </summary>
- <typeparam name="T1">The type of the first parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T2">The type of the second parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T3">The type of the third parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T4">The type of the fourth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T5">The type of the fifth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T6">The type of the sixth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T7">The type of the seventh parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T8">The type of the eighth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T9">The type of the nineth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T10">The type of the tenth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T11">The type of the eleventh parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T12">The type of the twelfth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T13">The type of the thirteenth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T14">The type of the fourteenth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T15">The type of the fifteenth parameter of the method that this delegate encapsulates.</typeparam>
- <param name="arg1">The first parameter of the method that this delegate encapsulates.</param>
- <param name="arg2">The second parameter of the method that this delegate encapsulates.</param>
- <param name="arg3">The third parameter of the method that this delegate encapsulates.</param>
- <param name="arg4">The fourth parameter of the method that this delegate encapsulates.</param>
- <param name="arg5">The fifth parameter of the method that this delegate encapsulates.</param>
- <param name="arg6">The sixth parameter of the method that this delegate encapsulates.</param>
- <param name="arg7">The seventh parameter of the method that this delegate encapsulates.</param>
- <param name="arg8">The eighth parameter of the method that this delegate encapsulates.</param>
- <param name="arg9">The nineth parameter of the method that this delegate encapsulates.</param>
- <param name="arg10">The tenth parameter of the method that this delegate encapsulates.</param>
- <param name="arg11">The eleventh parameter of the method that this delegate encapsulates.</param>
- <param name="arg12">The twelfth parameter of the method that this delegate encapsulates.</param>
- <param name="arg13">The thirteenth parameter of the method that this delegate encapsulates.</param>
- <param name="arg14">The fourteenth parameter of the method that this delegate encapsulates.</param>
- <param name="arg15">The fifteenth parameter of the method that this delegate encapsulates.</param>
- </member>
- <member name="T:System.Func`16">
- <summary>
- Encapsulates a method that has fifteen parameters and returns a value of the type specified by the <typeparamref name="TResult" /> parameter.
- </summary>
- <typeparam name="T1">The type of the first parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T2">The type of the second parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T3">The type of the third parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T4">The type of the fourth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T5">The type of the fifth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T6">The type of the sixth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T7">The type of the seventh parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T8">The type of the eighth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T9">The type of the nineth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T10">The type of the tenth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T11">The type of the eleventh parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T12">The type of the twelfth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T13">The type of the thirteenth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T14">The type of the fourteenth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T15">The type of the fifteenth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="TResult">The type of the return value of the method that this delegate encapsulates.</typeparam>
- <param name="arg1">The first parameter of the method that this delegate encapsulates.</param>
- <param name="arg2">The second parameter of the method that this delegate encapsulates.</param>
- <param name="arg3">The third parameter of the method that this delegate encapsulates.</param>
- <param name="arg4">The fourth parameter of the method that this delegate encapsulates.</param>
- <param name="arg5">The fifth parameter of the method that this delegate encapsulates.</param>
- <param name="arg6">The sixth parameter of the method that this delegate encapsulates.</param>
- <param name="arg7">The seventh parameter of the method that this delegate encapsulates.</param>
- <param name="arg8">The eighth parameter of the method that this delegate encapsulates.</param>
- <param name="arg9">The nineth parameter of the method that this delegate encapsulates.</param>
- <param name="arg10">The tenth parameter of the method that this delegate encapsulates.</param>
- <param name="arg11">The eleventh parameter of the method that this delegate encapsulates.</param>
- <param name="arg12">The twelfth parameter of the method that this delegate encapsulates.</param>
- <param name="arg13">The thirteenth parameter of the method that this delegate encapsulates.</param>
- <param name="arg14">The fourteenth parameter of the method that this delegate encapsulates.</param>
- <param name="arg15">The fifteenth parameter of the method that this delegate encapsulates.</param>
- <return>The return value of the method that this delegate encapsulates.</return>
- </member>
- <member name="T:System.Action`16">
- <summary>
- Encapsulates a method that has sixteen parameters and does not return a value.
- </summary>
- <typeparam name="T1">The type of the first parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T2">The type of the second parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T3">The type of the third parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T4">The type of the fourth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T5">The type of the fifth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T6">The type of the sixth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T7">The type of the seventh parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T8">The type of the eighth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T9">The type of the nineth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T10">The type of the tenth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T11">The type of the eleventh parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T12">The type of the twelfth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T13">The type of the thirteenth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T14">The type of the fourteenth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T15">The type of the fifteenth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T16">The type of the sixteenth parameter of the method that this delegate encapsulates.</typeparam>
- <param name="arg1">The first parameter of the method that this delegate encapsulates.</param>
- <param name="arg2">The second parameter of the method that this delegate encapsulates.</param>
- <param name="arg3">The third parameter of the method that this delegate encapsulates.</param>
- <param name="arg4">The fourth parameter of the method that this delegate encapsulates.</param>
- <param name="arg5">The fifth parameter of the method that this delegate encapsulates.</param>
- <param name="arg6">The sixth parameter of the method that this delegate encapsulates.</param>
- <param name="arg7">The seventh parameter of the method that this delegate encapsulates.</param>
- <param name="arg8">The eighth parameter of the method that this delegate encapsulates.</param>
- <param name="arg9">The nineth parameter of the method that this delegate encapsulates.</param>
- <param name="arg10">The tenth parameter of the method that this delegate encapsulates.</param>
- <param name="arg11">The eleventh parameter of the method that this delegate encapsulates.</param>
- <param name="arg12">The twelfth parameter of the method that this delegate encapsulates.</param>
- <param name="arg13">The thirteenth parameter of the method that this delegate encapsulates.</param>
- <param name="arg14">The fourteenth parameter of the method that this delegate encapsulates.</param>
- <param name="arg15">The fifteenth parameter of the method that this delegate encapsulates.</param>
- <param name="arg16">The sixteenth parameter of the method that this delegate encapsulates.</param>
- </member>
- <member name="T:System.Func`17">
- <summary>
- Encapsulates a method that has sixteen parameters and returns a value of the type specified by the <typeparamref name="TResult" /> parameter.
- </summary>
- <typeparam name="T1">The type of the first parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T2">The type of the second parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T3">The type of the third parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T4">The type of the fourth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T5">The type of the fifth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T6">The type of the sixth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T7">The type of the seventh parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T8">The type of the eighth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T9">The type of the nineth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T10">The type of the tenth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T11">The type of the eleventh parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T12">The type of the twelfth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T13">The type of the thirteenth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T14">The type of the fourteenth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T15">The type of the fifteenth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="T16">The type of the sixteenth parameter of the method that this delegate encapsulates.</typeparam>
- <typeparam name="TResult">The type of the return value of the method that this delegate encapsulates.</typeparam>
- <param name="arg1">The first parameter of the method that this delegate encapsulates.</param>
- <param name="arg2">The second parameter of the method that this delegate encapsulates.</param>
- <param name="arg3">The third parameter of the method that this delegate encapsulates.</param>
- <param name="arg4">The fourth parameter of the method that this delegate encapsulates.</param>
- <param name="arg5">The fifth parameter of the method that this delegate encapsulates.</param>
- <param name="arg6">The sixth parameter of the method that this delegate encapsulates.</param>
- <param name="arg7">The seventh parameter of the method that this delegate encapsulates.</param>
- <param name="arg8">The eighth parameter of the method that this delegate encapsulates.</param>
- <param name="arg9">The nineth parameter of the method that this delegate encapsulates.</param>
- <param name="arg10">The tenth parameter of the method that this delegate encapsulates.</param>
- <param name="arg11">The eleventh parameter of the method that this delegate encapsulates.</param>
- <param name="arg12">The twelfth parameter of the method that this delegate encapsulates.</param>
- <param name="arg13">The thirteenth parameter of the method that this delegate encapsulates.</param>
- <param name="arg14">The fourteenth parameter of the method that this delegate encapsulates.</param>
- <param name="arg15">The fifteenth parameter of the method that this delegate encapsulates.</param>
- <param name="arg16">The sixteenth parameter of the method that this delegate encapsulates.</param>
- <return>The return value of the method that this delegate encapsulates.</return>
+ <member name="T:Moq.MockExtensions">
+ <summary>
+ Provides additional methods on mocks.
+ </summary>
+ <remarks>
+ Those methods are useful for Testeroids support.
+ </remarks>
+ </member>
+ <member name="M:Moq.MockExtensions.ResetCalls(Moq.Mock)">
+ <summary>
+ Resets the calls previously made on the specified mock.
+ </summary>
+ <param name="mock">The mock whose calls need to be reset.</param>
</member>
<member name="T:Moq.MockSequence">
<summary>
@@ -3918,6 +3423,11 @@ <code>var mock = new Mock<MyProvider>(someArgument, 25);</code>
</example><param name="behavior">Behavior of the mock.</param><param name="args">Optional constructor arguments if the mocked type is a class.</param>
</member>
+ <member name="M:Moq.Mock`1.ToString">
+ <summary>
+ Returns the name of the mock
+ </summary>
+ </member>
<member name="M:Moq.Mock`1.OnGetObject">
<summary>
Returns the mocked object value.
@@ -4090,6 +3600,15 @@ <paramref name="times"/>.
</exception><param name="expression">Expression to verify.</param><param name="times">The number of times a method is allowed to be called.</param>
</member>
+ <member name="M:Moq.Mock`1.Verify(System.Linq.Expressions.Expression{System.Action{`0}},System.Func{Moq.Times})">
+ <summary>
+ Verifies that a specific invocation matching the given expression was performed on the mock. Use
+ in conjuntion with the default <see cref="F:Moq.MockBehavior.Loose"/>.
+ </summary><exception cref="T:Moq.MockException">
+ The invocation was not call the times specified by
+ <paramref name="times"/>.
+ </exception><param name="expression">Expression to verify.</param><param name="times">The number of times a method is allowed to be called.</param>
+ </member>
<member name="M:Moq.Mock`1.Verify(System.Linq.Expressions.Expression{System.Action{`0}},System.String)">
<summary>
Verifies that a specific invocation matching the given expression was performed on the mock,
@@ -4117,6 +3636,16 @@ <paramref name="times"/>.
</exception><param name="expression">Expression to verify.</param><param name="times">The number of times a method is allowed to be called.</param><param name="failMessage">Message to show if verification fails.</param>
</member>
+ <member name="M:Moq.Mock`1.Verify(System.Linq.Expressions.Expression{System.Action{`0}},System.Func{Moq.Times},System.String)">
+ <summary>
+ Verifies that a specific invocation matching the given expression was performed on the mock,
+ specifying a failure error message. Use in conjuntion with the default
+ <see cref="F:Moq.MockBehavior.Loose"/>.
+ </summary><exception cref="T:Moq.MockException">
+ The invocation was not call the times specified by
+ <paramref name="times"/>.
+ </exception><param name="expression">Expression to verify.</param><param name="times">The number of times a method is allowed to be called.</param><param name="failMessage">Message to show if verification fails.</param>
+ </member>
<member name="M:Moq.Mock`1.Verify``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
<summary>
Verifies that a specific invocation matching the given expression was performed on the mock. Use
@@ -4143,6 +3672,16 @@ <paramref name="times"/>.
</exception><param name="expression">Expression to verify.</param><param name="times">The number of times a method is allowed to be called.</param><typeparam name="TResult">Type of return value from the expression.</typeparam>
</member>
+ <member name="M:Moq.Mock`1.Verify``1(System.Linq.Expressions.Expression{System.Func{`0,``0}},System.Func{Moq.Times})">
+ <summary>
+ Verifies that a specific invocation matching the given
+ expression was performed on the mock. Use in conjuntion
+ with the default <see cref="F:Moq.MockBehavior.Loose"/>.
+ </summary><exception cref="T:Moq.MockException">
+ The invocation was not call the times specified by
+ <paramref name="times"/>.
+ </exception><param name="expression">Expression to verify.</param><param name="times">The number of times a method is allowed to be called.</param><typeparam name="TResult">Type of return value from the expression.</typeparam>
+ </member>
<member name="M:Moq.Mock`1.Verify``1(System.Linq.Expressions.Expression{System.Func{`0,``0}},System.String)">
<summary>
Verifies that a specific invocation matching the given
@@ -4201,6 +3740,17 @@ be inferred from the expression's return type.
</typeparam>
</member>
+ <member name="M:Moq.Mock`1.VerifyGet``1(System.Linq.Expressions.Expression{System.Func{`0,``0}},System.Func{Moq.Times})">
+ <summary>
+ Verifies that a property was read on the mock.
+ </summary><exception cref="T:Moq.MockException">
+ The invocation was not call the times specified by
+ <paramref name="times"/>.
+ </exception><param name="times">The number of times a method is allowed to be called.</param><param name="expression">Expression to verify.</param><typeparam name="TProperty">
+ Type of the property to verify. Typically omitted as it can
+ be inferred from the expression's return type.
+ </typeparam>
+ </member>
<member name="M:Moq.Mock`1.VerifyGet``1(System.Linq.Expressions.Expression{System.Func{`0,``0}},System.String)">
<summary>
Verifies that a property was read on the mock, specifying a failure
@@ -4233,6 +3783,18 @@ be inferred from the expression's return type.
</typeparam>
</member>
+ <member name="M:Moq.Mock`1.VerifyGet``1(System.Linq.Expressions.Expression{System.Func{`0,``0}},System.Func{Moq.Times},System.String)">
+ <summary>
+ Verifies that a property was read on the mock, specifying a failure
+ error message.
+ </summary><exception cref="T:Moq.MockException">
+ The invocation was not call the times specified by
+ <paramref name="times"/>.
+ </exception><param name="times">The number of times a method is allowed to be called.</param><param name="expression">Expression to verify.</param><param name="failMessage">Message to show if verification fails.</param><typeparam name="TProperty">
+ Type of the property to verify. Typically omitted as it can
+ be inferred from the expression's return type.
+ </typeparam>
+ </member>
<member name="M:Moq.Mock`1.VerifySet(System.Action{`0})">
<summary>
Verifies that a property was set on the mock.
@@ -4257,6 +3819,14 @@ <paramref name="times"/>.
</exception><param name="times">The number of times a method is allowed to be called.</param><param name="setterExpression">Expression to verify.</param>
</member>
+ <member name="M:Moq.Mock`1.VerifySet(System.Action{`0},System.Func{Moq.Times})">
+ <summary>
+ Verifies that a property was set on the mock.
+ </summary><exception cref="T:Moq.MockException">
+ The invocation was not call the times specified by
+ <paramref name="times"/>.
+ </exception><param name="times">The number of times a method is allowed to be called.</param><param name="setterExpression">Expression to verify.</param>
+ </member>
<member name="M:Moq.Mock`1.VerifySet(System.Action{`0},System.String)">
<summary>
Verifies that a property was set on the mock, specifying
@@ -4283,6 +3853,15 @@ <paramref name="times"/>.
</exception><param name="times">The number of times a method is allowed to be called.</param><param name="setterExpression">Expression to verify.</param><param name="failMessage">Message to show if verification fails.</param>
</member>
+ <member name="M:Moq.Mock`1.VerifySet(System.Action{`0},System.Func{Moq.Times},System.String)">
+ <summary>
+ Verifies that a property was set on the mock, specifying
+ a failure message.
+ </summary><exception cref="T:Moq.MockException">
+ The invocation was not call the times specified by
+ <paramref name="times"/>.
+ </exception><param name="times">The number of times a method is allowed to be called.</param><param name="setterExpression">Expression to verify.</param><param name="failMessage">Message to show if verification fails.</param>
+ </member>
<member name="M:Moq.Mock`1.Raise(System.Action{`0},System.EventArgs)">
<summary>
Raises the event referenced in <paramref name="eventExpression"/> using
@@ -4341,6 +3920,14 @@ Exposes the mocked object instance.
</summary>
</member>
+ <member name="P:Moq.Mock`1.Name">
+ <summary>
+ Allows naming of your mocks, so they can be easily identified in error messages (e.g. from failed assertions).
+ </summary>
+ </member>
+ <member name="P:Moq.Mock`1.DelegateInterfaceMethod">
+ <inheritdoc />
+ </member>
<member name="T:Moq.MockLegacyExtensions">
<summary>
Provides legacy API members as extensions so that
@@ -4363,7 +3950,7 @@ Obsolete.
</summary>
</member>
- <member name="T:Moq.MockExtensions">
+ <member name="T:Moq.ObsoleteMockExtensions">
<summary>
Provides additional methods on mocks.
</summary>
@@ -4372,7 +3959,7 @@ with the overloads taking Action.
</devdoc>
</member>
- <member name="M:Moq.MockExtensions.SetupSet``2(Moq.Mock{``0},System.Linq.Expressions.Expression{System.Func{``0,``1}})">
+ <member name="M:Moq.ObsoleteMockExtensions.SetupSet``2(Moq.Mock{``0},System.Linq.Expressions.Expression{System.Func{``0,``1}})">
<summary>
Specifies a setup on the mocked type for a call to
to a property setter, regardless of its value.
@@ -4395,7 +3982,7 @@ confusing the compiler with the new Action syntax.
</devdoc>
</member>
- <member name="M:Moq.MockExtensions.VerifySet``2(Moq.Mock{``0},System.Linq.Expressions.Expression{System.Func{``0,``1}})">
+ <member name="M:Moq.ObsoleteMockExtensions.VerifySet``2(Moq.Mock{``0},System.Linq.Expressions.Expression{System.Func{``0,``1}})">
<summary>
Verifies that a property has been set on the mock, regarless of its value.
</summary>
@@ -4418,7 +4005,7 @@ <typeparam name="TProperty">Type of the property to verify. Typically omitted as it can
be inferred from the expression's return type.</typeparam>
</member>
- <member name="M:Moq.MockExtensions.VerifySet``2(Moq.Mock{``0},System.Linq.Expressions.Expression{System.Func{``0,``1}},System.String)">
+ <member name="M:Moq.ObsoleteMockExtensions.VerifySet``2(Moq.Mock{``0},System.Linq.Expressions.Expression{System.Func{``0,``1}},System.String)">
<summary>
Verifies that a property has been set on the mock, specifying a failure
error message.
@@ -4443,7 +4030,7 @@ <typeparam name="TProperty">Type of the property to verify. Typically omitted as it can
be inferred from the expression's return type.</typeparam>
</member>
- <member name="M:Moq.MockExtensions.VerifySet``2(Moq.Mock{``0},System.Linq.Expressions.Expression{System.Func{``0,``1}},Moq.Times)">
+ <member name="M:Moq.ObsoleteMockExtensions.VerifySet``2(Moq.Mock{``0},System.Linq.Expressions.Expression{System.Func{``0,``1}},Moq.Times)">
<summary>
Verifies that a property has been set on the mock, regardless
of the value but only the specified number of times.
@@ -4470,7 +4057,7 @@ <typeparam name="TProperty">Type of the property to verify. Typically omitted as it can
be inferred from the expression's return type.</typeparam>
</member>
- <member name="M:Moq.MockExtensions.VerifySet``2(Moq.Mock{``0},System.Linq.Expressions.Expression{System.Func{``0,``1}},Moq.Times,System.String)">
+ <member name="M:Moq.ObsoleteMockExtensions.VerifySet``2(Moq.Mock{``0},System.Linq.Expressions.Expression{System.Func{``0,``1}},Moq.Times,System.String)">
<summary>
Verifies that a property has been set on the mock, regardless
of the value but only the specified number of times, and specifying a failure
@@ -4564,6 +4151,18 @@ is fixed.
</devdoc>
</member>
+ <member name="M:Moq.ExpressionExtensions.GetCallInfo(System.Linq.Expressions.LambdaExpression,Moq.Mock)">
+ <summary>
+ Extracts, into a common form, information from a <see cref="T:System.Linq.Expressions.LambdaExpression"/>
+ around either a <see cref="T:System.Linq.Expressions.MethodCallExpression"/> (for a normal method call)
+ or a <see cref="T:System.Linq.Expressions.InvocationExpression"/> (for a delegate invocation).
+ </summary>
+ </member>
+ <member name="M:Moq.Extensions.IsDelegate(System.Type)">
+ <summary>
+ Tests if a type is a delegate type (subclasses <see cref="T:System.Delegate"/>).
+ </summary>
+ </member>
<member name="T:Moq.Evaluator">
<summary>
Provides partial evaluation of subtrees, whenever they can be evaluated locally.
@@ -4659,18 +4258,6 @@ all mocks.
</summary>
</member>
- <member name="M:Moq.Interceptor.GetEventFromName(System.String)">
- <summary>
- Get an eventInfo for a given event name. Search type ancestors depth first if necessary.
- </summary>
- <param name="eventName">Name of the event, with the set_ or get_ prefix already removed</param>
- </member>
- <member name="M:Moq.Interceptor.GetAncestorTypes(System.Type)">
- <summary>
- Given a type return all of its ancestors, both types and interfaces.
- </summary>
- <param name="initialType">The type to find immediate ancestors of</param>
- </member>
<member name="T:Moq.Language.Flow.ISetupSetter`2">
<summary>
Implements the fluent API.
@@ -4720,6 +4307,11 @@ </code>
</example><typeparam name="TValue">Type of the value.</typeparam>
</member>
+ <member name="M:Moq.It.IsNotNull``1">
+ <summary>
+ Matches any value of the given <typeparamref name="TValue"/> type, except null.
+ </summary><typeparam name="TValue">Type of the value.</typeparam>
+ </member>
<member name="M:Moq.It.Is``1(System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}})">
<summary>
Matches any value that satisfies the given predicate.
@@ -4757,6 +4349,66 @@ </code>
</example>
</member>
+ <member name="M:Moq.It.IsIn``1(System.Collections.Generic.IEnumerable{``0})">
+ <summary>
+ Matches any value that is present in the sequence specified.
+ </summary><typeparam name="TValue">Type of the argument to check.</typeparam><param name="items">The sequence of possible values.</param><example>
+ The following example shows how to expect a method call
+ with an integer argument with value from a list.
+ <code>
+ var values = new List<int> { 1, 2, 3 };
+
+ mock.Setup(x => x.HasInventory(
+ It.IsAny<string>(),
+ It.IsIn(values)))
+ .Returns(false);
+ </code>
+ </example>
+ </member>
+ <member name="M:Moq.It.IsIn``1(``0[])">
+ <summary>
+ Matches any value that is present in the sequence specified.
+ </summary><typeparam name="TValue">Type of the argument to check.</typeparam><param name="items">The sequence of possible values.</param><example>
+ The following example shows how to expect a method call
+ with an integer argument with a value of 1, 2, or 3.
+ <code>
+ mock.Setup(x => x.HasInventory(
+ It.IsAny<string>(),
+ It.IsIn(1, 2, 3)))
+ .Returns(false);
+ </code>
+ </example>
+ </member>
+ <member name="M:Moq.It.IsNotIn``1(System.Collections.Generic.IEnumerable{``0})">
+ <summary>
+ Matches any value that is not found in the sequence specified.
+ </summary><typeparam name="TValue">Type of the argument to check.</typeparam><param name="items">The sequence of disallowed values.</param><example>
+ The following example shows how to expect a method call
+ with an integer argument with value not found from a list.
+ <code>
+ var values = new List<int> { 1, 2, 3 };
+
+ mock.Setup(x => x.HasInventory(
+ It.IsAny<string>(),
+ It.IsNotIn(values)))
+ .Returns(false);
+ </code>
+ </example>
+ </member>
+ <member name="M:Moq.It.IsNotIn``1(``0[])">
+ <summary>
+ Matches any value that is not found in the sequence specified.
+ </summary><typeparam name="TValue">Type of the argument to check.</typeparam><param name="items">The sequence of disallowed values.</param><example>
+ The following example shows how to expect a method call
+ with an integer argument of any value except 1, 2, or 3.
+ <code>
+ mock.Setup(x => x.HasInventory(
+ It.IsAny<string>(),
+ It.IsNotIn(1, 2, 3)))
+ .Returns(false);
+ </code>
+ </example>
+ </member>
<member name="M:Moq.It.IsRegex(System.String)">
<summary>
Matches a string argument if it matches the given regular expression pattern.
@@ -4856,6 +4508,11 @@ <param name="info">Serialization information.</param>
<param name="context">Streaming context.</param>
</member>
+ <member name="P:Moq.MockException.IsVerificationError">
+ <summary>
+ Indicates whether this exception is a verification fault raised by Verify()
+ </summary>
+ </member>
<member name="T:Moq.MockException.ExceptionReason">
<summary>
Made internal as it's of no use for
@@ -4910,6 +4567,11 @@ Looks up a localized string similar to Can't set return value for void method {0}..
</summary>
</member>
+ <member name="P:Moq.Properties.Resources.ConstructorArgsForDelegate">
+ <summary>
+ Looks up a localized string similar to Constructor arguments cannot be passed for delegate mocks..
+ </summary>
+ </member>
<member name="P:Moq.Properties.Resources.ConstructorArgsForInterface">
<summary>
Looks up a localized string similar to Constructor arguments cannot be passed for interface mocks..
@@ -5678,6 +5340,25 @@ Retrieves a fluent mock from the given setup expression.
</summary>
</member>
+ <member name="M:Moq.Proxy.IProxyFactory.GetDelegateProxyInterface(System.Type,System.Reflection.MethodInfo@)">
+ <summary>
+ Gets an autogenerated interface with a method on it that matches the signature of the specified
+ <paramref name="delegateType"/>.
+ </summary>
+ <remarks>
+ Such an interface can then be mocked, and a delegate pointed at the method on the mocked instance.
+ This is how we support delegate mocking. The factory caches such interfaces and reuses them
+ for repeated requests for the same delegate type.
+ </remarks>
+ <param name="delegateType">The delegate type for which an interface is required.</param>
+ <param name="delegateInterfaceMethod">The method on the autogenerated interface.</param>
+ </member>
+ <member name="M:Moq.Proxy.CastleProxyFactory.CreateProxy(System.Type,Moq.Proxy.ICallInterceptor,System.Type[],System.Object[])">
+ <inheritdoc />
+ </member>
+ <member name="M:Moq.Proxy.CastleProxyFactory.GetDelegateProxyInterface(System.Type,System.Reflection.MethodInfo@)">
+ <inheritdoc />
+ </member>
<member name="T:Moq.Times">
<summary>
Defines the number of invocations allowed by a mocked method.
diff --git a/LibGit2Sharp.Tests/BlobFixture.cs b/LibGit2Sharp.Tests/BlobFixture.cs index 3092ee2a..f615aed1 100644 --- a/LibGit2Sharp.Tests/BlobFixture.cs +++ b/LibGit2Sharp.Tests/BlobFixture.cs @@ -1,5 +1,4 @@ -using System; -using System.IO; +using System.IO; using System.Linq; using System.Text; using LibGit2Sharp.Tests.TestHelpers; diff --git a/LibGit2Sharp.Tests/LazyFixture.cs b/LibGit2Sharp.Tests/LazyFixture.cs deleted file mode 100644 index 14b797ea..00000000 --- a/LibGit2Sharp.Tests/LazyFixture.cs +++ /dev/null @@ -1,40 +0,0 @@ -using System; -using LibGit2Sharp.Core.Compat; -using Xunit; - -namespace LibGit2Sharp.Tests -{ - public class LazyFixture - { - [Fact] - public void CanReturnTheValue() - { - var lazy = new Lazy<int>(() => 2); - Assert.Equal(2, lazy.Value); - } - - [Fact] - public void IsLazilyEvaluated() - { - int i = 0; - - var evaluator = new Func<int>(() => ++i); - - var lazy = new Lazy<int>(evaluator); - Assert.Equal(1, lazy.Value); - } - - [Fact] - public void IsEvaluatedOnlyOnce() - { - int i = 0; - - var evaluator = new Func<int>(() => ++i); - - var lazy = new Lazy<int>(evaluator); - - Assert.Equal(1, lazy.Value); - Assert.Equal(1, lazy.Value); - } - } -} diff --git a/LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj b/LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj index 0d5e17a4..76d100e6 100644 --- a/LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj +++ b/LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj @@ -10,15 +10,16 @@ <AppDesignerFolder>Properties</AppDesignerFolder> <RootNamespace>LibGit2Sharp.Tests</RootNamespace> <AssemblyName>LibGit2Sharp.Tests</AssemblyName> - <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> <FileAlignment>512</FileAlignment> + <TargetFrameworkProfile /> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> <OutputPath>bin\Debug\</OutputPath> - <DefineConstants>TRACE;DEBUG;NET35</DefineConstants> + <DefineConstants>TRACE;DEBUG;NET40</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> <DocumentationFile /> @@ -37,7 +38,7 @@ <DebugType>full</DebugType> <Optimize>false</Optimize> <OutputPath>bin\Leaks\</OutputPath> - <DefineConstants>TRACE;DEBUG;NET35;LEAKS</DefineConstants> + <DefineConstants>TRACE;DEBUG;NET40;LEAKS</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> <DocumentationFile /> @@ -96,7 +97,6 @@ <Compile Include="DiffTreeToTreeFixture.cs" /> <Compile Include="RepositoryOptionsFixture.cs" /> <Compile Include="ResetHeadFixture.cs" /> - <Compile Include="LazyFixture.cs" /> <Compile Include="FetchFixture.cs" /> <Compile Include="ResetIndexFixture.cs" /> <Compile Include="StatusFixture.cs" /> @@ -122,7 +122,6 @@ <Compile Include="TestHelpers\SkippableFactAttribute.cs" /> <Compile Include="TreeDefinitionFixture.cs" /> <Compile Include="TreeFixture.cs" /> - <Compile Include="TupleFixture.cs" /> <Compile Include="UnstageFixture.cs" /> </ItemGroup> <ItemGroup> diff --git a/LibGit2Sharp.Tests/NetworkFixture.cs b/LibGit2Sharp.Tests/NetworkFixture.cs index 3b505039..3bb5db73 100644 --- a/LibGit2Sharp.Tests/NetworkFixture.cs +++ b/LibGit2Sharp.Tests/NetworkFixture.cs @@ -1,6 +1,6 @@ -using System.Collections.Generic; +using System; +using System.Collections.Generic; using System.Linq; -using LibGit2Sharp.Core.Compat; using LibGit2Sharp.Tests.TestHelpers; using Xunit; using Xunit.Extensions; diff --git a/LibGit2Sharp.Tests/TupleFixture.cs b/LibGit2Sharp.Tests/TupleFixture.cs deleted file mode 100644 index c6258648..00000000 --- a/LibGit2Sharp.Tests/TupleFixture.cs +++ /dev/null @@ -1,54 +0,0 @@ -using LibGit2Sharp.Core.Compat; -using Xunit; - -namespace LibGit2Sharp.Tests -{ - public class TupleFixture - { - const int integer = 2; - const string stringy = "hello"; - - private readonly Tuple<int, string> sut = new Tuple<int, string>(integer, stringy); - - [Fact] - public void Properties() - { - Assert.Equal(integer, sut.Item1); - Assert.Equal(stringy, sut.Item2); - } - - [Fact] - public void GetHashCodeIsTheSame() - { - var sut2 = new Tuple<int, string>(integer, stringy); - - Assert.Equal(sut2.GetHashCode(), sut.GetHashCode()); - } - - [Fact] - public void GetHashCodeIsDifferent() - { - var sut2 = new Tuple<int, string>(integer + 1, stringy); - - Assert.NotEqual(sut2.GetHashCode(), sut.GetHashCode()); - } - - [Fact] - public void VerifyEquals() - { - var sut2 = new Tuple<int, string>(integer, stringy); - - Assert.True(sut.Equals(sut2)); - Assert.True(Equals(sut, sut2)); - } - - [Fact] - public void VerifyNotEquals() - { - var sut2 = new Tuple<int, string>(integer + 1, stringy); - - Assert.False(sut.Equals(sut2)); - Assert.False(Equals(sut, sut2)); - } - } -} diff --git a/LibGit2Sharp/BlameHunk.cs b/LibGit2Sharp/BlameHunk.cs index 1fdbe16b..79dbf394 100644 --- a/LibGit2Sharp/BlameHunk.cs +++ b/LibGit2Sharp/BlameHunk.cs @@ -2,7 +2,6 @@ using System.Diagnostics; using System.Globalization; using LibGit2Sharp.Core; -using LibGit2Sharp.Core.Compat; namespace LibGit2Sharp { diff --git a/LibGit2Sharp/Branch.cs b/LibGit2Sharp/Branch.cs index ae2fa7d9..e13c5c57 100644 --- a/LibGit2Sharp/Branch.cs +++ b/LibGit2Sharp/Branch.cs @@ -1,7 +1,6 @@ using System; using System.Globalization; using LibGit2Sharp.Core; -using LibGit2Sharp.Core.Compat; using LibGit2Sharp.Handlers; namespace LibGit2Sharp diff --git a/LibGit2Sharp/Commit.cs b/LibGit2Sharp/Commit.cs index 6f96ec9b..6ea9d060 100644 --- a/LibGit2Sharp/Commit.cs +++ b/LibGit2Sharp/Commit.cs @@ -5,7 +5,6 @@ using System.Diagnostics; using System.Globalization; using System.Linq; using LibGit2Sharp.Core; -using LibGit2Sharp.Core.Compat; using LibGit2Sharp.Core.Handles; namespace LibGit2Sharp diff --git a/LibGit2Sharp/Core/Compat/EnumExtensions.cs b/LibGit2Sharp/Core/Compat/EnumExtensions.cs deleted file mode 100644 index beac535f..00000000 --- a/LibGit2Sharp/Core/Compat/EnumExtensions.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System; - -namespace LibGit2Sharp.Core.Compat -{ - internal static class EnumExtensions - { - // Based on the following Stack Overflow post - // http://stackoverflow.com/questions/93744/most-common-c-sharp-bitwise-operations-on-enums/417217#417217 - // Reused with permission of Hugo Bonacci on Jan 04 2013. - public static bool HasFlag<T>(this Enum enumInstance, T entry) - { - return ((int)(object)enumInstance & (int)(object)entry) == (int)(object)(entry); - } - } -} diff --git a/LibGit2Sharp/Core/Compat/Environment.cs b/LibGit2Sharp/Core/Compat/Environment.cs deleted file mode 100644 index 49b8e33c..00000000 --- a/LibGit2Sharp/Core/Compat/Environment.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; - -namespace LibGit2Sharp.Core.Compat -{ - /// <summary> - /// Provides information about, and means to manipulate, the current environment and platform. - /// </summary> - public static class Environment - { - /// <summary> - /// Determines whether the current process is a 64-bit process. - /// </summary> - public static bool Is64BitProcess - { - get { return IntPtr.Size == 8; } - } - } -} diff --git a/LibGit2Sharp/Core/Compat/Lazy.cs b/LibGit2Sharp/Core/Compat/Lazy.cs deleted file mode 100644 index 2f08a24a..00000000 --- a/LibGit2Sharp/Core/Compat/Lazy.cs +++ /dev/null @@ -1,54 +0,0 @@ -using System; -using System.Diagnostics; - -namespace LibGit2Sharp.Core.Compat -{ - /// <summary> - /// Provides support for lazy initialization. - /// </summary> - /// <typeparam name="TType">Specifies the type of object that is being lazily initialized.</typeparam> - [DebuggerStepThrough] - public class Lazy<TType> - { - private readonly Func<TType> evaluator; - private TType value; - private bool hasBeenEvaluated; - private readonly object padLock = new object(); - - /// <summary> - /// Initializes a new instance of the <see cref="Lazy{TType}"/> class. - /// </summary> - /// <param name="evaluator">The <see cref="Func{TResult}"/> that will be called to evaluate the value of this Lazy instance.</param> - public Lazy(Func<TType> evaluator) - { - Ensure.ArgumentNotNull(evaluator, "evaluator"); - - this.evaluator = evaluator; - } - - /// <summary> - /// Gets the lazily initialized value of the current instance. - /// </summary> - public TType Value - { - get { return Evaluate(); } - } - - private TType Evaluate() - { - if (!hasBeenEvaluated) - { - lock (padLock) - { - if (!hasBeenEvaluated) - { - value = evaluator(); - hasBeenEvaluated = true; - } - } - } - - return value; - } - } -} diff --git a/LibGit2Sharp/Core/Compat/Tuple.cs b/LibGit2Sharp/Core/Compat/Tuple.cs deleted file mode 100644 index b8cf7f00..00000000 --- a/LibGit2Sharp/Core/Compat/Tuple.cs +++ /dev/null @@ -1,65 +0,0 @@ -using System.Collections.Generic; - -namespace LibGit2Sharp.Core.Compat -{ - /// <summary> - /// Represents a 2-tuple, or pair. - /// </summary> - /// <typeparam name="T1">The type of the tuple's first component.</typeparam> - /// <typeparam name="T2">The type of the tuple's second component.</typeparam> - public class Tuple<T1, T2> - { - private readonly KeyValuePair<T1, T2> kvp; - - /// <summary> - /// Initializes a new instance of the <see cref="Tuple{T1,T2}"/> class. - /// </summary> - /// <param name="item1">The value of the tuple's first component.</param> - /// <param name="item2">The value of the tuple's second component.</param> - public Tuple(T1 item1, T2 item2) - { - kvp = new KeyValuePair<T1, T2>(item1, item2); - } - - /// <summary> - /// Gets the value of the current <see cref="Tuple{T1,T2}"/> object's second component. - /// </summary> - public T2 Item2 - { - get { return kvp.Value; } - } - - /// <summary> - /// Gets the value of the current <see cref="Tuple{T1,T2}"/> object's first component. - /// </summary> - public T1 Item1 - { - get { return kvp.Key; } - } - - /// <summary> - /// Returns the hash code for the current <see cref="Tuple{T1,T2}"/> object. - /// </summary> - /// <returns>A 32-bit signed integer hash code.</returns> - public override int GetHashCode() - { - return kvp.GetHashCode(); - } - - /// <summary> - /// Returns a value that indicates whether the current <see cref="Tuple{T1,T2}"/> object is equal to a specified object. - /// </summary> - /// <param name="obj">The object to compare with this instance.</param> - /// <returns>true if the current instance is equal to the specified object; otherwise, false.</returns> - public override bool Equals(object obj) - { - if (!(obj is Tuple<T1, T2>)) - { - return false; - } - return kvp.Equals(((Tuple<T1, T2>)obj).kvp); - } - - - } -} diff --git a/LibGit2Sharp/Core/EnumExtensions.cs b/LibGit2Sharp/Core/EnumExtensions.cs index 40d6d4cd..faaf4264 100644 --- a/LibGit2Sharp/Core/EnumExtensions.cs +++ b/LibGit2Sharp/Core/EnumExtensions.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.Linq; -using LibGit2Sharp.Core.Compat; namespace LibGit2Sharp.Core { diff --git a/LibGit2Sharp/Core/GitDiffExtensions.cs b/LibGit2Sharp/Core/GitDiffExtensions.cs index a885901a..a131d209 100644 --- a/LibGit2Sharp/Core/GitDiffExtensions.cs +++ b/LibGit2Sharp/Core/GitDiffExtensions.cs @@ -1,5 +1,3 @@ -using LibGit2Sharp.Core.Compat; - namespace LibGit2Sharp.Core { internal static class GitDiffExtensions diff --git a/LibGit2Sharp/Core/LazyGroup.cs b/LibGit2Sharp/Core/LazyGroup.cs index ec341dda..3c82fa3a 100644 --- a/LibGit2Sharp/Core/LazyGroup.cs +++ b/LibGit2Sharp/Core/LazyGroup.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using LibGit2Sharp.Core.Compat; namespace LibGit2Sharp.Core { diff --git a/LibGit2Sharp/Core/NativeMethods.cs b/LibGit2Sharp/Core/NativeMethods.cs index 97ecd4aa..0653503b 100644 --- a/LibGit2Sharp/Core/NativeMethods.cs +++ b/LibGit2Sharp/Core/NativeMethods.cs @@ -79,7 +79,7 @@ namespace LibGit2Sharp.Core { get { - if (Compat.Environment.Is64BitProcess) + if (Environment.Is64BitProcess) { return "amd64"; } diff --git a/LibGit2Sharp/Core/Proxy.cs b/LibGit2Sharp/Core/Proxy.cs index b91e9fa1..e698d971 100644 --- a/LibGit2Sharp/Core/Proxy.cs +++ b/LibGit2Sharp/Core/Proxy.cs @@ -5,7 +5,6 @@ using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Threading; -using LibGit2Sharp.Core.Compat; using LibGit2Sharp.Core.Handles; // ReSharper disable InconsistentNaming diff --git a/LibGit2Sharp/Diff.cs b/LibGit2Sharp/Diff.cs index c888d7a6..b276ebc3 100644 --- a/LibGit2Sharp/Diff.cs +++ b/LibGit2Sharp/Diff.cs @@ -4,7 +4,6 @@ using System.Globalization; using System.Linq; using System.Text; using LibGit2Sharp.Core; -using LibGit2Sharp.Core.Compat; using LibGit2Sharp.Core.Handles; using Environment = System.Environment; diff --git a/LibGit2Sharp/DirectReference.cs b/LibGit2Sharp/DirectReference.cs index 1111a291..d5de4662 100644 --- a/LibGit2Sharp/DirectReference.cs +++ b/LibGit2Sharp/DirectReference.cs @@ -1,4 +1,4 @@ -using LibGit2Sharp.Core.Compat; +using System; namespace LibGit2Sharp { diff --git a/LibGit2Sharp/HistoryDivergence.cs b/LibGit2Sharp/HistoryDivergence.cs index 51044bd7..c5dab176 100644 --- a/LibGit2Sharp/HistoryDivergence.cs +++ b/LibGit2Sharp/HistoryDivergence.cs @@ -1,5 +1,5 @@ +using System; using LibGit2Sharp.Core; -using LibGit2Sharp.Core.Compat; namespace LibGit2Sharp { diff --git a/LibGit2Sharp/Index.cs b/LibGit2Sharp/Index.cs index d2906ad1..1f6501b4 100644 --- a/LibGit2Sharp/Index.cs +++ b/LibGit2Sharp/Index.cs @@ -6,7 +6,6 @@ using System.Globalization; using System.IO; using System.Linq; using LibGit2Sharp.Core; -using LibGit2Sharp.Core.Compat; using LibGit2Sharp.Core.Handles; namespace LibGit2Sharp diff --git a/LibGit2Sharp/LibGit2Sharp.csproj b/LibGit2Sharp/LibGit2Sharp.csproj index bcbffa84..e3c3ba0f 100644 --- a/LibGit2Sharp/LibGit2Sharp.csproj +++ b/LibGit2Sharp/LibGit2Sharp.csproj @@ -10,7 +10,7 @@ <AppDesignerFolder>Properties</AppDesignerFolder> <RootNamespace>LibGit2Sharp</RootNamespace> <AssemblyName>LibGit2Sharp</AssemblyName> - <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> <FileAlignment>512</FileAlignment> <TargetFrameworkProfile /> </PropertyGroup> @@ -19,7 +19,7 @@ <DebugType>full</DebugType> <Optimize>false</Optimize> <OutputPath>bin\Debug\</OutputPath> - <DefineConstants>TRACE;DEBUG;NET35</DefineConstants> + <DefineConstants>TRACE;DEBUG;NET40</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> <TreatWarningsAsErrors>false</TreatWarningsAsErrors> @@ -43,7 +43,7 @@ <DebugType>full</DebugType> <Optimize>false</Optimize> <OutputPath>bin\Leaks\</OutputPath> - <DefineConstants>TRACE;DEBUG;NET35;LEAKS</DefineConstants> + <DefineConstants>TRACE;DEBUG;NET40;LEAKS</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> <TreatWarningsAsErrors>false</TreatWarningsAsErrors> @@ -169,7 +169,6 @@ <Compile Include="ConfigurationExtensions.cs" /> <Compile Include="ContentChanges.cs" /> <Compile Include="InvalidSpecificationException.cs" /> - <Compile Include="Core\Compat\EnumExtensions.cs" /> <Compile Include="Core\GitCheckoutOpts.cs" /> <Compile Include="Core\GitCloneOptions.cs" /> <Compile Include="Core\GitConfigEntry.cs" /> @@ -202,12 +201,10 @@ <Compile Include="CurrentOperation.cs" /> <Compile Include="StageLevel.cs" /> <Compile Include="TagCollectionExtensions.cs" /> - <Compile Include="Core\Compat\Environment.cs" /> <Compile Include="Core\FilePath.cs" /> <Compile Include="Core\FilePathExtensions.cs" /> <Compile Include="Core\FilePathMarshaler.cs" /> <Compile Include="ConfigurationLevel.cs" /> - <Compile Include="Core\Compat\Tuple.cs" /> <Compile Include="Core\ArrayMarshaler.cs" /> <Compile Include="Core\EnumExtensions.cs" /> <Compile Include="ChangeKind.cs" /> @@ -253,7 +250,6 @@ <Compile Include="Core\GitSignature.cs" /> <Compile Include="FileStatus.cs" /> <Compile Include="Core\GitTime.cs" /> - <Compile Include="Core\Compat\Lazy.cs" /> <Compile Include="Core\NativeMethods.cs" /> <Compile Include="Core\Handles\SafeHandleExtensions.cs" /> <Compile Include="Core\ObjectSafeWrapper.cs" /> diff --git a/LibGit2Sharp/Network.cs b/LibGit2Sharp/Network.cs index 6fffc231..f494e492 100644 --- a/LibGit2Sharp/Network.cs +++ b/LibGit2Sharp/Network.cs @@ -3,7 +3,6 @@ using System.Collections.Generic; using System.Globalization; using System.Linq; using LibGit2Sharp.Core; -using LibGit2Sharp.Core.Compat; using LibGit2Sharp.Core.Handles; using LibGit2Sharp.Handlers; diff --git a/LibGit2Sharp/NoteCollection.cs b/LibGit2Sharp/NoteCollection.cs index c889d22f..0caa3878 100644 --- a/LibGit2Sharp/NoteCollection.cs +++ b/LibGit2Sharp/NoteCollection.cs @@ -5,7 +5,6 @@ using System.Diagnostics; using System.Globalization; using System.Linq; using LibGit2Sharp.Core; -using LibGit2Sharp.Core.Compat; using LibGit2Sharp.Core.Handles; namespace LibGit2Sharp diff --git a/LibGit2Sharp/RefSpecCollection.cs b/LibGit2Sharp/RefSpecCollection.cs index 81d4b70c..26042f9b 100644 --- a/LibGit2Sharp/RefSpecCollection.cs +++ b/LibGit2Sharp/RefSpecCollection.cs @@ -1,12 +1,10 @@ -using System; -using System.Collections; +using System.Collections; using System.Collections.Generic; using System.Linq; using System.Diagnostics; using System.Globalization; using LibGit2Sharp.Core; using LibGit2Sharp.Core.Handles; -using LibGit2Sharp.Core.Compat; namespace LibGit2Sharp { diff --git a/LibGit2Sharp/ReferenceWrapper.cs b/LibGit2Sharp/ReferenceWrapper.cs index 4a6eeb7a..aaf56070 100644 --- a/LibGit2Sharp/ReferenceWrapper.cs +++ b/LibGit2Sharp/ReferenceWrapper.cs @@ -2,7 +2,6 @@ using System.Diagnostics; using System.Globalization; using LibGit2Sharp.Core; -using LibGit2Sharp.Core.Compat; namespace LibGit2Sharp { diff --git a/LibGit2Sharp/RemoteUpdater.cs b/LibGit2Sharp/RemoteUpdater.cs index 74b989a3..3759ff49 100644 --- a/LibGit2Sharp/RemoteUpdater.cs +++ b/LibGit2Sharp/RemoteUpdater.cs @@ -2,7 +2,6 @@ using System.Collections.Generic; using LibGit2Sharp.Core; using LibGit2Sharp.Core.Handles; -using LibGit2Sharp.Core.Compat; namespace LibGit2Sharp { diff --git a/LibGit2Sharp/Repository.cs b/LibGit2Sharp/Repository.cs index a05d13c5..1dea167c 100644 --- a/LibGit2Sharp/Repository.cs +++ b/LibGit2Sharp/Repository.cs @@ -7,7 +7,6 @@ using System.Linq; using System.Reflection; using System.Text.RegularExpressions; using LibGit2Sharp.Core; -using LibGit2Sharp.Core.Compat; using LibGit2Sharp.Core.Handles; using LibGit2Sharp.Handlers; diff --git a/LibGit2Sharp/RepositoryStatus.cs b/LibGit2Sharp/RepositoryStatus.cs index 92af3324..ba61d4e7 100644 --- a/LibGit2Sharp/RepositoryStatus.cs +++ b/LibGit2Sharp/RepositoryStatus.cs @@ -4,9 +4,7 @@ using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Linq; -using System.Runtime.InteropServices; using LibGit2Sharp.Core; -using LibGit2Sharp.Core.Compat; using LibGit2Sharp.Core.Handles; namespace LibGit2Sharp diff --git a/LibGit2Sharp/TreeDefinition.cs b/LibGit2Sharp/TreeDefinition.cs index 63bbb0ca..bedd0785 100644 --- a/LibGit2Sharp/TreeDefinition.cs +++ b/LibGit2Sharp/TreeDefinition.cs @@ -3,7 +3,6 @@ using System.Collections.Generic; using System.Globalization; using System.IO; using LibGit2Sharp.Core; -using LibGit2Sharp.Core.Compat; using LibGit2Sharp.Core.Handles; namespace LibGit2Sharp diff --git a/LibGit2Sharp/TreeEntry.cs b/LibGit2Sharp/TreeEntry.cs index ffdf22d3..54dd9599 100644 --- a/LibGit2Sharp/TreeEntry.cs +++ b/LibGit2Sharp/TreeEntry.cs @@ -2,7 +2,6 @@ using System; using System.Globalization; using System.Runtime.InteropServices; using LibGit2Sharp.Core; -using LibGit2Sharp.Core.Compat; namespace LibGit2Sharp { diff --git a/LibGit2Sharp/TreeEntryDefinition.cs b/LibGit2Sharp/TreeEntryDefinition.cs index e9706682..c0eb979d 100644 --- a/LibGit2Sharp/TreeEntryDefinition.cs +++ b/LibGit2Sharp/TreeEntryDefinition.cs @@ -1,6 +1,5 @@ using System; using LibGit2Sharp.Core; -using LibGit2Sharp.Core.Compat; namespace LibGit2Sharp { diff --git a/nuget.package/LibGit2Sharp.nuspec b/nuget.package/LibGit2Sharp.nuspec index 3bacd546..99c32653 100644 --- a/nuget.package/LibGit2Sharp.nuspec +++ b/nuget.package/LibGit2Sharp.nuspec @@ -17,8 +17,8 @@ </references> </metadata> <files> - <file src="..\Lib\NativeBinaries\**\*.dll" target="lib\net35\NativeBinaries" /> - <file src="..\Lib\NativeBinaries\**\*.pdb" target="lib\net35\NativeBinaries" /> + <file src="..\Lib\NativeBinaries\**\*.dll" target="lib\net40\NativeBinaries" /> + <file src="..\Lib\NativeBinaries\**\*.pdb" target="lib\net40\NativeBinaries" /> <file src="..\README.md" target="App_Readme\LibGit2Sharp.README.md" /> <file src="..\LICENSE.md" target="App_Readme\LibGit2Sharp.LICENSE.md" /> <file src="..\CHANGES.md" target="App_Readme\LibGit2Sharp.CHANGES.md" /> diff --git a/nuget.package/Tools/GetLibGit2SharpPostBuildCmd.ps1 b/nuget.package/Tools/GetLibGit2SharpPostBuildCmd.ps1 index 225ad533..e1847e61 100644 --- a/nuget.package/Tools/GetLibGit2SharpPostBuildCmd.ps1 +++ b/nuget.package/Tools/GetLibGit2SharpPostBuildCmd.ps1 @@ -1,7 +1,7 @@ $solutionDir = [System.IO.Path]::GetDirectoryName($dte.Solution.FullName) + "\" $path = $installPath.Replace($solutionDir, "`$(SolutionDir)") -$NativeAssembliesDir = Join-Path $path "lib\net35\NativeBinaries" +$NativeAssembliesDir = Join-Path $path "lib\net40\NativeBinaries" $x86 = $(Join-Path $NativeAssembliesDir "x86\*.*") $x64 = $(Join-Path $NativeAssembliesDir "amd64\*.*") |