| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156 |
- <?xml version="1.0"?>
- <doc>
- <assembly>
- <name>NSubstitute</name>
- </assembly>
- <members>
- <member name="T:NSubstitute.Arg">
- <summary>
- Argument matchers used for specifying calls to substitutes.
- </summary>
- </member>
- <member name="M:NSubstitute.Arg.Any``1">
- <summary>
- Match any argument value compatible with type <typeparamref name="T"/>.
- </summary>
- </member>
- <member name="M:NSubstitute.Arg.Is``1(``0)">
- <summary>
- Match argument that is equal to <paramref name="value"/>.
- </summary>
- </member>
- <member name="M:NSubstitute.Arg.Is``1(System.Linq.Expressions.Expression{System.Predicate{``0}})">
- <summary>
- Match argument that satisfies <paramref name="predicate"/>.
- If the <paramref name="predicate"/> throws an exception for an argument it will be treated as non-matching.
- </summary>
- </member>
- <member name="M:NSubstitute.Arg.Invoke">
- <summary>
- Invoke any <see cref="T:System.Action"/> argument whenever a matching call is made to the substitute.
- </summary>
- </member>
- <member name="M:NSubstitute.Arg.Invoke``1(``0)">
- <summary>
- Invoke any <see cref="T:System.Action`1"/> argument with specified argument whenever a matching call is made to the substitute.
- </summary>
- </member>
- <member name="M:NSubstitute.Arg.Invoke``2(``0,``1)">
- <summary>
- Invoke any <see cref="T:System.Action`2"/> argument with specified arguments whenever a matching call is made to the substitute.
- </summary>
- </member>
- <member name="M:NSubstitute.Arg.Invoke``3(``0,``1,``2)">
- <summary>
- Invoke any <see cref="T:System.Action`3"/> argument with specified arguments whenever a matching call is made to the substitute.
- </summary>
- </member>
- <member name="M:NSubstitute.Arg.Invoke``4(``0,``1,``2,``3)">
- <summary>
- Invoke any <see cref="T:System.Action`4"/> argument with specified arguments whenever a matching call is made to the substitute.
- </summary>
- </member>
- <member name="M:NSubstitute.Arg.InvokeDelegate``1(System.Object[])">
- <summary>
- Invoke any <typeparamref name="TDelegate"/> argument with specified arguments whenever a matching call is made to the substitute.
- </summary>
- <param name="arguments">Arguments to pass to delegate.</param>
- </member>
- <member name="M:NSubstitute.Arg.Do``1(System.Action{``0})">
- <summary>
- Capture any argument compatible with type <typeparamref name="T"/> and use it to call the <paramref name="useArgument"/> function
- whenever a matching call is made to the substitute.
- </summary>
- </member>
- <member name="T:NSubstitute.Arg.Compat">
- <summary>
- Alternate version of <see cref="T:NSubstitute.Arg"/> matchers for compatibility with pre-C#7 compilers
- which do not support <c>ref</c> return types. Do not use unless you are unable to use <see cref="T:NSubstitute.Arg"/>.
-
- For more information see <see href="https://nsubstitute.github.io/help/compat-args">Compatibility Argument
- Matchers</see> in the NSubstitute documentation.
- </summary>
- </member>
- <member name="M:NSubstitute.Arg.Compat.Any``1">
- <summary>
- Match any argument value compatible with type <typeparamref name="T"/>.
- This is provided for compatibility with older compilers --
- if possible use <see cref="M:NSubstitute.Arg.Any``1" /> instead.
- </summary>
- </member>
- <member name="M:NSubstitute.Arg.Compat.Is``1(``0)">
- <summary>
- Match argument that is equal to <paramref name="value"/>.
- This is provided for compatibility with older compilers --
- if possible use <see cref="M:NSubstitute.Arg.Is``1(``0)" /> instead.
- </summary>
- </member>
- <member name="M:NSubstitute.Arg.Compat.Is``1(System.Linq.Expressions.Expression{System.Predicate{``0}})">
- <summary>
- Match argument that satisfies <paramref name="predicate"/>.
- If the <paramref name="predicate"/> throws an exception for an argument it will be treated as non-matching.
- This is provided for compatibility with older compilers --
- if possible use <see cref="M:NSubstitute.Arg.Is``1(System.Linq.Expressions.Expression{System.Predicate{``0}})" /> instead.
- </summary>
- </member>
- <member name="M:NSubstitute.Arg.Compat.Invoke">
- <summary>
- Invoke any <see cref="T:System.Action"/> argument whenever a matching call is made to the substitute.
- This is provided for compatibility with older compilers --
- if possible use <see cref="M:NSubstitute.Arg.Invoke" /> instead.
- </summary>
- </member>
- <member name="M:NSubstitute.Arg.Compat.Invoke``1(``0)">
- <summary>
- Invoke any <see cref="T:System.Action`1"/> argument with specified argument whenever a matching call is made to the substitute.
- This is provided for compatibility with older compilers --
- if possible use <see cref="M:NSubstitute.Arg.Invoke``1(``0)" /> instead.
- </summary>
- </member>
- <member name="M:NSubstitute.Arg.Compat.Invoke``2(``0,``1)">
- <summary>
- Invoke any <see cref="T:System.Action`2"/> argument with specified arguments whenever a matching call is made to the substitute.
- This is provided for compatibility with older compilers --
- if possible use <see cref="M:NSubstitute.Arg.Invoke``2(``0,``1)" /> instead.
- </summary>
- </member>
- <member name="M:NSubstitute.Arg.Compat.Invoke``3(``0,``1,``2)">
- <summary>
- Invoke any <see cref="T:System.Action`3"/> argument with specified arguments whenever a matching call is made to the substitute.
- This is provided for compatibility with older compilers --
- if possible use <see cref="M:NSubstitute.Arg.Invoke``3(``0,``1,``2)" /> instead.
- </summary>
- </member>
- <member name="M:NSubstitute.Arg.Compat.Invoke``4(``0,``1,``2,``3)">
- <summary>
- Invoke any <see cref="T:System.Action`4"/> argument with specified arguments whenever a matching call is made to the substitute.
- This is provided for compatibility with older compilers --
- if possible use <see cref="M:NSubstitute.Arg.Invoke``4(``0,``1,``2,``3)" /> instead.
- </summary>
- </member>
- <member name="M:NSubstitute.Arg.Compat.InvokeDelegate``1(System.Object[])">
- <summary>
- Invoke any <typeparamref name="TDelegate"/> argument with specified arguments whenever a matching call is made to the substitute.
- This is provided for compatibility with older compilers --
- if possible use <see cref="M:NSubstitute.Arg.InvokeDelegate``1(System.Object[])" /> instead.
- </summary>
- <param name="arguments">Arguments to pass to delegate.</param>
- </member>
- <member name="M:NSubstitute.Arg.Compat.Do``1(System.Action{``0})">
- <summary>
- Capture any argument compatible with type <typeparamref name="T"/> and use it to call the <paramref name="useArgument"/> function
- whenever a matching call is made to the substitute.
- This is provided for compatibility with older compilers --
- if possible use <see cref="M:NSubstitute.Arg.Do``1(System.Action{``0})" /> instead.
- </summary>
- </member>
- <member name="T:NSubstitute.Callback">
- <summary>
- Perform this chain of callbacks and/or always callback when called.
- </summary>
- </member>
- <member name="M:NSubstitute.Callback.First(System.Action{NSubstitute.Core.CallInfo})">
- <summary>
- Perform as first in chain of callback when called.
- </summary>
- <param name="doThis"></param>
- <returns></returns>
- </member>
- <member name="M:NSubstitute.Callback.Always(System.Action{NSubstitute.Core.CallInfo})">
- <summary>
- Perform this action always when callback is called.
- </summary>
- <param name="doThis"></param>
- <returns></returns>
- </member>
- <member name="M:NSubstitute.Callback.FirstThrow``1(System.Func{NSubstitute.Core.CallInfo,``0})">
- <summary>
- Throw exception returned by function as first callback in chain of callback when called.
- </summary>
- <param name="throwThis"></param>
- <returns></returns>
- </member>
- <member name="M:NSubstitute.Callback.FirstThrow``1(``0)">
- <summary>
- Throw this exception as first callback in chain of callback when called.
- </summary>
- <param name="exception"></param>
- <returns></returns>
- </member>
- <member name="M:NSubstitute.Callback.AlwaysThrow``1(System.Func{NSubstitute.Core.CallInfo,``0})">
- <summary>
- Throw exception returned by function always when callback is called.
- </summary>
- <typeparam name="TException">The type of the exception.</typeparam>
- <param name="throwThis">The throw this.</param>
- <returns></returns>
- </member>
- <member name="M:NSubstitute.Callback.AlwaysThrow``1(``0)">
- <summary>
- Throw this exception always when callback is called.
- </summary>
- <typeparam name="TException">The type of the exception.</typeparam>
- <param name="exception">The exception.</param>
- <returns></returns>
- </member>
- <member name="M:NSubstitute.Callbacks.ConfiguredCallback.Then(System.Action{NSubstitute.Core.CallInfo})">
- <summary>
- Perform this action once in chain of called callbacks.
- </summary>
- <param name="doThis"></param>
- <returns></returns>
- </member>
- <member name="M:NSubstitute.Callbacks.ConfiguredCallback.ThenKeepDoing(System.Action{NSubstitute.Core.CallInfo})">
- <summary>
- Keep doing this action after the other callbacks have run.
- </summary>
- <param name="doThis"></param>
- <returns></returns>
- </member>
- <member name="M:NSubstitute.Callbacks.ConfiguredCallback.ThenKeepThrowing``1(System.Func{NSubstitute.Core.CallInfo,``0})">
- <summary>
- Keep throwing this exception after the other callbacks have run.
- </summary>
- <typeparam name="TException"></typeparam>
- <param name="throwThis"></param>
- <returns></returns>
- </member>
- <member name="M:NSubstitute.Callbacks.ConfiguredCallback.ThenKeepThrowing``1(``0)">
- <summary>
- Keep throwing this exception after the other callbacks have run.
- </summary>
- <typeparam name="TException"></typeparam>
- <param name="throwThis"></param>
- <returns></returns>
- </member>
- <member name="M:NSubstitute.Callbacks.ConfiguredCallback.ThenThrow``1(System.Func{NSubstitute.Core.CallInfo,``0})">
- <summary>
- Throw exception returned by function once when called in a chain of callbacks.
- </summary>
- <typeparam name="TException">The type of the exception</typeparam>
- <param name="throwThis">Produce the exception to throw for a CallInfo</param>
- <returns></returns>
- </member>
- <member name="M:NSubstitute.Callbacks.ConfiguredCallback.ThenThrow``1(``0)">
- <summary>
- Throw this exception once when called in a chain of callbacks.
- </summary>
- <typeparam name="TException">The type of the exception</typeparam>
- <param name="exception">The exception to throw</param>
- <returns></returns>
- </member>
- <member name="M:NSubstitute.Callbacks.EndCallbackChain.AndAlways(System.Action{NSubstitute.Core.CallInfo})">
- <summary>
- Perform the given action for every call.
- </summary>
- <param name="doThis">The action to perform for every call</param>
- <returns></returns>
- </member>
- <member name="F:NSubstitute.ClearOptions.ReceivedCalls">
- <summary>
- Clear all the received calls
- </summary>
- </member>
- <member name="F:NSubstitute.ClearOptions.ReturnValues">
- <summary>
- Clear all configured return results (including auto-substituted values).
- </summary>
- </member>
- <member name="F:NSubstitute.ClearOptions.CallActions">
- <summary>
- Clear all call actions configured for this substitute (via When..Do, Arg.Invoke, and Arg.Do)
- </summary>
- </member>
- <member name="F:NSubstitute.ClearOptions.All">
- <summary>
- Clears all received calls and configured return values and callbacks.
- </summary>
- </member>
- <member name="T:NSubstitute.Compatibility.CompatArg">
- <summary>
- Alternate version of <see cref="T:NSubstitute.Arg"/> matchers for compatibility with pre-C#7 compilers
- which do not support <c>ref</c> return types. Do not use unless you are unable to use <see cref="T:NSubstitute.Arg"/>.
-
- <see cref="T:NSubstitute.Compatibility.CompatArg"/> provides a non-static version of <see cref="T:NSubstitute.Arg.Compat"/>, which can make it easier
- to use from an abstract base class. You can get a reference to this instance using the static
- <see cref="F:NSubstitute.Compatibility.CompatArg.Instance" /> field.
-
- For more information see <see href="https://nsubstitute.github.io/help/compat-args">Compatibility Argument
- Matchers</see> in the NSubstitute documentation.
- </summary>
- </member>
- <member name="F:NSubstitute.Compatibility.CompatArg.Instance">
- <summary>
- Get the CompatArg instance.
- </summary>
- </member>
- <member name="M:NSubstitute.Compatibility.CompatArg.Any``1">
- <summary>
- Match any argument value compatible with type <typeparamref name="T"/>.
- This is provided for compatibility with older compilers --
- if possible use <see cref="M:NSubstitute.Arg.Any``1" /> instead.
- </summary>
- </member>
- <member name="M:NSubstitute.Compatibility.CompatArg.Is``1(``0)">
- <summary>
- Match argument that is equal to <paramref name="value"/>.
- This is provided for compatibility with older compilers --
- if possible use <see cref="M:NSubstitute.Arg.Is``1(``0)" /> instead.
- </summary>
- </member>
- <member name="M:NSubstitute.Compatibility.CompatArg.Is``1(System.Linq.Expressions.Expression{System.Predicate{``0}})">
- <summary>
- Match argument that satisfies <paramref name="predicate"/>.
- If the <paramref name="predicate"/> throws an exception for an argument it will be treated as non-matching.
- This is provided for compatibility with older compilers --
- if possible use <see cref="M:NSubstitute.Arg.Is``1(System.Linq.Expressions.Expression{System.Predicate{``0}})" /> instead.
- </summary>
- </member>
- <member name="M:NSubstitute.Compatibility.CompatArg.Invoke">
- <summary>
- Invoke any <see cref="T:System.Action"/> argument whenever a matching call is made to the substitute.
- This is provided for compatibility with older compilers --
- if possible use <see cref="M:NSubstitute.Arg.Invoke" /> instead.
- </summary>
- </member>
- <member name="M:NSubstitute.Compatibility.CompatArg.Invoke``1(``0)">
- <summary>
- Invoke any <see cref="T:System.Action`1"/> argument with specified argument whenever a matching call is made to the substitute.
- This is provided for compatibility with older compilers --
- if possible use <see cref="M:NSubstitute.Arg.Invoke``1(``0)" /> instead.
- </summary>
- </member>
- <member name="M:NSubstitute.Compatibility.CompatArg.Invoke``2(``0,``1)">
- <summary>
- Invoke any <see cref="T:System.Action`2"/> argument with specified arguments whenever a matching call is made to the substitute.
- This is provided for compatibility with older compilers --
- if possible use <see cref="M:NSubstitute.Arg.Invoke``2(``0,``1)" /> instead.
- </summary>
- </member>
- <member name="M:NSubstitute.Compatibility.CompatArg.Invoke``3(``0,``1,``2)">
- <summary>
- Invoke any <see cref="T:System.Action`3"/> argument with specified arguments whenever a matching call is made to the substitute.
- This is provided for compatibility with older compilers --
- if possible use <see cref="M:NSubstitute.Arg.Invoke``3(``0,``1,``2)" /> instead.
- </summary>
- </member>
- <member name="M:NSubstitute.Compatibility.CompatArg.Invoke``4(``0,``1,``2,``3)">
- <summary>
- Invoke any <see cref="T:System.Action`4"/> argument with specified arguments whenever a matching call is made to the substitute.
- This is provided for compatibility with older compilers --
- if possible use <see cref="M:NSubstitute.Arg.Invoke``4(``0,``1,``2,``3)" /> instead.
- </summary>
- </member>
- <member name="M:NSubstitute.Compatibility.CompatArg.InvokeDelegate``1(System.Object[])">
- <summary>
- Invoke any <typeparamref name="TDelegate"/> argument with specified arguments whenever a matching call is made to the substitute.
- This is provided for compatibility with older compilers --
- if possible use <see cref="M:NSubstitute.Arg.InvokeDelegate``1(System.Object[])" /> instead.
- </summary>
- <param name="arguments">Arguments to pass to delegate.</param>
- </member>
- <member name="M:NSubstitute.Compatibility.CompatArg.Do``1(System.Action{``0})">
- <summary>
- Capture any argument compatible with type <typeparamref name="T"/> and use it to call the <paramref name="useArgument"/> function
- whenever a matching call is made to the substitute.
- This is provided for compatibility with older compilers --
- if possible use <see cref="M:NSubstitute.Arg.Do``1(System.Action{``0})" /> instead.
- </summary>
- </member>
- <member name="M:NSubstitute.Core.Arguments.ArgumentMatcher.Enqueue``1(NSubstitute.Core.Arguments.IArgumentMatcher{``0})">
- <summary>
- Enqueues a matcher for the method argument in current position and returns the value which should be
- passed back to the method you invoke.
- </summary>
- </member>
- <member name="T:NSubstitute.Core.Arguments.IArgumentMatcher">
- <summary>
- Provides a specification for arguments for use with <see ctype="Arg.Matches (IArgumentMatcher)" />.
- Can additionally implement <see cref="T:NSubstitute.Core.IDescribeNonMatches" /> to give descriptions when arguments do not match.
- </summary>
- </member>
- <member name="M:NSubstitute.Core.Arguments.IArgumentMatcher.IsSatisfiedBy(System.Object)">
- <summary>
- Checks whether the <paramref name="argument"/> satisfies the condition of the matcher.
- If this throws an exception the argument will be treated as non-matching.
- </summary>
- </member>
- <member name="T:NSubstitute.Core.Arguments.IArgumentMatcher`1">
- <summary>
- Provides a specification for arguments for use with <see ctype="Arg.Matches < T >(IArgumentMatcher)" />.
- Can additionally implement <see ctype="IDescribeNonMatches" /> to give descriptions when arguments do not match.
- </summary>
- <typeparam name="T">Matches arguments of type <typeparamref name="T"/> or compatible type.</typeparam>
- </member>
- <member name="M:NSubstitute.Core.Arguments.IArgumentMatcher`1.IsSatisfiedBy(`0)">
- <summary>
- Checks whether the <paramref name="argument"/> satisfies the condition of the matcher.
- If this throws an exception the argument will be treated as non-matching.
- </summary>
- </member>
- <member name="P:NSubstitute.Core.CallBaseConfiguration.CallBaseByDefault">
- <inheritdoc />
- </member>
- <member name="M:NSubstitute.Core.CallBaseConfiguration.Exclude(NSubstitute.Core.ICallSpecification)">
- <inheritdoc />
- </member>
- <member name="M:NSubstitute.Core.CallBaseConfiguration.Include(NSubstitute.Core.ICallSpecification)">
- <inheritdoc />
- </member>
- <member name="M:NSubstitute.Core.CallBaseConfiguration.ShouldCallBase(NSubstitute.Core.ICall)">
- <inheritdoc />
- </member>
- <member name="T:NSubstitute.Core.CallCollection.IReceivedCallEntry">
- <summary>
- Performance optimization. Allows to mark call as deleted without allocating extra wrapper.
- To play safely, we track ownership, so object can be re-used only once.
- </summary>
- </member>
- <member name="T:NSubstitute.Core.CallCollection.ReceivedCallEntry">
- <summary>
- Wrapper to track that particular entry was deleted.
- That is needed because concurrent collections don't have a Delete method.
- Notice, in most cases the original <see cref="P:NSubstitute.Core.CallCollection.ReceivedCallEntry.Call"/> instance will be used as a wrapper itself.
- </summary>
- </member>
- <member name="P:NSubstitute.Core.CallInfo.Item(System.Int32)">
- <summary>
- Gets the nth argument to this call.
- </summary>
- <param name="index">Index of argument</param>
- <returns>The value of the argument at the given index</returns>
- </member>
- <member name="M:NSubstitute.Core.CallInfo.Args">
- <summary>
- Get the arguments passed to this call.
- </summary>
- <returns>Array of all arguments passed to this call</returns>
- </member>
- <member name="M:NSubstitute.Core.CallInfo.ArgTypes">
- <summary>
- Gets the types of all the arguments passed to this call.
- </summary>
- <returns>Array of types of all arguments passed to this call</returns>
- </member>
- <member name="M:NSubstitute.Core.CallInfo.Arg``1">
- <summary>
- Gets the argument of type `T` passed to this call. This will throw if there are no arguments
- of this type, or if there is more than one matching argument.
- </summary>
- <typeparam name="T">The type of the argument to retrieve</typeparam>
- <returns>The argument passed to the call, or throws if there is not exactly one argument of this type</returns>
- </member>
- <member name="M:NSubstitute.Core.CallInfo.ArgAt``1(System.Int32)">
- <summary>
- Gets the argument passed to this call at the specified zero-based position, converted to type `T`.
- This will throw if there are no arguments, if the argument is out of range or if it
- cannot be converted to the specified type.
- </summary>
- <typeparam name="T">The type of the argument to retrieve</typeparam>
- <param name="position">The zero-based position of the argument to retrieve</param>
- <returns>The argument passed to the call, or throws if there is not exactly one argument of this type</returns>
- </member>
- <member name="M:NSubstitute.Core.ConfiguredCall.AndDoes(System.Action{NSubstitute.Core.CallInfo})">
- <summary>
- Adds a callback to execute for matching calls.
- </summary>
- <param name="action">an action to call</param>
- <returns></returns>
- </member>
- <member name="M:NSubstitute.Core.DependencyInjection.INSubContainer.Customize">
- <summary>
- Creates a new container based on the current one,
- which can be configured to override the existing registrations without affecting the existing container.
- </summary>
- </member>
- <member name="M:NSubstitute.Core.DependencyInjection.INSubContainer.CreateScope">
- <summary>
- Create an explicit scope, so all dependencies with the <see cref="F:NSubstitute.Core.DependencyInjection.NSubLifetime.PerScope"/> lifetime
- are preserved for multiple resolve requests.
- </summary>
- </member>
- <member name="M:NSubstitute.Core.DependencyInjection.IConfigurableNSubContainer.Decorate``1(System.Func{``0,NSubstitute.Core.DependencyInjection.INSubResolver,``0})">
- <summary>
- Decorates the original implementation with a custom decorator.
- The factory method is provided with an original implementation instance.
- The lifetime of decorated implementation is used.
- </summary>
- </member>
- <member name="T:NSubstitute.Core.DependencyInjection.NSubContainer">
- <summary>
- Tiny and very limited implementation of the DI services.
- Container supports the following features required by NSubstitute:
- - Registration by type with automatic constructor injection
- - Registration of factory methods for the complex objects
- - Support of the most required lifetimes:
- - <see cref="F:NSubstitute.Core.DependencyInjection.NSubLifetime.Transient" />
- - <see cref="F:NSubstitute.Core.DependencyInjection.NSubLifetime.PerScope" />
- - <see cref="F:NSubstitute.Core.DependencyInjection.NSubLifetime.Singleton" />
- - Immutability (via interfaces) and customization by creating a nested container
- </summary>
- </member>
- <member name="F:NSubstitute.Core.DependencyInjection.NSubLifetime.Singleton">
- <summary>
- Value is created only once.
- </summary>
- </member>
- <member name="F:NSubstitute.Core.DependencyInjection.NSubLifetime.PerScope">
- <summary>
- Value is created only once per scope. Allows to share the same instance across the objects in the same graph.
- If no explicit scope is created, an implicit scope is created per single resolve request.
- </summary>
- </member>
- <member name="F:NSubstitute.Core.DependencyInjection.NSubLifetime.Transient">
- <summary>
- New value is created for each time.
- </summary>
- </member>
- <member name="P:NSubstitute.Core.DependencyInjection.NSubstituteDefaultFactory.DefaultContainer">
- <summary>
- The default NSubstitute registrations. Feel free to configure the existing container to customize
- and override NSubstitute parts.
- </summary>
- </member>
- <member name="M:NSubstitute.Core.Extensions.IsCompatibleWith(System.Object,System.Type)">
- <summary>
- Checks if the instance can be used when a <paramref name="type"/> is expected.
- </summary>
- </member>
- <member name="M:NSubstitute.Core.Extensions.Join(System.Collections.Generic.IEnumerable{System.String},System.String)">
- <summary>
- Join the <paramref name="strings"/> using <paramref name="separator"/>.
- </summary>
- </member>
- <member name="M:NSubstitute.Core.Extensions.AsArray``1(System.Collections.Generic.IEnumerable{``0})">
- <summary>
- Tries to cast sequence to array first before making a new array sequence.
- </summary>
- </member>
- <member name="P:NSubstitute.Core.ICallBaseConfiguration.CallBaseByDefault">
- <summary>
- Gets or sets whether base method should be called by default.
- </summary>
- </member>
- <member name="M:NSubstitute.Core.ICallBaseConfiguration.Exclude(NSubstitute.Core.ICallSpecification)">
- <summary>
- Specifies whether base method should be always ignored for the matching call.
- If method is both explicitly excluded and included, base method is _not_ called.
- </summary>
- </member>
- <member name="M:NSubstitute.Core.ICallBaseConfiguration.Include(NSubstitute.Core.ICallSpecification)">
- <summary>
- Specifies whether base method should be called for the matching call.
- If method is both explicitly excluded and included, base method is _not_ called.
- </summary>
- </member>
- <member name="M:NSubstitute.Core.ICallBaseConfiguration.ShouldCallBase(NSubstitute.Core.ICall)">
- <summary>
- Tests whether base method should be called for the call given the existing configuration.
- </summary>
- </member>
- <member name="P:NSubstitute.Core.ICallRouter.CallBaseByDefault">
- <summary>
- Specifies whether base method should be called by default.
- </summary>
- <remarks>
- This configuration is considered only when base method exists (e.g. you created a substitute for
- the AbstractType with method implementation).
- </remarks>
- </member>
- <member name="T:NSubstitute.Core.CallHandlerFactory">
- <summary>
- Factory method which creates <see cref="T:NSubstitute.Core.ICallHandler" /> from the <see cref="T:NSubstitute.Core.ISubstituteState" />.
- </summary>
- </member>
- <member name="M:NSubstitute.Core.IDescribeNonMatches.DescribeFor(System.Object)">
- <summary>
- Describes how the <paramref name="argument" /> does not match the condition specified by this class, or <see cref="F:System.String.Empty"/>
- if a detailed description can not be provided for the argument.
- </summary>
- <param name="argument"></param>
- <returns>Description of the non-match, or <see cref="F:System.String.Empty" /> if no description can be provided.</returns>
- </member>
- <member name="T:NSubstitute.Core.ICallIndependentReturn">
- <summary>
- Performance optimization. Allows to not construct <see cref="T:NSubstitute.Core.CallInfo"/> if configured result doesn't depend on it.
- </summary>
- </member>
- <member name="P:NSubstitute.Core.ISubstitutionContext.ThreadContext">
- <summary>
- A thread bound state of the NSubstitute context. Usually this API is used to provide the fluent
- features of the NSubstitute.
- </summary>
- </member>
- <member name="M:NSubstitute.Core.IThreadLocalContext.SetNextRoute(NSubstitute.Core.ICallRouter,System.Func{NSubstitute.Core.ISubstituteState,NSubstitute.Routing.IRoute})">
- <summary>
- Sets the route to use for the next call dispatch on the current thread for the specified <paramref name="callRouter"/>.
- </summary>
- </member>
- <member name="M:NSubstitute.Core.IThreadLocalContext.UseNextRoute(NSubstitute.Core.ICallRouter)">
- <summary>
- Returns the previously configured next route and resets the stored value.
- If route was configured for the different router, returns <see langword="null"/> and persist the route info.
- </summary>
- </member>
- <member name="M:NSubstitute.Core.IThreadLocalContext.UsePendingRaisingEventArgumentsFactory">
- <summary>
- Returns the previously set arguments factory and resets the stored value.
- </summary>
- </member>
- <member name="M:NSubstitute.Core.IThreadLocalContext.RunInQueryContext(System.Action,NSubstitute.Core.IQuery)">
- <summary>
- Invokes the passed callback in a context of the specified query.
- </summary>
- </member>
- <member name="T:NSubstitute.Core.Maybe`1">
- <summary>
- Particularly poor implementation of Maybe/Option type.
- This is just filling an immediate need; use FSharpOption or XSharpx or similar for a
- real implementation.
- </summary>
- <typeparam name="T"></typeparam>
- </member>
- <member name="T:NSubstitute.Core.RobustThreadLocal`1">
- <summary>
- Delegates to ThreadLocal<T>, but wraps Value property access in try/catch to swallow ObjectDisposedExceptions.
- These can occur if the Value property is accessed from the finalizer thread. Because we can't detect this, we'll
- just swallow the exception (the finalizer thread won't be using any of the values from thread local storage anyway).
- </summary>
- </member>
- <member name="M:NSubstitute.Core.SubstituteFactory.Create(System.Type[],System.Object[])">
- <summary>
- Create a substitute for the given types.
- </summary>
- <param name="typesToProxy"></param>
- <param name="constructorArguments"></param>
- <returns></returns>
- </member>
- <member name="M:NSubstitute.Core.SubstituteFactory.CreatePartial(System.Type[],System.Object[])">
- <summary>
- Create an instance of the given types, with calls configured to call the base implementation
- where possible. Parts of the instance can be substituted using
- <see cref="M:NSubstitute.SubstituteExtensions.Returns``1(``0,``0,``0[])">Returns()</see>.
- </summary>
- <param name="typesToProxy"></param>
- <param name="constructorArguments"></param>
- <returns></returns>
- </member>
- <member name="M:NSubstitute.Core.WhenCalled`1.Do(System.Action{NSubstitute.Core.CallInfo})">
- <summary>
- Perform this action when called.
- </summary>
- <param name="callbackWithArguments"></param>
- </member>
- <member name="M:NSubstitute.Core.WhenCalled`1.Do(NSubstitute.Callback)">
- <summary>
- Perform this configured callback when called.
- </summary>
- <param name="callback"></param>
- </member>
- <member name="M:NSubstitute.Core.WhenCalled`1.DoNotCallBase">
- <summary>
- Do not call the base implementation on future calls. For use with partial substitutes.
- </summary>
- </member>
- <member name="M:NSubstitute.Core.WhenCalled`1.CallBase">
- <summary>
- Call the base implementation of future calls. For use with non-partial class substitutes.
- </summary>
- </member>
- <member name="M:NSubstitute.Core.WhenCalled`1.Throw(System.Exception)">
- <summary>
- Throw the specified exception when called.
- </summary>
- </member>
- <member name="M:NSubstitute.Core.WhenCalled`1.Throw``1">
- <summary>
- Throw an exception of the given type when called.
- </summary>
- </member>
- <member name="M:NSubstitute.Core.WhenCalled`1.Throw(System.Func{NSubstitute.Core.CallInfo,System.Exception})">
- <summary>
- Throw an exception generated by the specified function when called.
- </summary>
- </member>
- <member name="M:NSubstitute.ClearExtensions.ClearExtensions.ClearSubstitute``1(``0,NSubstitute.ClearOptions)">
- <summary>
- Clears received calls, configured return values and/or call actions for this substitute.
- </summary>
- <typeparam name="T"></typeparam>
- <param name="substitute"></param>
- <param name="options">Specifies what to clear on the substitute. Can be combined with <code>|</code> to
- clear multiple aspects at once.</param>
- <remarks>
- </remarks>
- </member>
- <member name="M:NSubstitute.Extensions.ConfigurationExtensions.Configure``1(``0)">
- <summary>
- A hint for the NSubstitute that the subsequent method/property call is about to be configured.
- For example: substitute.Configure().GetValue().Returns(1,2,3);
- <para>
- NOTICE, you _don't need_ to invoke this method for the basic configuration scenarios.
- Ensure you don't overuse this method and it is applied only if strictly required.
- </para>
- <remarks>
- Due to the NSubstitute configuration syntax it is often impossible to recognise during the method call
- dispatch whether this is a setup phase or a regular method call.
- Usually it doesn't matter, however sometimes method invocation could lead to undesired side effects
- (e.g. the previously configured value is returned, base method is invoked). In that case you might want to
- provide NSubstitute with a hint that you are configuring a method, so it handles the call in configuration mode.
- </remarks>
- </summary>
- </member>
- <member name="M:NSubstitute.Extensions.ReturnsForAllExtensions.ReturnsForAll``1(System.Object,``0)">
- <summary>
- Configure default return value for all methods that return the specified type
- </summary>
- <typeparam name="T"></typeparam>
- <param name = "substitute"></param>
- <param name="returnThis"></param>
- <returns></returns>
- </member>
- <member name="M:NSubstitute.Extensions.ReturnsForAllExtensions.ReturnsForAll``1(System.Object,System.Func{NSubstitute.Core.CallInfo,``0})">
- <summary>
- Configure default return value for all methods that return the specified type, calculated by a function
- </summary>
- <typeparam name="T"></typeparam>
- <param name="substitute"></param>
- <param name="returnThis"></param>
- <returns></returns>
- </member>
- <member name="M:NSubstitute.ExceptionExtensions.ExceptionExtensions.Throws(System.Object,System.Exception)">
- <summary>
- Throw an exception for this call.
- </summary>
- <param name="value"></param>
- <param name="ex">Exception to throw</param>
- <returns></returns>
- </member>
- <member name="M:NSubstitute.ExceptionExtensions.ExceptionExtensions.Throws``1(System.Object)">
- <summary>
- Throw an exception of the given type for this call.
- </summary>
- <typeparam name="TException">Type of exception to throw</typeparam>
- <param name="value"></param>
- <returns></returns>
- </member>
- <member name="M:NSubstitute.ExceptionExtensions.ExceptionExtensions.Throws(System.Object,System.Func{NSubstitute.Core.CallInfo,System.Exception})">
- <summary>
- Throw an exception for this call, as generated by the specified function.
- </summary>
- <param name="value"></param>
- <param name="createException">Func creating exception object</param>
- <returns></returns>
- </member>
- <member name="M:NSubstitute.ExceptionExtensions.ExceptionExtensions.ThrowsForAnyArgs(System.Object,System.Exception)">
- <summary>
- Throw an exception for this call made with any arguments.
- </summary>
- <param name="value"></param>
- <param name="ex">Exception to throw</param>
- <returns></returns>
- </member>
- <member name="M:NSubstitute.ExceptionExtensions.ExceptionExtensions.ThrowsForAnyArgs``1(System.Object)">
- <summary>
- Throws an exception of the given type for this call made with any arguments.
- </summary>
- <typeparam name="TException">Type of exception to throw</typeparam>
- <param name="value"></param>
- <returns></returns>
- </member>
- <member name="M:NSubstitute.ExceptionExtensions.ExceptionExtensions.ThrowsForAnyArgs(System.Object,System.Func{NSubstitute.Core.CallInfo,System.Exception})">
- <summary>
- Throws an exception for this call made with any arguments, as generated by the specified function.
- </summary>
- <param name="value"></param>
- <param name="createException">Func creating exception object</param>
- <returns></returns>
- </member>
- <member name="M:NSubstitute.ReceivedExtensions.ReceivedExtensions.Received``1(``0,NSubstitute.ReceivedExtensions.Quantity)">
- <summary>
- Checks this substitute has received the following call the required number of times.
- </summary>
- <typeparam name="T"></typeparam>
- <param name="substitute"></param>
- <param name="requiredQuantity"></param>
- <returns></returns>
- </member>
- <member name="M:NSubstitute.ReceivedExtensions.ReceivedExtensions.ReceivedWithAnyArgs``1(``0,NSubstitute.ReceivedExtensions.Quantity)">
- <summary>
- Checks this substitute has received the following call with any arguments the required number of times.
- </summary>
- <typeparam name="T"></typeparam>
- <param name="substitute"></param>
- <param name="requiredQuantity"></param>
- <returns></returns>
- </member>
- <member name="T:NSubstitute.ReceivedExtensions.Quantity">
- <summary>
- Represents a quantity. Primarily used for specifying a required amount of calls to a member.
- </summary>
- </member>
- <member name="M:NSubstitute.ReceivedExtensions.Quantity.Within(System.Int32,System.Int32)">
- <summary>
- A non-zero quantity between the given minimum and maximum numbers (inclusive).
- </summary>
- <param name="minInclusive">Minimum quantity (inclusive). Must be greater than or equal to 0.</param>
- <param name="maxInclusive">Maximum quantity (inclusive). Must be greater than minInclusive.</param>
- <returns></returns>
- </member>
- <member name="M:NSubstitute.ReceivedExtensions.Quantity.Matches``1(System.Collections.Generic.IEnumerable{``0})">
- <summary>
- Returns whether the given collection contains the required quantity of items.
- </summary>
- <typeparam name="T"></typeparam>
- <param name="items"></param>
- <returns>true if the collection has the required quantity; otherwise false.</returns>
- </member>
- <member name="M:NSubstitute.ReceivedExtensions.Quantity.RequiresMoreThan``1(System.Collections.Generic.IEnumerable{``0})">
- <summary>
- Returns whether the given collections needs more items to satisfy the required quantity.
- </summary>
- <typeparam name="T"></typeparam>
- <param name="items"></param>
- <returns>true if the collection needs more items to match this quantity; otherwise false.</returns>
- </member>
- <member name="M:NSubstitute.ReceivedExtensions.Quantity.Describe(System.String,System.String)">
- <summary>
- Describe this quantity using the given noun variants.
- For example, `Describe("item", "items")` could return the description:
- "more than 1 item, but less than 10 items".
- </summary>
- <param name="singularNoun"></param>
- <param name="pluralNoun"></param>
- <returns>A string describing the required quantity of items identified by the provided noun forms.</returns>
- </member>
- <member name="M:NSubstitute.ReturnsExtensions.ReturnsExtensions.ReturnsNull``1(``0)">
- <summary>
- Set null as returned value for this call.
- </summary>
- </member>
- <member name="M:NSubstitute.ReturnsExtensions.ReturnsExtensions.ReturnsNullForAnyArgs``1(``0)">
- <summary>
- Set null as returned value for this call made with any arguments.
- </summary>
- </member>
- <member name="M:NSubstitute.ReturnsExtensions.ReturnsExtensions.ReturnsNull``1(System.Threading.Tasks.Task{``0})">
- <summary>
- Set null as returned value for this call.
- </summary>
- </member>
- <member name="M:NSubstitute.ReturnsExtensions.ReturnsExtensions.ReturnsNull``1(System.Threading.Tasks.ValueTask{``0})">
- <summary>
- Set null as returned value for this call.
- </summary>
- </member>
- <member name="M:NSubstitute.ReturnsExtensions.ReturnsExtensions.ReturnsNullForAnyArgs``1(System.Threading.Tasks.Task{``0})">
- <summary>
- Set null as returned value for this call made with any arguments.
- </summary>
- </member>
- <member name="M:NSubstitute.ReturnsExtensions.ReturnsExtensions.ReturnsNullForAnyArgs``1(System.Threading.Tasks.ValueTask{``0})">
- <summary>
- Set null as returned value for this call made with any arguments.
- </summary>
- <typeparam name="T"></typeparam>
- <param name="value"></param>
- <returns></returns>
- </member>
- <member name="M:NSubstitute.Proxies.CastleDynamicProxy.CastleForwardingInterceptor.SwitchToFullDispatchMode">
- <summary>
- Switches interceptor to dispatch calls via the full pipeline.
- </summary>
- </member>
- <member name="M:NSubstitute.Raise.EventWith``1(System.Object,``0)">
- <summary>
- Raise an event for an <c>EventHandler<TEventArgs></c> event with the provided <paramref name="sender"/> and <paramref name="eventArgs"/>.
- </summary>
- </member>
- <member name="M:NSubstitute.Raise.EventWith``1(``0)">
- <summary>
- Raise an event for an <c>EventHandler<TEventArgs></c> event with the substitute as the sender and the provided <paramref name="eventArgs" />.
- </summary>
- </member>
- <member name="M:NSubstitute.Raise.EventWith``1">
- <summary>
- Raise an event for an <c>EventHandler<EventArgsT></c> event with the substitute as the sender
- and with a default instance of <typeparamref name="TEventArgs" />.
- </summary>
- </member>
- <member name="M:NSubstitute.Raise.Event">
- <summary>
- Raise an event for an <c>EventHandler</c> or <c>EventHandler<EventArgs></c> event with the substitute
- as the sender and with empty <c>EventArgs</c>.
- </summary>
- </member>
- <member name="M:NSubstitute.Raise.Event``1(System.Object[])">
- <summary>
- Raise an event of type <typeparamref name="THandler" /> with the provided arguments. If no arguments are provided
- NSubstitute will try to provide reasonable defaults.
- </summary>
- </member>
- <member name="M:NSubstitute.Raise.FixParamsArrayAmbiguity(System.Object[],System.Type)">
- <summary>
- If delegate takes single parameter of array type, it's impossible to distinguish
- whether input array represents all arguments, or the first argument only.
- If we find that ambiguity might happen, we wrap user input in an extra array.
- </summary>
- </member>
- <member name="M:NSubstitute.Received.InOrder(System.Action)">
- <summary>
- Asserts the calls to the substitutes contained in the given Action were
- received by these substitutes in the same order. Calls to property getters are not included
- in the assertion.
- </summary>
- <param name="calls">Action containing calls to substitutes in the expected order</param>
- </member>
- <member name="T:NSubstitute.Routing.Handlers.ClearLastCallRouterHandler">
- <summary>
- Clears last call router on SubstitutionContext for routes that do not require it.
- </summary>
- <remarks>
- This is to help prevent static state bleeding over into future calls.
- </remarks>
- </member>
- <member name="T:NSubstitute.Substitute">
- <summary>
- Create a substitute for one or more types. For example: <c>Substitute.For<ISomeType>()</c>
- </summary>
- </member>
- <member name="M:NSubstitute.Substitute.For``1(System.Object[])">
- <summary>
- Substitute for an interface or class.
- <para>Be careful when specifying a class, as all non-virtual members will actually be executed. Only virtual members
- can be recorded or have return values specified.</para>
- </summary>
- <typeparam name="T">The type of interface or class to substitute.</typeparam>
- <param name="constructorArguments">Arguments required to construct a class being substituted. Not required for interfaces or classes with default constructors.</param>
- <returns>A substitute for the interface or class.</returns>
- </member>
- <member name="M:NSubstitute.Substitute.For``2(System.Object[])">
- <summary>
- <para>Substitute for multiple interfaces or a class that implements an interface. At most one class can be specified.</para>
- <para>Be careful when specifying a class, as all non-virtual members will actually be executed. Only virtual members
- can be recorded or have return values specified.</para>
- </summary>
- <typeparam name="T1">The type of interface or class to substitute.</typeparam>
- <typeparam name="T2">An additional interface or class (maximum of one class) the substitute should implement.</typeparam>
- <param name="constructorArguments">Arguments required to construct a class being substituted. Not required for interfaces or classes with default constructors.</param>
- <returns>A substitute of type T1, that also implements T2.</returns>
- </member>
- <member name="M:NSubstitute.Substitute.For``3(System.Object[])">
- <summary>
- <para>Substitute for multiple interfaces or a class that implements multiple interfaces. At most one class can be specified.</para>
- If additional interfaces are required use the <see cref="M:NSubstitute.Substitute.For(System.Type[],System.Object[])" /> overload.
- <para>Be careful when specifying a class, as all non-virtual members will actually be executed. Only virtual members
- can be recorded or have return values specified.</para>
- </summary>
- <typeparam name="T1">The type of interface or class to substitute.</typeparam>
- <typeparam name="T2">An additional interface or class (maximum of one class) the substitute should implement.</typeparam>
- <typeparam name="T3">An additional interface or class (maximum of one class) the substitute should implement.</typeparam>
- <param name="constructorArguments">Arguments required to construct a class being substituted. Not required for interfaces or classes with default constructors.</param>
- <returns>A substitute of type T1, that also implements T2 and T3.</returns>
- </member>
- <member name="M:NSubstitute.Substitute.For(System.Type[],System.Object[])">
- <summary>
- <para>Substitute for multiple interfaces or a class that implements multiple interfaces. At most one class can be specified.</para>
- <para>Be careful when specifying a class, as all non-virtual members will actually be executed. Only virtual members
- can be recorded or have return values specified.</para>
- </summary>
- <param name="typesToProxy">The types of interfaces or a type of class and multiple interfaces the substitute should implement.</param>
- <param name="constructorArguments">Arguments required to construct a class being substituted. Not required for interfaces or classes with default constructors.</param>
- <returns>A substitute implementing the specified types.</returns>
- </member>
- <member name="M:NSubstitute.Substitute.ForPartsOf``1(System.Object[])">
- <summary>
- Create a substitute for a class that behaves just like a real instance of the class, but also
- records calls made to its virtual members and allows for specific members to be substituted
- by using <see cref="M:NSubstitute.Core.WhenCalled`1.DoNotCallBase">When(() => call).DoNotCallBase()</see> or by
- <see cref="M:NSubstitute.SubstituteExtensions.Returns``1(``0,``0,``0[])">setting a value to return value</see> for that member.
- </summary>
- <typeparam name="T">The type to substitute for parts of. Must be a class; not a delegate or interface.</typeparam>
- <param name="constructorArguments"></param>
- <returns>An instance of the class that will execute real methods when called, but allows parts to be selectively
- overridden via `Returns` and `When..DoNotCallBase`.</returns>
- </member>
- <member name="M:NSubstitute.SubstituteExtensions.Returns``1(``0,``0,``0[])">
- <summary>
- Set a return value for this call.
- </summary>
- <param name="value"></param>
- <param name="returnThis">Value to return</param>
- <param name="returnThese">Optionally return these values next</param>
- </member>
- <member name="M:NSubstitute.SubstituteExtensions.Returns``1(``0,System.Func{NSubstitute.Core.CallInfo,``0},System.Func{NSubstitute.Core.CallInfo,``0}[])">
- <summary>
- Set a return value for this call, calculated by the provided function.
- </summary>
- <param name="value"></param>
- <param name="returnThis">Function to calculate the return value</param>
- <param name="returnThese">Optionally use these functions next</param>
- </member>
- <member name="M:NSubstitute.SubstituteExtensions.Returns``1(System.Threading.Tasks.Task{``0},``0,``0[])">
- <summary>
- Set a return value for this call. The value(s) to be returned will be wrapped in Tasks.
- </summary>
- <param name="value"></param>
- <param name="returnThis">Value to return. Will be wrapped in a Task</param>
- <param name="returnThese">Optionally use these values next</param>
- </member>
- <member name="M:NSubstitute.SubstituteExtensions.Returns``1(System.Threading.Tasks.Task{``0},System.Func{NSubstitute.Core.CallInfo,``0},System.Func{NSubstitute.Core.CallInfo,``0}[])">
- <summary>
- Set a return value for this call, calculated by the provided function. The value(s) to be returned will be wrapped in Tasks.
- </summary>
- <param name="value"></param>
- <param name="returnThis">Function to calculate the return value</param>
- <param name="returnThese">Optionally use these functions next</param>
- </member>
- <member name="M:NSubstitute.SubstituteExtensions.Returns``1(System.Threading.Tasks.ValueTask{``0},``0,``0[])">
- <summary>
- Set a return value for this call. The value(s) to be returned will be wrapped in ValueTasks.
- </summary>
- <param name="value"></param>
- <param name="returnThis">Value to return. Will be wrapped in a ValueTask</param>
- <param name="returnThese">Optionally use these values next</param>
- </member>
- <member name="M:NSubstitute.SubstituteExtensions.Returns``1(System.Threading.Tasks.ValueTask{``0},System.Func{NSubstitute.Core.CallInfo,``0},System.Func{NSubstitute.Core.CallInfo,``0}[])">
- <summary>
- Set a return value for this call, calculated by the provided function. The value(s) to be returned will be wrapped in ValueTasks.
- </summary>
- <param name="value"></param>
- <param name="returnThis">Function to calculate the return value</param>
- <param name="returnThese">Optionally use these functions next</param>
- </member>
- <member name="M:NSubstitute.SubstituteExtensions.ReturnsForAnyArgs``1(System.Threading.Tasks.Task{``0},``0,``0[])">
- <summary>
- Set a return value for this call made with any arguments. The value(s) to be returned will be wrapped in Tasks.
- </summary>
- <param name="value"></param>
- <param name="returnThis">Value to return</param>
- <param name="returnThese">Optionally return these values next</param>
- </member>
- <member name="M:NSubstitute.SubstituteExtensions.ReturnsForAnyArgs``1(System.Threading.Tasks.Task{``0},System.Func{NSubstitute.Core.CallInfo,``0},System.Func{NSubstitute.Core.CallInfo,``0}[])">
- <summary>
- Set a return value for this call made with any arguments, calculated by the provided function. The value(s) to be returned will be wrapped in Tasks.
- </summary>
- <param name="value"></param>
- <param name="returnThis">Function to calculate the return value</param>
- <param name="returnThese">Optionally use these functions next</param>
- </member>
- <member name="M:NSubstitute.SubstituteExtensions.ReturnsForAnyArgs``1(System.Threading.Tasks.ValueTask{``0},``0,``0[])">
- <summary>
- Set a return value for this call made with any arguments. The value(s) to be returned will be wrapped in ValueTasks.
- </summary>
- <param name="value"></param>
- <param name="returnThis">Value to return</param>
- <param name="returnThese">Optionally return these values next</param>
- </member>
- <member name="M:NSubstitute.SubstituteExtensions.ReturnsForAnyArgs``1(System.Threading.Tasks.ValueTask{``0},System.Func{NSubstitute.Core.CallInfo,``0},System.Func{NSubstitute.Core.CallInfo,``0}[])">
- <summary>
- Set a return value for this call made with any arguments, calculated by the provided function. The value(s) to be returned will be wrapped in ValueTasks.
- </summary>
- <param name="value"></param>
- <param name="returnThis">Function to calculate the return value</param>
- <param name="returnThese">Optionally use these functions next</param>
- </member>
- <member name="M:NSubstitute.SubstituteExtensions.ReturnsForAnyArgs``1(``0,``0,``0[])">
- <summary>
- Set a return value for this call made with any arguments.
- </summary>
- <param name="value"></param>
- <param name="returnThis">Value to return</param>
- <param name="returnThese">Optionally return these values next</param>
- </member>
- <member name="M:NSubstitute.SubstituteExtensions.ReturnsForAnyArgs``1(``0,System.Func{NSubstitute.Core.CallInfo,``0},System.Func{NSubstitute.Core.CallInfo,``0}[])">
- <summary>
- Set a return value for this call made with any arguments, calculated by the provided function.
- </summary>
- <typeparam name="T"></typeparam>
- <param name="value"></param>
- <param name="returnThis">Function to calculate the return value</param>
- <param name="returnThese">Optionally use these functions next</param>
- <returns></returns>
- </member>
- <member name="M:NSubstitute.SubstituteExtensions.Received``1(``0)">
- <summary>
- Checks this substitute has received the following call.
- </summary>
- </member>
- <member name="M:NSubstitute.SubstituteExtensions.Received``1(``0,System.Int32)">
- <summary>
- Checks this substitute has received the following call the required number of times.
- </summary>
- </member>
- <member name="M:NSubstitute.SubstituteExtensions.DidNotReceive``1(``0)">
- <summary>
- Checks this substitute has not received the following call.
- </summary>
- </member>
- <member name="M:NSubstitute.SubstituteExtensions.ReceivedWithAnyArgs``1(``0)">
- <summary>
- Checks this substitute has received the following call with any arguments.
- </summary>
- </member>
- <member name="M:NSubstitute.SubstituteExtensions.ReceivedWithAnyArgs``1(``0,System.Int32)">
- <summary>
- Checks this substitute has received the following call with any arguments the required number of times.
- </summary>
- </member>
- <member name="M:NSubstitute.SubstituteExtensions.DidNotReceiveWithAnyArgs``1(``0)">
- <summary>
- Checks this substitute has not received the following call with any arguments.
- </summary>
- </member>
- <member name="M:NSubstitute.SubstituteExtensions.ClearReceivedCalls``1(``0)">
- <summary>
- Forget all the calls this substitute has received.
- </summary>
- <remarks>
- Note that this will not clear any results set up for the substitute using Returns().
- See <see cref="M:NSubstitute.ClearExtensions.ClearExtensions.ClearSubstitute``1(``0,NSubstitute.ClearOptions)"/> for more options with resetting
- a substitute.
- </remarks>
- </member>
- <member name="M:NSubstitute.SubstituteExtensions.When``1(``0,System.Action{``0})">
- <summary>
- Perform an action when this member is called.
- Must be followed by <see cref="M:NSubstitute.Core.WhenCalled`1.Do(System.Action{NSubstitute.Core.CallInfo})"/> to provide the callback.
- </summary>
- </member>
- <member name="M:NSubstitute.SubstituteExtensions.When``1(``0,System.Func{``0,System.Threading.Tasks.Task})">
- <summary>
- Perform an action when this member is called.
- Must be followed by <see cref="M:NSubstitute.Core.WhenCalled`1.Do(System.Action{NSubstitute.Core.CallInfo})"/> to provide the callback.
- </summary>
- </member>
- <member name="M:NSubstitute.SubstituteExtensions.When``2(``0,System.Func{``0,System.Threading.Tasks.ValueTask{``1}})">
- <summary>
- Perform an action when this member is called.
- Must be followed by <see cref="M:NSubstitute.Core.WhenCalled`1.Do(System.Action{NSubstitute.Core.CallInfo})"/> to provide the callback.
- </summary>
- </member>
- <member name="M:NSubstitute.SubstituteExtensions.WhenForAnyArgs``1(``0,System.Action{``0})">
- <summary>
- Perform an action when this member is called with any arguments.
- Must be followed by <see cref="M:NSubstitute.Core.WhenCalled`1.Do(System.Action{NSubstitute.Core.CallInfo})"/> to provide the callback.
- </summary>
- </member>
- <member name="M:NSubstitute.SubstituteExtensions.WhenForAnyArgs``1(``0,System.Func{``0,System.Threading.Tasks.Task})">
- <summary>
- Perform an action when this member is called with any arguments.
- Must be followed by <see cref="M:NSubstitute.Core.WhenCalled`1.Do(System.Action{NSubstitute.Core.CallInfo})"/> to provide the callback.
- </summary>
- </member>
- <member name="M:NSubstitute.SubstituteExtensions.WhenForAnyArgs``2(``0,System.Func{``0,System.Threading.Tasks.ValueTask{``1}})">
- <summary>
- Perform an action when this member is called with any arguments.
- Must be followed by <see cref="M:NSubstitute.Core.WhenCalled`1.Do(System.Action{NSubstitute.Core.CallInfo})"/> to provide the callback.
- </summary>
- </member>
- <member name="M:NSubstitute.SubstituteExtensions.ReceivedCalls``1(``0)">
- <summary>
- Returns the calls received by this substitute.
- </summary>
- </member>
- </members>
- </doc>
|