Showing preview only (726K chars total). Download the full file or copy to clipboard to get everything.
Repository: telerik/razor-converter
Branch: master
Commit: 3028034882b4
Files: 194
Total size: 666.6 KB
Directory structure:
gitextract_co3fz9j8/
├── .gitignore
├── LICENSE
├── README.md
├── References/
│ ├── Moq.LICENSE
│ ├── Moq.xml
│ ├── xunit.LICENSE
│ └── xunit.extensions.xml
├── Telerik.RazorConverter/
│ ├── Document.cs
│ ├── IDocument.cs
│ ├── INodeConverter.cs
│ ├── IOrderMetadata.cs
│ ├── IRenderer.cs
│ ├── IWebFormsConverter.cs
│ ├── IWebFormsParser.cs
│ ├── Properties/
│ │ └── AssemblyInfo.cs
│ ├── Razor/
│ │ ├── Converters/
│ │ │ ├── CodeBlockConverter.cs
│ │ │ ├── CodeGroupConverter.cs
│ │ │ ├── CommentNodeConverter.cs
│ │ │ ├── ContentTagConverter.cs
│ │ │ ├── ContentTagConverterConfiguration.cs
│ │ │ ├── DirectiveConverter.cs
│ │ │ ├── ExpressionBlockConverter.cs
│ │ │ ├── IContentTagConverterConfiguration.cs
│ │ │ ├── IRazorNodeConverterProvider.cs
│ │ │ ├── RazorNodeConverterProvider.cs
│ │ │ ├── TextNodeConverter.cs
│ │ │ └── WebFormsToRazorConverter.cs
│ │ ├── DOM/
│ │ │ ├── IRazorCodeNode.cs
│ │ │ ├── IRazorCodeNodeFactory.cs
│ │ │ ├── IRazorCommentNode.cs
│ │ │ ├── IRazorCommentNodeFactory.cs
│ │ │ ├── IRazorDirectiveNode.cs
│ │ │ ├── IRazorDirectiveNodeFactory.cs
│ │ │ ├── IRazorExpressionNode.cs
│ │ │ ├── IRazorExpressionNodeFactory.cs
│ │ │ ├── IRazorNode.cs
│ │ │ ├── IRazorSectionNode.cs
│ │ │ ├── IRazorSectionNodeFactory.cs
│ │ │ ├── IRazorTextNode.cs
│ │ │ ├── IRazorTextNodeFactory.cs
│ │ │ ├── RazorCodeNode.cs
│ │ │ ├── RazorCodeNodeFactory.cs
│ │ │ ├── RazorCommentNode.cs
│ │ │ ├── RazorCommentNodeFactory.cs
│ │ │ ├── RazorDirectiveNode.cs
│ │ │ ├── RazorDirectiveNodeFactory.cs
│ │ │ ├── RazorExpressionNode.cs
│ │ │ ├── RazorExpressionNodeFactory.cs
│ │ │ ├── RazorNode.cs
│ │ │ ├── RazorSectionNode.cs
│ │ │ ├── RazorSectionNodeFactory.cs
│ │ │ ├── RazorTextNode.cs
│ │ │ └── RazorTextNodeFactory.cs
│ │ └── Rendering/
│ │ ├── CodeNodeRenderer.cs
│ │ ├── CommentNodeRenderer.cs
│ │ ├── DirectiveNodeRenderer.cs
│ │ ├── ExpressionNodeRenderer.cs
│ │ ├── IRazorNodeRenderer.cs
│ │ ├── IRazorNodeRendererProvider.cs
│ │ ├── RazorNodeRendererProvider.cs
│ │ ├── RazorViewRenderer.cs
│ │ ├── SectionNodeRenderer.cs
│ │ └── TextNodeRenderer.cs
│ ├── Telerik.RazorConverter.csproj
│ └── WebForms/
│ ├── DOM/
│ │ ├── CodeBlockNodeType.cs
│ │ ├── CommentNode.cs
│ │ ├── DirectiveNode.cs
│ │ ├── DirectiveType.cs
│ │ ├── ExpressionBlockNode.cs
│ │ ├── IWebFormsCodeBlockNode.cs
│ │ ├── IWebFormsCodeGroupNode.cs
│ │ ├── IWebFormsCodeGroupNodeFactory.cs
│ │ ├── IWebFormsCommentNode.cs
│ │ ├── IWebFormsContentNode.cs
│ │ ├── IWebFormsDirectiveNode.cs
│ │ ├── IWebFormsExpressionBlockNode.cs
│ │ ├── IWebFormsNode.cs
│ │ ├── IWebFormsNodeFactory.cs
│ │ ├── IWebFormsServerControlNode.cs
│ │ ├── IWebFormsTextNode.cs
│ │ ├── NodeType.cs
│ │ ├── ServerControlNode.cs
│ │ ├── TextNode.cs
│ │ ├── WebFormsCodeBlockNode.cs
│ │ ├── WebFormsCodeGroupFactory.cs
│ │ ├── WebFormsCodeGroupNode.cs
│ │ ├── WebFormsNode.cs
│ │ └── WebFormsNodeFactory.cs
│ ├── Filters/
│ │ ├── AddBlockBracesFilter.cs
│ │ ├── CodeBlockGroupingFilter.cs
│ │ ├── IWebFormsNodeFilter.cs
│ │ ├── IWebFormsNodeFilterProvider.cs
│ │ ├── WebFormsNodeFilterProvider.cs
│ │ └── WrapNestedTemplatesFilter.cs
│ └── Parsing/
│ ├── AttributesReader.cs
│ ├── IAttributesReader.cs
│ ├── RunatServerTagRegex.cs
│ └── WebFormsParser.cs
├── Telerik.RazorConverter.Tests/
│ ├── Properties/
│ │ └── AssemblyInfo.cs
│ ├── Razor/
│ │ ├── Converters/
│ │ │ ├── CodeBlockConverterTests.cs
│ │ │ ├── CodeGroupConverterTests.cs
│ │ │ ├── CommentNodeConverterTests.cs
│ │ │ ├── ContentPlaceHolderTagConverterTest.cs
│ │ │ ├── ContentTagConverterTests.cs
│ │ │ ├── DirectiveConverterTests.cs
│ │ │ ├── ExpressionBlockConverterTests.cs
│ │ │ ├── TextNodeConverterTests.cs
│ │ │ └── WebFormsToRazorConverterTests.cs
│ │ ├── DOM/
│ │ │ ├── RazorCodeNodeFactoryTests.cs
│ │ │ ├── RazorCommentNodeFactoryTests.cs
│ │ │ ├── RazorDirectiveNodeFactoryTests.cs
│ │ │ ├── RazorNodeTests.cs
│ │ │ └── RazorTextNodeFactoryTests.cs
│ │ └── Rendering/
│ │ ├── CodeNodeRendererTests.cs
│ │ ├── CommentNodeRendererTests.cs
│ │ ├── DirectiveNodeRendererTests.cs
│ │ ├── ExpressionNodeRendererTests.cs
│ │ ├── RazorViewRendererTests.cs
│ │ ├── SectionNodeRendererTests.cs
│ │ └── TextNodeRendererTests.cs
│ ├── Telerik.RazorConverter.Tests.csproj
│ └── WebForms/
│ ├── DOM/
│ │ └── WebFormsCodeGroupNodeTests.cs
│ ├── Filters/
│ │ ├── AddBlockBracesFilterTests.cs
│ │ ├── CodeBlockGroupingFilterTests.cs
│ │ └── WrapNestedTemplatesFilterTests.cs
│ ├── WebFormsParserFilteringTests.cs
│ └── WebFormsParserTests.cs
├── Telerik.RazorConverter.Tests.Common/
│ ├── Properties/
│ │ └── AssemblyInfo.cs
│ ├── Telerik.RazorConverter.Tests.Common.csproj
│ └── XunitExtensions/
│ ├── BooleanAssertionExtensions.cs
│ ├── CollectionAssertionExtensions.cs
│ ├── ObjectAssertExtensions.cs
│ └── StringAssertionExtensions.cs
├── Telerik.RazorConverter.Tests.Integration/
│ ├── IntegrationTests.cs
│ ├── Properties/
│ │ └── AssemblyInfo.cs
│ ├── Telerik.RazorConverter.Tests.Integration.csproj
│ └── TestCases/
│ ├── TestCase01.aspx.txt
│ ├── TestCase01.cshtml
│ ├── TestCase02.aspx.txt
│ ├── TestCase02.cshtml
│ ├── TestCase03.aspx.txt
│ ├── TestCase03.cshtml
│ ├── TestCase04.aspx.txt
│ ├── TestCase04.cshtml
│ ├── TestCase05.aspx.txt
│ ├── TestCase05.cshtml
│ ├── TestCase06.aspx.txt
│ ├── TestCase06.cshtml
│ ├── TestCase07.aspx.txt
│ ├── TestCase07.cshtml
│ ├── TestCase08.aspx.txt.skip
│ ├── TestCase08.cshtml
│ ├── TestCase09.aspx.txt
│ ├── TestCase09.cshtml
│ ├── TestCase10.aspx.txt
│ ├── TestCase10.cshtml
│ ├── TestCase11.aspx.txt
│ ├── TestCase11.cshtml
│ ├── TestCase12.aspx.txt
│ ├── TestCase12.cshtml
│ ├── TestCase13.aspx.txt
│ ├── TestCase13.cshtml
│ ├── TestCase14.aspx.txt
│ ├── TestCase14.cshtml
│ ├── TestCase15.aspx.txt
│ ├── TestCase15.cshtml
│ ├── TestCase16.aspx.txt.skip
│ ├── TestCase16.cshtml
│ ├── TestCase17.aspx.txt.skip
│ ├── TestCase17.cshtml
│ ├── TestCase18.aspx.txt
│ ├── TestCase18.cshtml
│ ├── TestCase19.aspx.txt.skip
│ ├── TestCase19.cshtml
│ ├── TestCase20.aspx.txt
│ ├── TestCase20.cshtml
│ ├── TestCase21.aspx.txt.skip
│ ├── TestCase21.cshtml
│ ├── TestCase22.aspx.txt.skip
│ ├── TestCase22.cshtml
│ ├── TestCase23.aspx.txt
│ ├── TestCase23.cshtml
│ ├── TestCase24.aspx.txt
│ ├── TestCase24.cshtml
│ ├── TestCase25.aspx.txt
│ ├── TestCase25.cshtml
│ ├── TestCase26.aspx.txt
│ └── TestCase26.cshtml
├── Telerik.RazorConverter.sln
└── aspx2razor/
├── DirectoryHandler.cs
├── Program.cs
├── Properties/
│ └── AssemblyInfo.cs
├── app.config
└── aspx2razor.csproj
================================================
FILE CONTENTS
================================================
================================================
FILE: .gitignore
================================================
bin/
obj/
*.suo
*.vs10x
_ReSharper/
_ReSharper*/
*.user
================================================
FILE: LICENSE
================================================
Copyright (c) 2011 Telerik Corp.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
================================================
FILE: README.md
================================================
The razor-converter is a simple tool for converting Microsoft® ASP.NET MVC WebForms Views to the new Razor syntax.
It was initially developed by the Telerik ASP.NET MVC team for internal use, but it now lives its own life on GitHub.
Known limitations:
* The tool only works with views and does not deal with the project structure and master pages.
* Expressions in script tags are not converted
* Due to the differences between the view engines the automatic conversion will sometimes fail or produce incorrect results. See the integration tests for specific scenarios that are not covered.
For general tips on converting WebForms Views to Razor Views, see these blog posts:
* [Introducing Razor](http://weblogs.asp.net/scottgu/archive/2010/07/02/introducing-razor.aspx)
* [Model directive support](http://weblogs.asp.net/scottgu/archive/2010/10/19/asp-net-mvc-3-new-model-directive-support-in-razor.aspx)
* [Layouts](http://weblogs.asp.net/scottgu/archive/2010/10/22/asp-net-mvc-3-layouts.aspx)
* [Server-side comments](http://weblogs.asp.net/scottgu/archive/2010/11/12/asp-net-mvc-3-server-side-comments-with-razor.aspx)
* [The <text> syntax](http://weblogs.asp.net/scottgu/archive/2010/12/15/asp-net-mvc-3-razor-s-and-lt-text-gt-syntax.aspx)
* [Implicit and explicit code nuggets](http://weblogs.asp.net/scottgu/archive/2010/12/16/asp-net-mvc-3-implicit-and-explicit-code-nuggets-with-razor.aspx)
* [Introducing Razor (by Andrew Nurse)](http://blog.andrewnurse.net/2010/07/03/IntroducingRazorNdashANewViewEngineForASPNet.aspx)
[Help specific to the Telerik Extensions for ASP.NET MVC](http://www.telerik.com/help/aspnet-mvc/using-with-the-razor-view-engine.html)
Command line usage:
`aspx2razor <input-directory> [output-directory] [options]`
Options:
-r: Convert directories and their contents recursively (Contributed by Jeffrey T. Fritz)
A file with cshtml extension will be created for each input file.
Existing files will be OVERWRITTEN, so you must be very careful.
================================================
FILE: References/Moq.LICENSE
================================================
Copyright (c) 2007. Clarius Consulting, Manas Technology Solutions, InSTEDD
http://code.google.com/p/moq/
All rights reserved.
Redistribution and use in source and binary forms,
with or without modification, are permitted provided
that the following conditions are met:
* Redistributions of source code must retain the
above copyright notice, this list of conditions and
the following disclaimer.
* Redistributions in binary form must reproduce
the above copyright notice, this list of conditions
and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of Clarius Consulting, Manas Technology Solutions or InSTEDD nor the
names of its contributors may be used to endorse
or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
[This is the BSD license, see
http://www.opensource.org/licenses/bsd-license.php]
================================================
FILE: References/Moq.xml
================================================
<?xml version="1.0"?>
<doc>
<assembly>
<name>Moq</name>
</assembly>
<members>
<member name="T:Moq.Language.ISetupConditionResult`1">
<summary>
Implements the fluent API.
</summary>
</member>
<member name="M:Moq.Language.ISetupConditionResult`1.Setup(System.Linq.Expressions.Expression{System.Action{`0}})">
<summary>
The expectation will be considered only in the former condition.
</summary>
<param name="expression"></param>
<returns></returns>
</member>
<member name="M:Moq.Language.ISetupConditionResult`1.Setup``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
<summary>
The expectation will be considered only in the former condition.
</summary>
<typeparam name="TResult"></typeparam>
<param name="expression"></param>
<returns></returns>
</member>
<member name="M:Moq.Language.ISetupConditionResult`1.SetupGet``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
<summary>
Setups the get.
</summary>
<typeparam name="TProperty">The type of the property.</typeparam>
<param name="expression">The expression.</param>
<returns></returns>
</member>
<member name="M:Moq.Language.ISetupConditionResult`1.SetupSet``1(System.Action{`0})">
<summary>
Setups the set.
</summary>
<typeparam name="TProperty">The type of the property.</typeparam>
<param name="setterExpression">The setter expression.</param>
<returns></returns>
</member>
<member name="M:Moq.Language.ISetupConditionResult`1.SetupSet(System.Action{`0})">
<summary>
Setups the set.
</summary>
<param name="setterExpression">The setter expression.</param>
<returns></returns>
</member>
<member name="T:Moq.Language.ICallback">
<summary>
Defines the <c>Callback</c> verb and overloads.
</summary>
</member>
<member name="T:Moq.IHideObjectMembers">
<summary>
Helper interface used to hide the base <see cref="T:System.Object"/>
members from the fluent API to make it much cleaner
in Visual Studio intellisense.
</summary>
</member>
<member name="M:Moq.IHideObjectMembers.GetType">
<summary/>
</member>
<member name="M:Moq.IHideObjectMembers.GetHashCode">
<summary/>
</member>
<member name="M:Moq.IHideObjectMembers.ToString">
<summary/>
</member>
<member name="M:Moq.IHideObjectMembers.Equals(System.Object)">
<summary/>
</member>
<member name="M:Moq.Language.ICallback.Callback(System.Action)">
<summary>
Specifies a callback to invoke when the method is called.
</summary>
<param name="action">The callback method to invoke.</param>
<example>
The following example specifies a callback to set a boolean
value that can be used later:
<code>
var called = false;
mock.Setup(x => x.Execute())
.Callback(() => called = true);
</code>
</example>
</member>
<member name="M:Moq.Language.ICallback.Callback``1(System.Action{``0})">
<summary>
Specifies a callback to invoke when the method is called that receives the original arguments.
</summary>
<typeparam name="T">The argument type of the invoked method.</typeparam>
<param name="action">The callback method to invoke.</param>
<example>
Invokes the given callback with the concrete invocation argument value.
<para>
Notice how the specific string argument is retrieved by simply declaring
it as part of the lambda expression for the callback:
</para>
<code>
mock.Setup(x => x.Execute(It.IsAny<string>()))
.Callback((string command) => Console.WriteLine(command));
</code>
</example>
</member>
<member name="M:Moq.Language.ICallback.Callback``2(System.Action{``0,``1})">
<summary>
Specifies a callback to invoke when the method is called that receives the original arguments.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<param name="action">The callback method to invoke.</param>
<returns>A reference to <see cref="T:Moq.Language.Flow.ICallbackResult"/> interface.</returns>
<example>
Invokes the given callback with the concrete invocation arguments values.
<para>
Notice how the specific arguments are retrieved by simply declaring
them as part of the lambda expression for the callback:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<string>(),
It.IsAny<string>()))
.Callback((string arg1, string arg2) => Console.WriteLine(arg1 + arg2));
</code>
</example>
</member>
<member name="M:Moq.Language.ICallback.Callback``3(System.Action{``0,``1,``2})">
<summary>
Specifies a callback to invoke when the method is called that receives the original arguments.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<param name="action">The callback method to invoke.</param>
<returns>A reference to <see cref="T:Moq.Language.Flow.ICallbackResult"/> interface.</returns>
<example>
Invokes the given callback with the concrete invocation arguments values.
<para>
Notice how the specific arguments are retrieved by simply declaring
them as part of the lambda expression for the callback:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>()))
.Callback((string arg1, string arg2, string arg3) => Console.WriteLine(arg1 + arg2 + arg3));
</code>
</example>
</member>
<member name="M:Moq.Language.ICallback.Callback``4(System.Action{``0,``1,``2,``3})">
<summary>
Specifies a callback to invoke when the method is called that receives the original arguments.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<param name="action">The callback method to invoke.</param>
<returns>A reference to <see cref="T:Moq.Language.Flow.ICallbackResult"/> interface.</returns>
<example>
Invokes the given callback with the concrete invocation arguments values.
<para>
Notice how the specific arguments are retrieved by simply declaring
them as part of the lambda expression for the callback:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>()))
.Callback((string arg1, string arg2, string arg3, string arg4) => Console.WriteLine(arg1 + arg2 + arg3 + arg4));
</code>
</example>
</member>
<member name="M:Moq.Language.ICallback.Callback``5(System.Action{``0,``1,``2,``3,``4})">
<summary>
Specifies a callback to invoke when the method is called that receives the original arguments.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<param name="action">The callback method to invoke.</param>
<returns>A reference to <see cref="T:Moq.Language.Flow.ICallbackResult"/> interface.</returns>
<example>
Invokes the given callback with the concrete invocation arguments values.
<para>
Notice how the specific arguments are retrieved by simply declaring
them as part of the lambda expression for the callback:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>()))
.Callback((string arg1, string arg2, string arg3, string arg4, string arg5) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5));
</code>
</example>
</member>
<member name="M:Moq.Language.ICallback.Callback``6(System.Action{``0,``1,``2,``3,``4,``5})">
<summary>
Specifies a callback to invoke when the method is called that receives the original arguments.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<typeparam name="T6">The type of the sixth argument of the invoked method.</typeparam>
<param name="action">The callback method to invoke.</param>
<returns>A reference to <see cref="T:Moq.Language.Flow.ICallbackResult"/> interface.</returns>
<example>
Invokes the given callback with the concrete invocation arguments values.
<para>
Notice how the specific arguments are retrieved by simply declaring
them as part of the lambda expression for the callback:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>()))
.Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6));
</code>
</example>
</member>
<member name="M:Moq.Language.ICallback.Callback``7(System.Action{``0,``1,``2,``3,``4,``5,``6})">
<summary>
Specifies a callback to invoke when the method is called that receives the original arguments.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<typeparam name="T6">The type of the sixth argument of the invoked method.</typeparam>
<typeparam name="T7">The type of the seventh argument of the invoked method.</typeparam>
<param name="action">The callback method to invoke.</param>
<returns>A reference to <see cref="T:Moq.Language.Flow.ICallbackResult"/> interface.</returns>
<example>
Invokes the given callback with the concrete invocation arguments values.
<para>
Notice how the specific arguments are retrieved by simply declaring
them as part of the lambda expression for the callback:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>()))
.Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7));
</code>
</example>
</member>
<member name="M:Moq.Language.ICallback.Callback``8(System.Action{``0,``1,``2,``3,``4,``5,``6,``7})">
<summary>
Specifies a callback to invoke when the method is called that receives the original arguments.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<typeparam name="T6">The type of the sixth argument of the invoked method.</typeparam>
<typeparam name="T7">The type of the seventh argument of the invoked method.</typeparam>
<typeparam name="T8">The type of the eighth argument of the invoked method.</typeparam>
<param name="action">The callback method to invoke.</param>
<returns>A reference to <see cref="T:Moq.Language.Flow.ICallbackResult"/> interface.</returns>
<example>
Invokes the given callback with the concrete invocation arguments values.
<para>
Notice how the specific arguments are retrieved by simply declaring
them as part of the lambda expression for the callback:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>()))
.Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8));
</code>
</example>
</member>
<member name="M:Moq.Language.ICallback.Callback``9(System.Action{``0,``1,``2,``3,``4,``5,``6,``7,``8})">
<summary>
Specifies a callback to invoke when the method is called that receives the original arguments.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<typeparam name="T6">The type of the sixth argument of the invoked method.</typeparam>
<typeparam name="T7">The type of the seventh argument of the invoked method.</typeparam>
<typeparam name="T8">The type of the eighth argument of the invoked method.</typeparam>
<typeparam name="T9">The type of the nineth argument of the invoked method.</typeparam>
<param name="action">The callback method to invoke.</param>
<returns>A reference to <see cref="T:Moq.Language.Flow.ICallbackResult"/> interface.</returns>
<example>
Invokes the given callback with the concrete invocation arguments values.
<para>
Notice how the specific arguments are retrieved by simply declaring
them as part of the lambda expression for the callback:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>()))
.Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9));
</code>
</example>
</member>
<member name="M:Moq.Language.ICallback.Callback``10(System.Action{``0,``1,``2,``3,``4,``5,``6,``7,``8,``9})">
<summary>
Specifies a callback to invoke when the method is called that receives the original arguments.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<typeparam name="T6">The type of the sixth argument of the invoked method.</typeparam>
<typeparam name="T7">The type of the seventh argument of the invoked method.</typeparam>
<typeparam name="T8">The type of the eighth argument of the invoked method.</typeparam>
<typeparam name="T9">The type of the nineth argument of the invoked method.</typeparam>
<typeparam name="T10">The type of the tenth argument of the invoked method.</typeparam>
<param name="action">The callback method to invoke.</param>
<returns>A reference to <see cref="T:Moq.Language.Flow.ICallbackResult"/> interface.</returns>
<example>
Invokes the given callback with the concrete invocation arguments values.
<para>
Notice how the specific arguments are retrieved by simply declaring
them as part of the lambda expression for the callback:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>()))
.Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10));
</code>
</example>
</member>
<member name="M:Moq.Language.ICallback.Callback``11(System.Action{``0,``1,``2,``3,``4,``5,``6,``7,``8,``9,``10})">
<summary>
Specifies a callback to invoke when the method is called that receives the original arguments.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<typeparam name="T6">The type of the sixth argument of the invoked method.</typeparam>
<typeparam name="T7">The type of the seventh argument of the invoked method.</typeparam>
<typeparam name="T8">The type of the eighth argument of the invoked method.</typeparam>
<typeparam name="T9">The type of the nineth argument of the invoked method.</typeparam>
<typeparam name="T10">The type of the tenth argument of the invoked method.</typeparam>
<typeparam name="T11">The type of the eleventh argument of the invoked method.</typeparam>
<param name="action">The callback method to invoke.</param>
<returns>A reference to <see cref="T:Moq.Language.Flow.ICallbackResult"/> interface.</returns>
<example>
Invokes the given callback with the concrete invocation arguments values.
<para>
Notice how the specific arguments are retrieved by simply declaring
them as part of the lambda expression for the callback:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>()))
.Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11));
</code>
</example>
</member>
<member name="M:Moq.Language.ICallback.Callback``12(System.Action{``0,``1,``2,``3,``4,``5,``6,``7,``8,``9,``10,``11})">
<summary>
Specifies a callback to invoke when the method is called that receives the original arguments.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<typeparam name="T6">The type of the sixth argument of the invoked method.</typeparam>
<typeparam name="T7">The type of the seventh argument of the invoked method.</typeparam>
<typeparam name="T8">The type of the eighth argument of the invoked method.</typeparam>
<typeparam name="T9">The type of the nineth argument of the invoked method.</typeparam>
<typeparam name="T10">The type of the tenth argument of the invoked method.</typeparam>
<typeparam name="T11">The type of the eleventh argument of the invoked method.</typeparam>
<typeparam name="T12">The type of the twelfth argument of the invoked method.</typeparam>
<param name="action">The callback method to invoke.</param>
<returns>A reference to <see cref="T:Moq.Language.Flow.ICallbackResult"/> interface.</returns>
<example>
Invokes the given callback with the concrete invocation arguments values.
<para>
Notice how the specific arguments are retrieved by simply declaring
them as part of the lambda expression for the callback:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>()))
.Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12));
</code>
</example>
</member>
<member name="M:Moq.Language.ICallback.Callback``13(System.Action{``0,``1,``2,``3,``4,``5,``6,``7,``8,``9,``10,``11,``12})">
<summary>
Specifies a callback to invoke when the method is called that receives the original arguments.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<typeparam name="T6">The type of the sixth argument of the invoked method.</typeparam>
<typeparam name="T7">The type of the seventh argument of the invoked method.</typeparam>
<typeparam name="T8">The type of the eighth argument of the invoked method.</typeparam>
<typeparam name="T9">The type of the nineth argument of the invoked method.</typeparam>
<typeparam name="T10">The type of the tenth argument of the invoked method.</typeparam>
<typeparam name="T11">The type of the eleventh argument of the invoked method.</typeparam>
<typeparam name="T12">The type of the twelfth argument of the invoked method.</typeparam>
<typeparam name="T13">The type of the thirteenth argument of the invoked method.</typeparam>
<param name="action">The callback method to invoke.</param>
<returns>A reference to <see cref="T:Moq.Language.Flow.ICallbackResult"/> interface.</returns>
<example>
Invokes the given callback with the concrete invocation arguments values.
<para>
Notice how the specific arguments are retrieved by simply declaring
them as part of the lambda expression for the callback:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>()))
.Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13));
</code>
</example>
</member>
<member name="M:Moq.Language.ICallback.Callback``14(System.Action{``0,``1,``2,``3,``4,``5,``6,``7,``8,``9,``10,``11,``12,``13})">
<summary>
Specifies a callback to invoke when the method is called that receives the original arguments.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<typeparam name="T6">The type of the sixth argument of the invoked method.</typeparam>
<typeparam name="T7">The type of the seventh argument of the invoked method.</typeparam>
<typeparam name="T8">The type of the eighth argument of the invoked method.</typeparam>
<typeparam name="T9">The type of the nineth argument of the invoked method.</typeparam>
<typeparam name="T10">The type of the tenth argument of the invoked method.</typeparam>
<typeparam name="T11">The type of the eleventh argument of the invoked method.</typeparam>
<typeparam name="T12">The type of the twelfth argument of the invoked method.</typeparam>
<typeparam name="T13">The type of the thirteenth argument of the invoked method.</typeparam>
<typeparam name="T14">The type of the fourteenth argument of the invoked method.</typeparam>
<param name="action">The callback method to invoke.</param>
<returns>A reference to <see cref="T:Moq.Language.Flow.ICallbackResult"/> interface.</returns>
<example>
Invokes the given callback with the concrete invocation arguments values.
<para>
Notice how the specific arguments are retrieved by simply declaring
them as part of the lambda expression for the callback:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>()))
.Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13, string arg14) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14));
</code>
</example>
</member>
<member name="M:Moq.Language.ICallback.Callback``15(System.Action{``0,``1,``2,``3,``4,``5,``6,``7,``8,``9,``10,``11,``12,``13,``14})">
<summary>
Specifies a callback to invoke when the method is called that receives the original arguments.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<typeparam name="T6">The type of the sixth argument of the invoked method.</typeparam>
<typeparam name="T7">The type of the seventh argument of the invoked method.</typeparam>
<typeparam name="T8">The type of the eighth argument of the invoked method.</typeparam>
<typeparam name="T9">The type of the nineth argument of the invoked method.</typeparam>
<typeparam name="T10">The type of the tenth argument of the invoked method.</typeparam>
<typeparam name="T11">The type of the eleventh argument of the invoked method.</typeparam>
<typeparam name="T12">The type of the twelfth argument of the invoked method.</typeparam>
<typeparam name="T13">The type of the thirteenth argument of the invoked method.</typeparam>
<typeparam name="T14">The type of the fourteenth argument of the invoked method.</typeparam>
<typeparam name="T15">The type of the fifteenth argument of the invoked method.</typeparam>
<param name="action">The callback method to invoke.</param>
<returns>A reference to <see cref="T:Moq.Language.Flow.ICallbackResult"/> interface.</returns>
<example>
Invokes the given callback with the concrete invocation arguments values.
<para>
Notice how the specific arguments are retrieved by simply declaring
them as part of the lambda expression for the callback:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>()))
.Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13, string arg14, string arg15) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15));
</code>
</example>
</member>
<member name="M:Moq.Language.ICallback.Callback``16(System.Action{``0,``1,``2,``3,``4,``5,``6,``7,``8,``9,``10,``11,``12,``13,``14,``15})">
<summary>
Specifies a callback to invoke when the method is called that receives the original arguments.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<typeparam name="T6">The type of the sixth argument of the invoked method.</typeparam>
<typeparam name="T7">The type of the seventh argument of the invoked method.</typeparam>
<typeparam name="T8">The type of the eighth argument of the invoked method.</typeparam>
<typeparam name="T9">The type of the nineth argument of the invoked method.</typeparam>
<typeparam name="T10">The type of the tenth argument of the invoked method.</typeparam>
<typeparam name="T11">The type of the eleventh argument of the invoked method.</typeparam>
<typeparam name="T12">The type of the twelfth argument of the invoked method.</typeparam>
<typeparam name="T13">The type of the thirteenth argument of the invoked method.</typeparam>
<typeparam name="T14">The type of the fourteenth argument of the invoked method.</typeparam>
<typeparam name="T15">The type of the fifteenth argument of the invoked method.</typeparam>
<typeparam name="T16">The type of the sixteenth argument of the invoked method.</typeparam>
<param name="action">The callback method to invoke.</param>
<returns>A reference to <see cref="T:Moq.Language.Flow.ICallbackResult"/> interface.</returns>
<example>
Invokes the given callback with the concrete invocation arguments values.
<para>
Notice how the specific arguments are retrieved by simply declaring
them as part of the lambda expression for the callback:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>()))
.Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13, string arg14, string arg15, string arg16) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15 + arg16));
</code>
</example>
</member>
<member name="T:Moq.Language.ICallback`2">
<summary>
Defines the <c>Callback</c> verb and overloads for callbacks on
setups that return a value.
</summary>
<typeparam name="TMock">Mocked type.</typeparam>
<typeparam name="TResult">Type of the return value of the setup.</typeparam>
</member>
<member name="M:Moq.Language.ICallback`2.Callback(System.Action)">
<summary>
Specifies a callback to invoke when the method is called.
</summary>
<param name="action">The callback method to invoke.</param>
<example>
The following example specifies a callback to set a boolean value that can be used later:
<code>
var called = false;
mock.Setup(x => x.Execute())
.Callback(() => called = true)
.Returns(true);
</code>
Note that in the case of value-returning methods, after the <c>Callback</c>
call you can still specify the return value.
</example>
</member>
<member name="M:Moq.Language.ICallback`2.Callback``1(System.Action{``0})">
<summary>
Specifies a callback to invoke when the method is called that receives the original arguments.
</summary>
<typeparam name="T">The type of the argument of the invoked method.</typeparam>
<param name="action">Callback method to invoke.</param>
<example>
Invokes the given callback with the concrete invocation argument value.
<para>
Notice how the specific string argument is retrieved by simply declaring
it as part of the lambda expression for the callback:
</para>
<code>
mock.Setup(x => x.Execute(It.IsAny<string>()))
.Callback(command => Console.WriteLine(command))
.Returns(true);
</code>
</example>
</member>
<member name="M:Moq.Language.ICallback`2.Callback``2(System.Action{``0,``1})">
<summary>
Specifies a callback to invoke when the method is called that receives the original
arguments.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<param name="action">The callback method to invoke.</param>
<returns>A reference to <see cref="T:Moq.Language.Flow.IReturnsThrows`2"/> interface.</returns>
<example>
Invokes the given callback with the concrete invocation arguments values.
<para>
Notice how the specific arguments are retrieved by simply declaring
them as part of the lambda expression for the callback:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<string>(),
It.IsAny<string>()))
.Callback((arg1, arg2) => Console.WriteLine(arg1 + arg2));
</code>
</example>
</member>
<member name="M:Moq.Language.ICallback`2.Callback``3(System.Action{``0,``1,``2})">
<summary>
Specifies a callback to invoke when the method is called that receives the original
arguments.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<param name="action">The callback method to invoke.</param>
<returns>A reference to <see cref="T:Moq.Language.Flow.IReturnsThrows`2"/> interface.</returns>
<example>
Invokes the given callback with the concrete invocation arguments values.
<para>
Notice how the specific arguments are retrieved by simply declaring
them as part of the lambda expression for the callback:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>()))
.Callback((arg1, arg2, arg3) => Console.WriteLine(arg1 + arg2 + arg3));
</code>
</example>
</member>
<member name="M:Moq.Language.ICallback`2.Callback``4(System.Action{``0,``1,``2,``3})">
<summary>
Specifies a callback to invoke when the method is called that receives the original
arguments.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<param name="action">The callback method to invoke.</param>
<returns>A reference to <see cref="T:Moq.Language.Flow.IReturnsThrows`2"/> interface.</returns>
<example>
Invokes the given callback with the concrete invocation arguments values.
<para>
Notice how the specific arguments are retrieved by simply declaring
them as part of the lambda expression for the callback:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>()))
.Callback((arg1, arg2, arg3, arg4) => Console.WriteLine(arg1 + arg2 + arg3 + arg4));
</code>
</example>
</member>
<member name="M:Moq.Language.ICallback`2.Callback``5(System.Action{``0,``1,``2,``3,``4})">
<summary>
Specifies a callback to invoke when the method is called that receives the original
arguments.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<param name="action">The callback method to invoke.</param>
<returns>A reference to <see cref="T:Moq.Language.Flow.IReturnsThrows`2"/> interface.</returns>
<example>
Invokes the given callback with the concrete invocation arguments values.
<para>
Notice how the specific arguments are retrieved by simply declaring
them as part of the lambda expression for the callback:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>()))
.Callback((arg1, arg2, arg3, arg4, arg5) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5));
</code>
</example>
</member>
<member name="M:Moq.Language.ICallback`2.Callback``6(System.Action{``0,``1,``2,``3,``4,``5})">
<summary>
Specifies a callback to invoke when the method is called that receives the original
arguments.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<typeparam name="T6">The type of the sixth argument of the invoked method.</typeparam>
<param name="action">The callback method to invoke.</param>
<returns>A reference to <see cref="T:Moq.Language.Flow.IReturnsThrows`2"/> interface.</returns>
<example>
Invokes the given callback with the concrete invocation arguments values.
<para>
Notice how the specific arguments are retrieved by simply declaring
them as part of the lambda expression for the callback:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>()))
.Callback((arg1, arg2, arg3, arg4, arg5, arg6) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6));
</code>
</example>
</member>
<member name="M:Moq.Language.ICallback`2.Callback``7(System.Action{``0,``1,``2,``3,``4,``5,``6})">
<summary>
Specifies a callback to invoke when the method is called that receives the original
arguments.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<typeparam name="T6">The type of the sixth argument of the invoked method.</typeparam>
<typeparam name="T7">The type of the seventh argument of the invoked method.</typeparam>
<param name="action">The callback method to invoke.</param>
<returns>A reference to <see cref="T:Moq.Language.Flow.IReturnsThrows`2"/> interface.</returns>
<example>
Invokes the given callback with the concrete invocation arguments values.
<para>
Notice how the specific arguments are retrieved by simply declaring
them as part of the lambda expression for the callback:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>()))
.Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7));
</code>
</example>
</member>
<member name="M:Moq.Language.ICallback`2.Callback``8(System.Action{``0,``1,``2,``3,``4,``5,``6,``7})">
<summary>
Specifies a callback to invoke when the method is called that receives the original
arguments.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<typeparam name="T6">The type of the sixth argument of the invoked method.</typeparam>
<typeparam name="T7">The type of the seventh argument of the invoked method.</typeparam>
<typeparam name="T8">The type of the eighth argument of the invoked method.</typeparam>
<param name="action">The callback method to invoke.</param>
<returns>A reference to <see cref="T:Moq.Language.Flow.IReturnsThrows`2"/> interface.</returns>
<example>
Invokes the given callback with the concrete invocation arguments values.
<para>
Notice how the specific arguments are retrieved by simply declaring
them as part of the lambda expression for the callback:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>()))
.Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8));
</code>
</example>
</member>
<member name="M:Moq.Language.ICallback`2.Callback``9(System.Action{``0,``1,``2,``3,``4,``5,``6,``7,``8})">
<summary>
Specifies a callback to invoke when the method is called that receives the original
arguments.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<typeparam name="T6">The type of the sixth argument of the invoked method.</typeparam>
<typeparam name="T7">The type of the seventh argument of the invoked method.</typeparam>
<typeparam name="T8">The type of the eighth argument of the invoked method.</typeparam>
<typeparam name="T9">The type of the nineth argument of the invoked method.</typeparam>
<param name="action">The callback method to invoke.</param>
<returns>A reference to <see cref="T:Moq.Language.Flow.IReturnsThrows`2"/> interface.</returns>
<example>
Invokes the given callback with the concrete invocation arguments values.
<para>
Notice how the specific arguments are retrieved by simply declaring
them as part of the lambda expression for the callback:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>()))
.Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9));
</code>
</example>
</member>
<member name="M:Moq.Language.ICallback`2.Callback``10(System.Action{``0,``1,``2,``3,``4,``5,``6,``7,``8,``9})">
<summary>
Specifies a callback to invoke when the method is called that receives the original
arguments.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<typeparam name="T6">The type of the sixth argument of the invoked method.</typeparam>
<typeparam name="T7">The type of the seventh argument of the invoked method.</typeparam>
<typeparam name="T8">The type of the eighth argument of the invoked method.</typeparam>
<typeparam name="T9">The type of the nineth argument of the invoked method.</typeparam>
<typeparam name="T10">The type of the tenth argument of the invoked method.</typeparam>
<param name="action">The callback method to invoke.</param>
<returns>A reference to <see cref="T:Moq.Language.Flow.IReturnsThrows`2"/> interface.</returns>
<example>
Invokes the given callback with the concrete invocation arguments values.
<para>
Notice how the specific arguments are retrieved by simply declaring
them as part of the lambda expression for the callback:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>()))
.Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10));
</code>
</example>
</member>
<member name="M:Moq.Language.ICallback`2.Callback``11(System.Action{``0,``1,``2,``3,``4,``5,``6,``7,``8,``9,``10})">
<summary>
Specifies a callback to invoke when the method is called that receives the original
arguments.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<typeparam name="T6">The type of the sixth argument of the invoked method.</typeparam>
<typeparam name="T7">The type of the seventh argument of the invoked method.</typeparam>
<typeparam name="T8">The type of the eighth argument of the invoked method.</typeparam>
<typeparam name="T9">The type of the nineth argument of the invoked method.</typeparam>
<typeparam name="T10">The type of the tenth argument of the invoked method.</typeparam>
<typeparam name="T11">The type of the eleventh argument of the invoked method.</typeparam>
<param name="action">The callback method to invoke.</param>
<returns>A reference to <see cref="T:Moq.Language.Flow.IReturnsThrows`2"/> interface.</returns>
<example>
Invokes the given callback with the concrete invocation arguments values.
<para>
Notice how the specific arguments are retrieved by simply declaring
them as part of the lambda expression for the callback:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>()))
.Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11));
</code>
</example>
</member>
<member name="M:Moq.Language.ICallback`2.Callback``12(System.Action{``0,``1,``2,``3,``4,``5,``6,``7,``8,``9,``10,``11})">
<summary>
Specifies a callback to invoke when the method is called that receives the original
arguments.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<typeparam name="T6">The type of the sixth argument of the invoked method.</typeparam>
<typeparam name="T7">The type of the seventh argument of the invoked method.</typeparam>
<typeparam name="T8">The type of the eighth argument of the invoked method.</typeparam>
<typeparam name="T9">The type of the nineth argument of the invoked method.</typeparam>
<typeparam name="T10">The type of the tenth argument of the invoked method.</typeparam>
<typeparam name="T11">The type of the eleventh argument of the invoked method.</typeparam>
<typeparam name="T12">The type of the twelfth argument of the invoked method.</typeparam>
<param name="action">The callback method to invoke.</param>
<returns>A reference to <see cref="T:Moq.Language.Flow.IReturnsThrows`2"/> interface.</returns>
<example>
Invokes the given callback with the concrete invocation arguments values.
<para>
Notice how the specific arguments are retrieved by simply declaring
them as part of the lambda expression for the callback:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>()))
.Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12));
</code>
</example>
</member>
<member name="M:Moq.Language.ICallback`2.Callback``13(System.Action{``0,``1,``2,``3,``4,``5,``6,``7,``8,``9,``10,``11,``12})">
<summary>
Specifies a callback to invoke when the method is called that receives the original
arguments.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<typeparam name="T6">The type of the sixth argument of the invoked method.</typeparam>
<typeparam name="T7">The type of the seventh argument of the invoked method.</typeparam>
<typeparam name="T8">The type of the eighth argument of the invoked method.</typeparam>
<typeparam name="T9">The type of the nineth argument of the invoked method.</typeparam>
<typeparam name="T10">The type of the tenth argument of the invoked method.</typeparam>
<typeparam name="T11">The type of the eleventh argument of the invoked method.</typeparam>
<typeparam name="T12">The type of the twelfth argument of the invoked method.</typeparam>
<typeparam name="T13">The type of the thirteenth argument of the invoked method.</typeparam>
<param name="action">The callback method to invoke.</param>
<returns>A reference to <see cref="T:Moq.Language.Flow.IReturnsThrows`2"/> interface.</returns>
<example>
Invokes the given callback with the concrete invocation arguments values.
<para>
Notice how the specific arguments are retrieved by simply declaring
them as part of the lambda expression for the callback:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>()))
.Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13));
</code>
</example>
</member>
<member name="M:Moq.Language.ICallback`2.Callback``14(System.Action{``0,``1,``2,``3,``4,``5,``6,``7,``8,``9,``10,``11,``12,``13})">
<summary>
Specifies a callback to invoke when the method is called that receives the original
arguments.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<typeparam name="T6">The type of the sixth argument of the invoked method.</typeparam>
<typeparam name="T7">The type of the seventh argument of the invoked method.</typeparam>
<typeparam name="T8">The type of the eighth argument of the invoked method.</typeparam>
<typeparam name="T9">The type of the nineth argument of the invoked method.</typeparam>
<typeparam name="T10">The type of the tenth argument of the invoked method.</typeparam>
<typeparam name="T11">The type of the eleventh argument of the invoked method.</typeparam>
<typeparam name="T12">The type of the twelfth argument of the invoked method.</typeparam>
<typeparam name="T13">The type of the thirteenth argument of the invoked method.</typeparam>
<typeparam name="T14">The type of the fourteenth argument of the invoked method.</typeparam>
<param name="action">The callback method to invoke.</param>
<returns>A reference to <see cref="T:Moq.Language.Flow.IReturnsThrows`2"/> interface.</returns>
<example>
Invokes the given callback with the concrete invocation arguments values.
<para>
Notice how the specific arguments are retrieved by simply declaring
them as part of the lambda expression for the callback:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>()))
.Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14));
</code>
</example>
</member>
<member name="M:Moq.Language.ICallback`2.Callback``15(System.Action{``0,``1,``2,``3,``4,``5,``6,``7,``8,``9,``10,``11,``12,``13,``14})">
<summary>
Specifies a callback to invoke when the method is called that receives the original
arguments.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<typeparam name="T6">The type of the sixth argument of the invoked method.</typeparam>
<typeparam name="T7">The type of the seventh argument of the invoked method.</typeparam>
<typeparam name="T8">The type of the eighth argument of the invoked method.</typeparam>
<typeparam name="T9">The type of the nineth argument of the invoked method.</typeparam>
<typeparam name="T10">The type of the tenth argument of the invoked method.</typeparam>
<typeparam name="T11">The type of the eleventh argument of the invoked method.</typeparam>
<typeparam name="T12">The type of the twelfth argument of the invoked method.</typeparam>
<typeparam name="T13">The type of the thirteenth argument of the invoked method.</typeparam>
<typeparam name="T14">The type of the fourteenth argument of the invoked method.</typeparam>
<typeparam name="T15">The type of the fifteenth argument of the invoked method.</typeparam>
<param name="action">The callback method to invoke.</param>
<returns>A reference to <see cref="T:Moq.Language.Flow.IReturnsThrows`2"/> interface.</returns>
<example>
Invokes the given callback with the concrete invocation arguments values.
<para>
Notice how the specific arguments are retrieved by simply declaring
them as part of the lambda expression for the callback:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>()))
.Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15));
</code>
</example>
</member>
<member name="M:Moq.Language.ICallback`2.Callback``16(System.Action{``0,``1,``2,``3,``4,``5,``6,``7,``8,``9,``10,``11,``12,``13,``14,``15})">
<summary>
Specifies a callback to invoke when the method is called that receives the original
arguments.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<typeparam name="T6">The type of the sixth argument of the invoked method.</typeparam>
<typeparam name="T7">The type of the seventh argument of the invoked method.</typeparam>
<typeparam name="T8">The type of the eighth argument of the invoked method.</typeparam>
<typeparam name="T9">The type of the nineth argument of the invoked method.</typeparam>
<typeparam name="T10">The type of the tenth argument of the invoked method.</typeparam>
<typeparam name="T11">The type of the eleventh argument of the invoked method.</typeparam>
<typeparam name="T12">The type of the twelfth argument of the invoked method.</typeparam>
<typeparam name="T13">The type of the thirteenth argument of the invoked method.</typeparam>
<typeparam name="T14">The type of the fourteenth argument of the invoked method.</typeparam>
<typeparam name="T15">The type of the fifteenth argument of the invoked method.</typeparam>
<typeparam name="T16">The type of the sixteenth argument of the invoked method.</typeparam>
<param name="action">The callback method to invoke.</param>
<returns>A reference to <see cref="T:Moq.Language.Flow.IReturnsThrows`2"/> interface.</returns>
<example>
Invokes the given callback with the concrete invocation arguments values.
<para>
Notice how the specific arguments are retrieved by simply declaring
them as part of the lambda expression for the callback:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>(),
It.IsAny<string>()))
.Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15 + arg16));
</code>
</example>
</member>
<member name="T:Moq.Language.IRaise`1">
<summary>
Defines the <c>Raises</c> verb.
</summary>
</member>
<member name="M:Moq.Language.IRaise`1.Raises(System.Action{`0},System.EventArgs)">
<summary>
Specifies the event that will be raised
when the setup is met.
</summary>
<param name="eventExpression">An expression that represents an event attach or detach action.</param>
<param name="args">The event arguments to pass for the raised event.</param>
<example>
The following example shows how to raise an event when
the setup is met:
<code>
var mock = new Mock<IContainer>();
mock.Setup(add => add.Add(It.IsAny<string>(), It.IsAny<object>()))
.Raises(add => add.Added += null, EventArgs.Empty);
</code>
</example>
</member>
<member name="M:Moq.Language.IRaise`1.Raises(System.Action{`0},System.Func{System.EventArgs})">
<summary>
Specifies the event that will be raised
when the setup is matched.
</summary>
<param name="eventExpression">An expression that represents an event attach or detach action.</param>
<param name="func">A function that will build the <see cref="T:System.EventArgs"/>
to pass when raising the event.</param>
<seealso cref="M:Moq.Language.IRaise`1.Raises(System.Action{`0},System.EventArgs)"/>
</member>
<member name="M:Moq.Language.IRaise`1.Raises(System.Action{`0},System.Object[])">
<summary>
Specifies the custom event that will be raised
when the setup is matched.
</summary>
<param name="eventExpression">An expression that represents an event attach or detach action.</param>
<param name="args">The arguments to pass to the custom delegate (non EventHandler-compatible).</param>
</member>
<member name="M:Moq.Language.IRaise`1.Raises``1(System.Action{`0},System.Func{``0,System.EventArgs})">
<summary>
Specifies the event that will be raised when the setup is matched.
</summary>
<param name="eventExpression">The expression that represents an event attach or detach action.</param>
<param name="func">The function that will build the <see cref="T:System.EventArgs"/>
to pass when raising the event.</param>
<typeparam name="T1">The type of the first argument received by the expected invocation.</typeparam>
<seealso cref="M:Moq.Language.IRaise`1.Raises(System.Action{`0},System.EventArgs)"/>
</member>
<member name="M:Moq.Language.IRaise`1.Raises``2(System.Action{`0},System.Func{``0,``1,System.EventArgs})">
<summary>
Specifies the event that will be raised when the setup is matched.
</summary>
<param name="eventExpression">The expression that represents an event attach or detach action.</param>
<param name="func">The function that will build the <see cref="T:System.EventArgs"/>
to pass when raising the event.</param>
<typeparam name="T1">The type of the first argument received by the expected invocation.</typeparam>
<typeparam name="T2">The type of the second argument received by the expected invocation.</typeparam>
<seealso cref="M:Moq.Language.IRaise`1.Raises(System.Action{`0},System.EventArgs)"/>
</member>
<member name="M:Moq.Language.IRaise`1.Raises``3(System.Action{`0},System.Func{``0,``1,``2,System.EventArgs})">
<summary>
Specifies the event that will be raised when the setup is matched.
</summary>
<param name="eventExpression">The expression that represents an event attach or detach action.</param>
<param name="func">The function that will build the <see cref="T:System.EventArgs"/>
to pass when raising the event.</param>
<typeparam name="T1">The type of the first argument received by the expected invocation.</typeparam>
<typeparam name="T2">The type of the second argument received by the expected invocation.</typeparam>
<typeparam name="T3">The type of the third argument received by the expected invocation.</typeparam>
<seealso cref="M:Moq.Language.IRaise`1.Raises(System.Action{`0},System.EventArgs)"/>
</member>
<member name="M:Moq.Language.IRaise`1.Raises``4(System.Action{`0},System.Func{``0,``1,``2,``3,System.EventArgs})">
<summary>
Specifies the event that will be raised when the setup is matched.
</summary>
<param name="eventExpression">The expression that represents an event attach or detach action.</param>
<param name="func">The function that will build the <see cref="T:System.EventArgs"/>
to pass when raising the event.</param>
<typeparam name="T1">The type of the first argument received by the expected invocation.</typeparam>
<typeparam name="T2">The type of the second argument received by the expected invocation.</typeparam>
<typeparam name="T3">The type of the third argument received by the expected invocation.</typeparam>
<typeparam name="T4">The type of the fourth argument received by the expected invocation.</typeparam>
<seealso cref="M:Moq.Language.IRaise`1.Raises(System.Action{`0},System.EventArgs)"/>
</member>
<member name="M:Moq.Language.IRaise`1.Raises``5(System.Action{`0},System.Func{``0,``1,``2,``3,``4,System.EventArgs})">
<summary>
Specifies the event that will be raised when the setup is matched.
</summary>
<param name="eventExpression">The expression that represents an event attach or detach action.</param>
<param name="func">The function that will build the <see cref="T:System.EventArgs"/>
to pass when raising the event.</param>
<typeparam name="T1">The type of the first argument received by the expected invocation.</typeparam>
<typeparam name="T2">The type of the second argument received by the expected invocation.</typeparam>
<typeparam name="T3">The type of the third argument received by the expected invocation.</typeparam>
<typeparam name="T4">The type of the fourth argument received by the expected invocation.</typeparam>
<typeparam name="T5">The type of the fifth argument received by the expected invocation.</typeparam>
<seealso cref="M:Moq.Language.IRaise`1.Raises(System.Action{`0},System.EventArgs)"/>
</member>
<member name="M:Moq.Language.IRaise`1.Raises``6(System.Action{`0},System.Func{``0,``1,``2,``3,``4,``5,System.EventArgs})">
<summary>
Specifies the event that will be raised when the setup is matched.
</summary>
<param name="eventExpression">The expression that represents an event attach or detach action.</param>
<param name="func">The function that will build the <see cref="T:System.EventArgs"/>
to pass when raising the event.</param>
<typeparam name="T1">The type of the first argument received by the expected invocation.</typeparam>
<typeparam name="T2">The type of the second argument received by the expected invocation.</typeparam>
<typeparam name="T3">The type of the third argument received by the expected invocation.</typeparam>
<typeparam name="T4">The type of the fourth argument received by the expected invocation.</typeparam>
<typeparam name="T5">The type of the fifth argument received by the expected invocation.</typeparam>
<typeparam name="T6">The type of the sixth argument received by the expected invocation.</typeparam>
<seealso cref="M:Moq.Language.IRaise`1.Raises(System.Action{`0},System.EventArgs)"/>
</member>
<member name="M:Moq.Language.IRaise`1.Raises``7(System.Action{`0},System.Func{``0,``1,``2,``3,``4,``5,``6,System.EventArgs})">
<summary>
Specifies the event that will be raised when the setup is matched.
</summary>
<param name="eventExpression">The expression that represents an event attach or detach action.</param>
<param name="func">The function that will build the <see cref="T:System.EventArgs"/>
to pass when raising the event.</param>
<typeparam name="T1">The type of the first argument received by the expected invocation.</typeparam>
<typeparam name="T2">The type of the second argument received by the expected invocation.</typeparam>
<typeparam name="T3">The type of the third argument received by the expected invocation.</typeparam>
<typeparam name="T4">The type of the fourth argument received by the expected invocation.</typeparam>
<typeparam name="T5">The type of the fifth argument received by the expected invocation.</typeparam>
<typeparam name="T6">The type of the sixth argument received by the expected invocation.</typeparam>
<typeparam name="T7">The type of the seventh argument received by the expected invocation.</typeparam>
<seealso cref="M:Moq.Language.IRaise`1.Raises(System.Action{`0},System.EventArgs)"/>
</member>
<member name="M:Moq.Language.IRaise`1.Raises``8(System.Action{`0},System.Func{``0,``1,``2,``3,``4,``5,``6,``7,System.EventArgs})">
<summary>
Specifies the event that will be raised when the setup is matched.
</summary>
<param name="eventExpression">The expression that represents an event attach or detach action.</param>
<param name="func">The function that will build the <see cref="T:System.EventArgs"/>
to pass when raising the event.</param>
<typeparam name="T1">The type of the first argument received by the expected invocation.</typeparam>
<typeparam name="T2">The type of the second argument received by the expected invocation.</typeparam>
<typeparam name="T3">The type of the third argument received by the expected invocation.</typeparam>
<typeparam name="T4">The type of the fourth argument received by the expected invocation.</typeparam>
<typeparam name="T5">The type of the fifth argument received by the expected invocation.</typeparam>
<typeparam name="T6">The type of the sixth argument received by the expected invocation.</typeparam>
<typeparam name="T7">The type of the seventh argument received by the expected invocation.</typeparam>
<typeparam name="T8">The type of the eighth argument received by the expected invocation.</typeparam>
<seealso cref="M:Moq.Language.IRaise`1.Raises(System.Action{`0},System.EventArgs)"/>
</member>
<member name="M:Moq.Language.IRaise`1.Raises``9(System.Action{`0},System.Func{``0,``1,``2,``3,``4,``5,``6,``7,``8,System.EventArgs})">
<summary>
Specifies the event that will be raised when the setup is matched.
</summary>
<param name="eventExpression">The expression that represents an event attach or detach action.</param>
<param name="func">The function that will build the <see cref="T:System.EventArgs"/>
to pass when raising the event.</param>
<typeparam name="T1">The type of the first argument received by the expected invocation.</typeparam>
<typeparam name="T2">The type of the second argument received by the expected invocation.</typeparam>
<typeparam name="T3">The type of the third argument received by the expected invocation.</typeparam>
<typeparam name="T4">The type of the fourth argument received by the expected invocation.</typeparam>
<typeparam name="T5">The type of the fifth argument received by the expected invocation.</typeparam>
<typeparam name="T6">The type of the sixth argument received by the expected invocation.</typeparam>
<typeparam name="T7">The type of the seventh argument received by the expected invocation.</typeparam>
<typeparam name="T8">The type of the eighth argument received by the expected invocation.</typeparam>
<typeparam name="T9">The type of the nineth argument received by the expected invocation.</typeparam>
<seealso cref="M:Moq.Language.IRaise`1.Raises(System.Action{`0},System.EventArgs)"/>
</member>
<member name="M:Moq.Language.IRaise`1.Raises``10(System.Action{`0},System.Func{``0,``1,``2,``3,``4,``5,``6,``7,``8,``9,System.EventArgs})">
<summary>
Specifies the event that will be raised when the setup is matched.
</summary>
<param name="eventExpression">The expression that represents an event attach or detach action.</param>
<param name="func">The function that will build the <see cref="T:System.EventArgs"/>
to pass when raising the event.</param>
<typeparam name="T1">The type of the first argument received by the expected invocation.</typeparam>
<typeparam name="T2">The type of the second argument received by the expected invocation.</typeparam>
<typeparam name="T3">The type of the third argument received by the expected invocation.</typeparam>
<typeparam name="T4">The type of the fourth argument received by the expected invocation.</typeparam>
<typeparam name="T5">The type of the fifth argument received by the expected invocation.</typeparam>
<typeparam name="T6">The type of the sixth argument received by the expected invocation.</typeparam>
<typeparam name="T7">The type of the seventh argument received by the expected invocation.</typeparam>
<typeparam name="T8">The type of the eighth argument received by the expected invocation.</typeparam>
<typeparam name="T9">The type of the nineth argument received by the expected invocation.</typeparam>
<typeparam name="T10">The type of the tenth argument received by the expected invocation.</typeparam>
<seealso cref="M:Moq.Language.IRaise`1.Raises(System.Action{`0},System.EventArgs)"/>
</member>
<member name="M:Moq.Language.IRaise`1.Raises``11(System.Action{`0},System.Func{``0,``1,``2,``3,``4,``5,``6,``7,``8,``9,``10,System.EventArgs})">
<summary>
Specifies the event that will be raised when the setup is matched.
</summary>
<param name="eventExpression">The expression that represents an event attach or detach action.</param>
<param name="func">The function that will build the <see cref="T:System.EventArgs"/>
to pass when raising the event.</param>
<typeparam name="T1">The type of the first argument received by the expected invocation.</typeparam>
<typeparam name="T2">The type of the second argument received by the expected invocation.</typeparam>
<typeparam name="T3">The type of the third argument received by the expected invocation.</typeparam>
<typeparam name="T4">The type of the fourth argument received by the expected invocation.</typeparam>
<typeparam name="T5">The type of the fifth argument received by the expected invocation.</typeparam>
<typeparam name="T6">The type of the sixth argument received by the expected invocation.</typeparam>
<typeparam name="T7">The type of the seventh argument received by the expected invocation.</typeparam>
<typeparam name="T8">The type of the eighth argument received by the expected invocation.</typeparam>
<typeparam name="T9">The type of the nineth argument received by the expected invocation.</typeparam>
<typeparam name="T10">The type of the tenth argument received by the expected invocation.</typeparam>
<typeparam name="T11">The type of the eleventh argument received by the expected invocation.</typeparam>
<seealso cref="M:Moq.Language.IRaise`1.Raises(System.Action{`0},System.EventArgs)"/>
</member>
<member name="M:Moq.Language.IRaise`1.Raises``12(System.Action{`0},System.Func{``0,``1,``2,``3,``4,``5,``6,``7,``8,``9,``10,``11,System.EventArgs})">
<summary>
Specifies the event that will be raised when the setup is matched.
</summary>
<param name="eventExpression">The expression that represents an event attach or detach action.</param>
<param name="func">The function that will build the <see cref="T:System.EventArgs"/>
to pass when raising the event.</param>
<typeparam name="T1">The type of the first argument received by the expected invocation.</typeparam>
<typeparam name="T2">The type of the second argument received by the expected invocation.</typeparam>
<typeparam name="T3">The type of the third argument received by the expected invocation.</typeparam>
<typeparam name="T4">The type of the fourth argument received by the expected invocation.</typeparam>
<typeparam name="T5">The type of the fifth argument received by the expected invocation.</typeparam>
<typeparam name="T6">The type of the sixth argument received by the expected invocation.</typeparam>
<typeparam name="T7">The type of the seventh argument received by the expected invocation.</typeparam>
<typeparam name="T8">The type of the eighth argument received by the expected invocation.</typeparam>
<typeparam name="T9">The type of the nineth argument received by the expected invocation.</typeparam>
<typeparam name="T10">The type of the tenth argument received by the expected invocation.</typeparam>
<typeparam name="T11">The type of the eleventh argument received by the expected invocation.</typeparam>
<typeparam name="T12">The type of the twelfth argument received by the expected invocation.</typeparam>
<seealso cref="M:Moq.Language.IRaise`1.Raises(System.Action{`0},System.EventArgs)"/>
</member>
<member name="M:Moq.Language.IRaise`1.Raises``13(System.Action{`0},System.Func{``0,``1,``2,``3,``4,``5,``6,``7,``8,``9,``10,``11,``12,System.EventArgs})">
<summary>
Specifies the event that will be raised when the setup is matched.
</summary>
<param name="eventExpression">The expression that represents an event attach or detach action.</param>
<param name="func">The function that will build the <see cref="T:System.EventArgs"/>
to pass when raising the event.</param>
<typeparam name="T1">The type of the first argument received by the expected invocation.</typeparam>
<typeparam name="T2">The type of the second argument received by the expected invocation.</typeparam>
<typeparam name="T3">The type of the third argument received by the expected invocation.</typeparam>
<typeparam name="T4">The type of the fourth argument received by the expected invocation.</typeparam>
<typeparam name="T5">The type of the fifth argument received by the expected invocation.</typeparam>
<typeparam name="T6">The type of the sixth argument received by the expected invocation.</typeparam>
<typeparam name="T7">The type of the seventh argument received by the expected invocation.</typeparam>
<typeparam name="T8">The type of the eighth argument received by the expected invocation.</typeparam>
<typeparam name="T9">The type of the nineth argument received by the expected invocation.</typeparam>
<typeparam name="T10">The type of the tenth argument received by the expected invocation.</typeparam>
<typeparam name="T11">The type of the eleventh argument received by the expected invocation.</typeparam>
<typeparam name="T12">The type of the twelfth argument received by the expected invocation.</typeparam>
<typeparam name="T13">The type of the thirteenth argument received by the expected invocation.</typeparam>
<seealso cref="M:Moq.Language.IRaise`1.Raises(System.Action{`0},System.EventArgs)"/>
</member>
<member name="M:Moq.Language.IRaise`1.Raises``14(System.Action{`0},System.Func{``0,``1,``2,``3,``4,``5,``6,``7,``8,``9,``10,``11,``12,``13,System.EventArgs})">
<summary>
Specifies the event that will be raised when the setup is matched.
</summary>
<param name="eventExpression">The expression that represents an event attach or detach action.</param>
<param name="func">The function that will build the <see cref="T:System.EventArgs"/>
to pass when raising the event.</param>
<typeparam name="T1">The type of the first argument received by the expected invocation.</typeparam>
<typeparam name="T2">The type of the second argument received by the expected invocation.</typeparam>
<typeparam name="T3">The type of the third argument received by the expected invocation.</typeparam>
<typeparam name="T4">The type of the fourth argument received by the expected invocation.</typeparam>
<typeparam name="T5">The type of the fifth argument received by the expected invocation.</typeparam>
<typeparam name="T6">The type of the sixth argument received by the expected invocation.</typeparam>
<typeparam name="T7">The type of the seventh argument received by the expected invocation.</typeparam>
<typeparam name="T8">The type of the eighth argument received by the expected invocation.</typeparam>
<typeparam name="T9">The type of the nineth argument received by the expected invocation.</typeparam>
<typeparam name="T10">The type of the tenth argument received by the expected invocation.</typeparam>
<typeparam name="T11">The type of the eleventh argument received by the expected invocation.</typeparam>
<typeparam name="T12">The type of the twelfth argument received by the expected invocation.</typeparam>
<typeparam name="T13">The type of the thirteenth argument received by the expected invocation.</typeparam>
<typeparam name="T14">The type of the fourteenth argument received by the expected invocation.</typeparam>
<seealso cref="M:Moq.Language.IRaise`1.Raises(System.Action{`0},System.EventArgs)"/>
</member>
<member name="M:Moq.Language.IRaise`1.Raises``15(System.Action{`0},System.Func{``0,``1,``2,``3,``4,``5,``6,``7,``8,``9,``10,``11,``12,``13,``14,System.EventArgs})">
<summary>
Specifies the event that will be raised when the setup is matched.
</summary>
<param name="eventExpression">The expression that represents an event attach or detach action.</param>
<param name="func">The function that will build the <see cref="T:System.EventArgs"/>
to pass when raising the event.</param>
<typeparam name="T1">The type of the first argument received by the expected invocation.</typeparam>
<typeparam name="T2">The type of the second argument received by the expected invocation.</typeparam>
<typeparam name="T3">The type of the third argument received by the expected invocation.</typeparam>
<typeparam name="T4">The type of the fourth argument received by the expected invocation.</typeparam>
<typeparam name="T5">The type of the fifth argument received by the expected invocation.</typeparam>
<typeparam name="T6">The type of the sixth argument received by the expected invocation.</typeparam>
<typeparam name="T7">The type of the seventh argument received by the expected invocation.</typeparam>
<typeparam name="T8">The type of the eighth argument received by the expected invocation.</typeparam>
<typeparam name="T9">The type of the nineth argument received by the expected invocation.</typeparam>
<typeparam name="T10">The type of the tenth argument received by the expected invocation.</typeparam>
<typeparam name="T11">The type of the eleventh argument received by the expected invocation.</typeparam>
<typeparam name="T12">The type of the twelfth argument received by the expected invocation.</typeparam>
<typeparam name="T13">The type of the thirteenth argument received by the expected invocation.</typeparam>
<typeparam name="T14">The type of the fourteenth argument received by the expected invocation.</typeparam>
<typeparam name="T15">The type of the fifteenth argument received by the expected invocation.</typeparam>
<seealso cref="M:Moq.Language.IRaise`1.Raises(System.Action{`0},System.EventArgs)"/>
</member>
<member name="M:Moq.Language.IRaise`1.Raises``16(System.Action{`0},System.Func{``0,``1,``2,``3,``4,``5,``6,``7,``8,``9,``10,``11,``12,``13,``14,``15,System.EventArgs})">
<summary>
Specifies the event that will be raised when the setup is matched.
</summary>
<param name="eventExpression">The expression that represents an event attach or detach action.</param>
<param name="func">The function that will build the <see cref="T:System.EventArgs"/>
to pass when raising the event.</param>
<typeparam name="T1">The type of the first argument received by the expected invocation.</typeparam>
<typeparam name="T2">The type of the second argument received by the expected invocation.</typeparam>
<typeparam name="T3">The type of the third argument received by the expected invocation.</typeparam>
<typeparam name="T4">The type of the fourth argument received by the expected invocation.</typeparam>
<typeparam name="T5">The type of the fifth argument received by the expected invocation.</typeparam>
<typeparam name="T6">The type of the sixth argument received by the expected invocation.</typeparam>
<typeparam name="T7">The type of the seventh argument received by the expected invocation.</typeparam>
<typeparam name="T8">The type of the eighth argument received by the expected invocation.</typeparam>
<typeparam name="T9">The type of the nineth argument received by the expected invocation.</typeparam>
<typeparam name="T10">The type of the tenth argument received by the expected invocation.</typeparam>
<typeparam name="T11">The type of the eleventh argument received by the expected invocation.</typeparam>
<typeparam name="T12">The type of the twelfth argument received by the expected invocation.</typeparam>
<typeparam name="T13">The type of the thirteenth argument received by the expected invocation.</typeparam>
<typeparam name="T14">The type of the fourteenth argument received by the expected invocation.</typeparam>
<typeparam name="T15">The type of the fifteenth argument received by the expected invocation.</typeparam>
<typeparam name="T16">The type of the sixteenth argument received by the expected invocation.</typeparam>
<seealso cref="M:Moq.Language.IRaise`1.Raises(System.Action{`0},System.EventArgs)"/>
</member>
<member name="T:Moq.Language.IReturns`2">
<summary>
Defines the <c>Returns</c> verb.
</summary>
<typeparam name="TMock">Mocked type.</typeparam>
<typeparam name="TResult">Type of the return value from the expression.</typeparam>
</member>
<member name="M:Moq.Language.IReturns`2.Returns(`1)">
<summary>
Specifies the value to return.
</summary>
<param name="value">The value to return, or <see langword="null"/>.</param>
<example>
Return a <c>true</c> value from the method call:
<code>
mock.Setup(x => x.Execute("ping"))
.Returns(true);
</code>
</example>
</member>
<member name="M:Moq.Language.IReturns`2.Returns(System.Func{`1})">
<summary>
Specifies a function that will calculate the value to return from the method.
</summary>
<param name="valueFunction">The function that will calculate the return value.</param>
<example group="returns">
Return a calculated value when the method is called:
<code>
mock.Setup(x => x.Execute("ping"))
.Returns(() => returnValues[0]);
</code>
The lambda expression to retrieve the return value is lazy-executed,
meaning that its value may change depending on the moment the method
is executed and the value the <c>returnValues</c> array has at
that moment.
</example>
</member>
<member name="M:Moq.Language.IReturns`2.Returns``1(System.Func{``0,`1})">
<summary>
Specifies a function that will calculate the value to return from the method,
retrieving the arguments for the invocation.
</summary>
<typeparam name="T">The type of the argument of the invoked method.</typeparam>
<param name="valueFunction">The function that will calculate the return value.</param>
<example group="returns">
Return a calculated value which is evaluated lazily at the time of the invocation.
<para>
The lookup list can change between invocations and the setup
will return different values accordingly. Also, notice how the specific
string argument is retrieved by simply declaring it as part of the lambda
expression:
</para>
<code>
mock.Setup(x => x.Execute(It.IsAny<string>()))
.Returns((string command) => returnValues[command]);
</code>
</example>
</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,
retrieving the arguments for the invocation.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<param name="valueFunction">The function that will calculate the return value.</param>
<return>Returns a calculated value which is evaluated lazily at the time of the invocation.</return>
<example>
<para>
The return value is calculated from the value of the actual method invocation arguments.
Notice how the arguments are retrieved by simply declaring them as part of the lambda
expression:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<int>(),
It.IsAny<int>()))
.Returns((string arg1, string arg2) => arg1 + arg2);
</code>
</example>
</member>
<member name="M:Moq.Language.IReturns`2.Returns``3(System.Func{``0,``1,``2,`1})">
<summary>
Specifies a function that will calculate the value to return from the method,
retrieving the arguments for the invocation.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<param name="valueFunction">The function that will calculate the return value.</param>
<return>Returns a calculated value which is evaluated lazily at the time of the invocation.</return>
<example>
<para>
The return value is calculated from the value of the actual method invocation arguments.
Notice how the arguments are retrieved by simply declaring them as part of the lambda
expression:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>()))
.Returns((string arg1, string arg2, string arg3) => arg1 + arg2 + arg3);
</code>
</example>
</member>
<member name="M:Moq.Language.IReturns`2.Returns``4(System.Func{``0,``1,``2,``3,`1})">
<summary>
Specifies a function that will calculate the value to return from the method,
retrieving the arguments for the invocation.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<param name="valueFunction">The function that will calculate the return value.</param>
<return>Returns a calculated value which is evaluated lazily at the time of the invocation.</return>
<example>
<para>
The return value is calculated from the value of the actual method invocation arguments.
Notice how the arguments are retrieved by simply declaring them as part of the lambda
expression:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>()))
.Returns((string arg1, string arg2, string arg3, string arg4) => arg1 + arg2 + arg3 + arg4);
</code>
</example>
</member>
<member name="M:Moq.Language.IReturns`2.Returns``5(System.Func{``0,``1,``2,``3,``4,`1})">
<summary>
Specifies a function that will calculate the value to return from the method,
retrieving the arguments for the invocation.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<param name="valueFunction">The function that will calculate the return value.</param>
<return>Returns a calculated value which is evaluated lazily at the time of the invocation.</return>
<example>
<para>
The return value is calculated from the value of the actual method invocation arguments.
Notice how the arguments are retrieved by simply declaring them as part of the lambda
expression:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>()))
.Returns((string arg1, string arg2, string arg3, string arg4, string arg5) => arg1 + arg2 + arg3 + arg4 + arg5);
</code>
</example>
</member>
<member name="M:Moq.Language.IReturns`2.Returns``6(System.Func{``0,``1,``2,``3,``4,``5,`1})">
<summary>
Specifies a function that will calculate the value to return from the method,
retrieving the arguments for the invocation.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<typeparam name="T6">The type of the sixth argument of the invoked method.</typeparam>
<param name="valueFunction">The function that will calculate the return value.</param>
<return>Returns a calculated value which is evaluated lazily at the time of the invocation.</return>
<example>
<para>
The return value is calculated from the value of the actual method invocation arguments.
Notice how the arguments are retrieved by simply declaring them as part of the lambda
expression:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>()))
.Returns((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6);
</code>
</example>
</member>
<member name="M:Moq.Language.IReturns`2.Returns``7(System.Func{``0,``1,``2,``3,``4,``5,``6,`1})">
<summary>
Specifies a function that will calculate the value to return from the method,
retrieving the arguments for the invocation.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<typeparam name="T6">The type of the sixth argument of the invoked method.</typeparam>
<typeparam name="T7">The type of the seventh argument of the invoked method.</typeparam>
<param name="valueFunction">The function that will calculate the return value.</param>
<return>Returns a calculated value which is evaluated lazily at the time of the invocation.</return>
<example>
<para>
The return value is calculated from the value of the actual method invocation arguments.
Notice how the arguments are retrieved by simply declaring them as part of the lambda
expression:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>()))
.Returns((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7);
</code>
</example>
</member>
<member name="M:Moq.Language.IReturns`2.Returns``8(System.Func{``0,``1,``2,``3,``4,``5,``6,``7,`1})">
<summary>
Specifies a function that will calculate the value to return from the method,
retrieving the arguments for the invocation.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<typeparam name="T6">The type of the sixth argument of the invoked method.</typeparam>
<typeparam name="T7">The type of the seventh argument of the invoked method.</typeparam>
<typeparam name="T8">The type of the eighth argument of the invoked method.</typeparam>
<param name="valueFunction">The function that will calculate the return value.</param>
<return>Returns a calculated value which is evaluated lazily at the time of the invocation.</return>
<example>
<para>
The return value is calculated from the value of the actual method invocation arguments.
Notice how the arguments are retrieved by simply declaring them as part of the lambda
expression:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>()))
.Returns((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8);
</code>
</example>
</member>
<member name="M:Moq.Language.IReturns`2.Returns``9(System.Func{``0,``1,``2,``3,``4,``5,``6,``7,``8,`1})">
<summary>
Specifies a function that will calculate the value to return from the method,
retrieving the arguments for the invocation.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<typeparam name="T6">The type of the sixth argument of the invoked method.</typeparam>
<typeparam name="T7">The type of the seventh argument of the invoked method.</typeparam>
<typeparam name="T8">The type of the eighth argument of the invoked method.</typeparam>
<typeparam name="T9">The type of the nineth argument of the invoked method.</typeparam>
<param name="valueFunction">The function that will calculate the return value.</param>
<return>Returns a calculated value which is evaluated lazily at the time of the invocation.</return>
<example>
<para>
The return value is calculated from the value of the actual method invocation arguments.
Notice how the arguments are retrieved by simply declaring them as part of the lambda
expression:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>()))
.Returns((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9);
</code>
</example>
</member>
<member name="M:Moq.Language.IReturns`2.Returns``10(System.Func{``0,``1,``2,``3,``4,``5,``6,``7,``8,``9,`1})">
<summary>
Specifies a function that will calculate the value to return from the method,
retrieving the arguments for the invocation.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<typeparam name="T6">The type of the sixth argument of the invoked method.</typeparam>
<typeparam name="T7">The type of the seventh argument of the invoked method.</typeparam>
<typeparam name="T8">The type of the eighth argument of the invoked method.</typeparam>
<typeparam name="T9">The type of the nineth argument of the invoked method.</typeparam>
<typeparam name="T10">The type of the tenth argument of the invoked method.</typeparam>
<param name="valueFunction">The function that will calculate the return value.</param>
<return>Returns a calculated value which is evaluated lazily at the time of the invocation.</return>
<example>
<para>
The return value is calculated from the value of the actual method invocation arguments.
Notice how the arguments are retrieved by simply declaring them as part of the lambda
expression:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>()))
.Returns((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10);
</code>
</example>
</member>
<member name="M:Moq.Language.IReturns`2.Returns``11(System.Func{``0,``1,``2,``3,``4,``5,``6,``7,``8,``9,``10,`1})">
<summary>
Specifies a function that will calculate the value to return from the method,
retrieving the arguments for the invocation.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<typeparam name="T6">The type of the sixth argument of the invoked method.</typeparam>
<typeparam name="T7">The type of the seventh argument of the invoked method.</typeparam>
<typeparam name="T8">The type of the eighth argument of the invoked method.</typeparam>
<typeparam name="T9">The type of the nineth argument of the invoked method.</typeparam>
<typeparam name="T10">The type of the tenth argument of the invoked method.</typeparam>
<typeparam name="T11">The type of the eleventh argument of the invoked method.</typeparam>
<param name="valueFunction">The function that will calculate the return value.</param>
<return>Returns a calculated value which is evaluated lazily at the time of the invocation.</return>
<example>
<para>
The return value is calculated from the value of the actual method invocation arguments.
Notice how the arguments are retrieved by simply declaring them as part of the lambda
expression:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>()))
.Returns((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11);
</code>
</example>
</member>
<member name="M:Moq.Language.IReturns`2.Returns``12(System.Func{``0,``1,``2,``3,``4,``5,``6,``7,``8,``9,``10,``11,`1})">
<summary>
Specifies a function that will calculate the value to return from the method,
retrieving the arguments for the invocation.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<typeparam name="T6">The type of the sixth argument of the invoked method.</typeparam>
<typeparam name="T7">The type of the seventh argument of the invoked method.</typeparam>
<typeparam name="T8">The type of the eighth argument of the invoked method.</typeparam>
<typeparam name="T9">The type of the nineth argument of the invoked method.</typeparam>
<typeparam name="T10">The type of the tenth argument of the invoked method.</typeparam>
<typeparam name="T11">The type of the eleventh argument of the invoked method.</typeparam>
<typeparam name="T12">The type of the twelfth argument of the invoked method.</typeparam>
<param name="valueFunction">The function that will calculate the return value.</param>
<return>Returns a calculated value which is evaluated lazily at the time of the invocation.</return>
<example>
<para>
The return value is calculated from the value of the actual method invocation arguments.
Notice how the arguments are retrieved by simply declaring them as part of the lambda
expression:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>()))
.Returns((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12);
</code>
</example>
</member>
<member name="M:Moq.Language.IReturns`2.Returns``13(System.Func{``0,``1,``2,``3,``4,``5,``6,``7,``8,``9,``10,``11,``12,`1})">
<summary>
Specifies a function that will calculate the value to return from the method,
retrieving the arguments for the invocation.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<typeparam name="T6">The type of the sixth argument of the invoked method.</typeparam>
<typeparam name="T7">The type of the seventh argument of the invoked method.</typeparam>
<typeparam name="T8">The type of the eighth argument of the invoked method.</typeparam>
<typeparam name="T9">The type of the nineth argument of the invoked method.</typeparam>
<typeparam name="T10">The type of the tenth argument of the invoked method.</typeparam>
<typeparam name="T11">The type of the eleventh argument of the invoked method.</typeparam>
<typeparam name="T12">The type of the twelfth argument of the invoked method.</typeparam>
<typeparam name="T13">The type of the thirteenth argument of the invoked method.</typeparam>
<param name="valueFunction">The function that will calculate the return value.</param>
<return>Returns a calculated value which is evaluated lazily at the time of the invocation.</return>
<example>
<para>
The return value is calculated from the value of the actual method invocation arguments.
Notice how the arguments are retrieved by simply declaring them as part of the lambda
expression:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>()))
.Returns((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13);
</code>
</example>
</member>
<member name="M:Moq.Language.IReturns`2.Returns``14(System.Func{``0,``1,``2,``3,``4,``5,``6,``7,``8,``9,``10,``11,``12,``13,`1})">
<summary>
Specifies a function that will calculate the value to return from the method,
retrieving the arguments for the invocation.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<typeparam name="T6">The type of the sixth argument of the invoked method.</typeparam>
<typeparam name="T7">The type of the seventh argument of the invoked method.</typeparam>
<typeparam name="T8">The type of the eighth argument of the invoked method.</typeparam>
<typeparam name="T9">The type of the nineth argument of the invoked method.</typeparam>
<typeparam name="T10">The type of the tenth argument of the invoked method.</typeparam>
<typeparam name="T11">The type of the eleventh argument of the invoked method.</typeparam>
<typeparam name="T12">The type of the twelfth argument of the invoked method.</typeparam>
<typeparam name="T13">The type of the thirteenth argument of the invoked method.</typeparam>
<typeparam name="T14">The type of the fourteenth argument of the invoked method.</typeparam>
<param name="valueFunction">The function that will calculate the return value.</param>
<return>Returns a calculated value which is evaluated lazily at the time of the invocation.</return>
<example>
<para>
The return value is calculated from the value of the actual method invocation arguments.
Notice how the arguments are retrieved by simply declaring them as part of the lambda
expression:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>()))
.Returns((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13, string arg14) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14);
</code>
</example>
</member>
<member name="M:Moq.Language.IReturns`2.Returns``15(System.Func{``0,``1,``2,``3,``4,``5,``6,``7,``8,``9,``10,``11,``12,``13,``14,`1})">
<summary>
Specifies a function that will calculate the value to return from the method,
retrieving the arguments for the invocation.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<typeparam name="T6">The type of the sixth argument of the invoked method.</typeparam>
<typeparam name="T7">The type of the seventh argument of the invoked method.</typeparam>
<typeparam name="T8">The type of the eighth argument of the invoked method.</typeparam>
<typeparam name="T9">The type of the nineth argument of the invoked method.</typeparam>
<typeparam name="T10">The type of the tenth argument of the invoked method.</typeparam>
<typeparam name="T11">The type of the eleventh argument of the invoked method.</typeparam>
<typeparam name="T12">The type of the twelfth argument of the invoked method.</typeparam>
<typeparam name="T13">The type of the thirteenth argument of the invoked method.</typeparam>
<typeparam name="T14">The type of the fourteenth argument of the invoked method.</typeparam>
<typeparam name="T15">The type of the fifteenth argument of the invoked method.</typeparam>
<param name="valueFunction">The function that will calculate the return value.</param>
<return>Returns a calculated value which is evaluated lazily at the time of the invocation.</return>
<example>
<para>
The return value is calculated from the value of the actual method invocation arguments.
Notice how the arguments are retrieved by simply declaring them as part of the lambda
expression:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>()))
.Returns((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13, string arg14, string arg15) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15);
</code>
</example>
</member>
<member name="M:Moq.Language.IReturns`2.Returns``16(System.Func{``0,``1,``2,``3,``4,``5,``6,``7,``8,``9,``10,``11,``12,``13,``14,``15,`1})">
<summary>
Specifies a function that will calculate the value to return from the method,
retrieving the arguments for the invocation.
</summary>
<typeparam name="T1">The type of the first argument of the invoked method.</typeparam>
<typeparam name="T2">The type of the second argument of the invoked method.</typeparam>
<typeparam name="T3">The type of the third argument of the invoked method.</typeparam>
<typeparam name="T4">The type of the fourth argument of the invoked method.</typeparam>
<typeparam name="T5">The type of the fifth argument of the invoked method.</typeparam>
<typeparam name="T6">The type of the sixth argument of the invoked method.</typeparam>
<typeparam name="T7">The type of the seventh argument of the invoked method.</typeparam>
<typeparam name="T8">The type of the eighth argument of the invoked method.</typeparam>
<typeparam name="T9">The type of the nineth argument of the invoked method.</typeparam>
<typeparam name="T10">The type of the tenth argument of the invoked method.</typeparam>
<typeparam name="T11">The type of the eleventh argument of the invoked method.</typeparam>
<typeparam name="T12">The type of the twelfth argument of the invoked method.</typeparam>
<typeparam name="T13">The type of the thirteenth argument of the invoked method.</typeparam>
<typeparam name="T14">The type of the fourteenth argument of the invoked method.</typeparam>
<typeparam name="T15">The type of the fifteenth argument of the invoked method.</typeparam>
<typeparam name="T16">The type of the sixteenth argument of the invoked method.</typeparam>
<param name="valueFunction">The function that will calculate the return value.</param>
<return>Returns a calculated value which is evaluated lazily at the time of the invocation.</return>
<example>
<para>
The return value is calculated from the value of the actual method invocation arguments.
Notice how the arguments are retrieved by simply declaring them as part of the lambda
expression:
</para>
<code>
mock.Setup(x => x.Execute(
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>(),
It.IsAny<int>()))
.Returns((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13, string arg14, string arg15, string arg16) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15 + arg16);
</code>
</example>
</member>
<member name="T:Moq.Language.ISetupSequentialResult`1">
<summary>
Language for ReturnSequence
</summary>
</member>
<member name="M:Moq.Language.ISetupSequentialResult`1.Returns(`0)">
<summary>
Returns value
</summary>
</member>
<member name="M:Moq.Language.ISetupSequentialResult`1.Throws(System.Exception)">
<summary>
Throws an exception
</summary>
</member>
<member name="M:Moq.Language.ISetupSequentialResult`1.Throws``1">
<summary>
Throws an exception
</summary>
</member>
<member name="F:Moq.Linq.FluentMockVisitor.isFirst">
<summary>
The first method call or member access will be the
last segment of the expression (depth-first traversal),
which is the one we have to Setup rather than FluentMock.
And the last one is the one we have to Mock.Get rather
than FluentMock.
</summary>
</member>
<member name="T:Moq.Mock">
<summary>
Base class for mocks and static helper class with methods that
apply to mocked objects, such as <see cref="M:Moq.Mock.Get``1(``0)"/> to
retrieve a <see cref="T:Moq.Mock`1"/> from an object instance.
</summary>
</member>
<member name="M:Moq.Mock.Of``1">
<summary>
Creates an mock object of the indicated type.
</summary>
<typeparam name="T">The type of the mocked object.</typeparam>
<returns>The mocked object created.</returns>
</member>
<member name="M:Moq.Mock.Of``1(System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}})">
<summary>
Creates an mock object of the indicated type.
</summary>
<param name="predicate">The predicate with the specification of how the mocked object should behave.</param>
<typeparam name="T">The type of the mocked object.</typeparam>
<returns>The mocked object created.</returns>
</member>
<member name="M:Moq.Mock.#ctor">
<summary>
Initializes a new instance of the <see cref="T:Moq.Mock"/> class.
</summary>
</member>
<member name="M:Moq.Mock.Get``1(``0)">
<summary>
Retrieves the mock object for the given object instance.
</summary><typeparam name="T">
Type of the mock to retrieve. Can be omitted as it's inferred
from the object instance passed in as the <paramref name="mocked"/> instance.
</typeparam><param name="mocked">The instance of the mocked object.</param><returns>The mock associated with the mocked object.</returns><exception cref="T:System.ArgumentException">
The received <paramref name="mocked"/> instance
was not created by Moq.
</exception><example group="advanced">
The following example shows how to add a new setup to an object
instance which is not the original <see cref="T:Moq.Mock`1"/> but rather
the object associated with it:
<code>
// Typed instance, not the mock, is retrieved from some test API.
HttpContextBase context = GetMockContext();
// context.Request is the typed object from the "real" API
// so in order to add a setup to it, we need to get
// the mock that "owns" it
Mock<HttpRequestBase> request = Mock.Get(context.Request);
mock.Setup(req => req.AppRelativeCurrentExecutionFilePath)
.Returns(tempUrl);
</code>
</example>
</member>
<member name="M:Moq.Mock.OnGetObject">
<summary>
Returns the mocked object value.
</summary>
</member>
<member name="M:Moq.Mock.Verify">
<summary>
Verifies that all verifiable expectations have been met.
</summary><example group="verification">
This example sets up an expectation and marks it as verifiable. After
the mock is used, a <c>Verify()</c> call is issued on the mock
to ensure the method in the setup was invoked:
<code>
var mock = new Mock<IWarehouse>();
this.Setup(x => x.HasInventory(TALISKER, 50)).Verifiable().Returns(true);
...
// other test code
...
// Will throw if the test code has didn't call HasInventory.
this.Verify();
</code>
</example><exception cref="T:Moq.MockException">Not all verifiable expectations were met.</exception>
</member>
<member name="M:Moq.Mock.VerifyAll">
<summary>
Verifies all expectations regardless of whether they have
been flagged as verifiable.
</summary><example group="verification">
This example sets up an expectation without marking it as verifiable. After
the mock is used, a <see cref="M:Moq.Mock.VerifyAll"/> call is issued on the mock
to ensure that all expectations are met:
<code>
var mock = new Mock<IWarehouse>();
this.Setup(x => x.HasInventory(TALISKER, 50)).Returns(true);
...
// other test code
...
// Will throw if the test code has didn't call HasInventory, even
// that expectation was not marked as verifiable.
this.VerifyAll();
</code>
</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>
Gets the interceptor target for the given expression and root mock,
building the intermediate hierarchy of mock objects if necessary.
</summary>
</member>
<member name="M:Moq.Mock.DoRaise(System.Reflection.EventInfo,System.EventArgs)">
<summary>
Raises the associated event with the given
event argument data.
</summary>
</member>
<member name="M:Moq.Mock.DoRaise(System.Reflection.EventInfo,System.Object[])">
<summary>
Raises the associated event with the given
event argument data.
</summary>
</member>
<member name="M:Moq.Mock.As``1">
<summary>
Adds an interface implementation to the mock,
allowing setups to be specified for it.
</summary><remarks>
This method can only be called before the first use
of the mock <see cref="P:Moq.Mock.Object"/> property, at which
point the runtime type has already been generated
and no more interfaces can be added to it.
<para>
Also, <typeparamref name="TInterface"/> must be an
interface and not a class, which must be specified
when creating the mock instead.
</para>
</remarks><exception cref="T:System.InvalidOperationException">
The mock type
has already been generated by accessing the <see cref="P:Moq.Mock.Object"/> property.
</exception><exception cref="T:System.ArgumentException">
The <typeparamref name="TInterface"/> specified
is not an interface.
</exception><example>
The following example creates a mock for the main interface
and later adds <see cref="T:System.IDisposable"/> to it to verify
it's called by the consumer code:
<code>
var mock = new Mock<IProcessor>();
mock.Setup(x => x.Execute("ping"));
// add IDisposable interface
var disposable = mock.As<IDisposable>();
disposable.Setup(d => d.Dispose()).Verifiable();
</code>
</example><typeparam name="TInterface">Type of interface to cast the mock to.</typeparam>
</member>
<member name="M:Moq.Mock.SetReturnsDefault``1(``0)">
<!-- No matching elements were found for the following include tag --><include file="Mock.Generic.xdoc" path="docs/doc[@for="Mock.SetReturnDefault{TReturn}"]/*"/>
</member>
<member name="P:Moq.Mock.Behavior">
<summary>
Behavior of the mock, according to the value set in the constructor.
</summary>
</member>
<member name="P:Moq.Mock.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.Mock.DefaultValue">
<summary>
Specifies the behavior to use when returning default values for
unexpected invocations on loose mocks.
</summary>
</member>
<member name="P:Moq.Mock.Object">
<summary>
Gets the mocked object instance.
</summary>
</member>
<member name="P:Moq.Mock.MockedType">
<summary>
Retrieves the type of the mocked object, its generic type argument.
This is used in the auto-mocking of hierarchy access.
</summary>
</member>
<member name="P:Moq.Mock.DefaultValueProvider">
<summary>
Specifies the class that will determine the default
value to return when invocations are made that
have no setups and need to return a default
value (for loose mocks).
</summary>
</member>
<member name="P:Moq.Mock.ImplementedInterfaces">
<summary>
Exposes the list of extra interfaces implemented by the mock.
</summary>
</member>
<member name="T:Moq.MockRepository">
<summary>
Utility repository class to use to construct multiple
mocks when consistent verification is
desired for all of them.
</summary>
<remarks>
If multiple mocks will be created during a test, passing
the desired <see cref="T:Moq.MockBehavior"/> (if different than the
<see cref="F:Moq.MockBehavior.Default"/> or the one
passed to the repository constructor) and later verifying each
mock can become repetitive and tedious.
<para>
This repository class helps in that scenario by providing a
simplified creation of multiple mocks with a default
<see cref="T:Moq.MockBehavior"/> (unless overriden by calling
<see cref="M:Moq.MockFactory.Create``1(Moq.MockBehavior)"/>) and posterior verification.
</para>
</remarks>
<example group="repository">
The following is a straightforward example on how to
create and automatically verify strict mocks using a <see cref="T:Moq.MockRepository"/>:
<code>
var repository = new MockRepository(MockBehavior.Strict);
var foo = repository.Create<IFoo>();
var bar = repository.Create<IBar>();
// no need to call Verifiable() on the setup
// as we'll be validating all of them anyway.
foo.Setup(f => f.Do());
bar.Setup(b => b.Redo());
// exercise the mocks here
repository.VerifyAll();
// At this point all setups are already checked
// and an optional MockException might be thrown.
// Note also that because the mocks are strict, any invocation
// that doesn't have a matching setup will also throw a MockException.
</code>
The following examples shows how to setup the repository
to create loose mocks and later verify only verifiable setups:
<code>
var repository = new MockRepository(MockBehavior.Loose);
var foo = repository.Create<IFoo>();
var bar = repository.Create<IBar>();
// this setup will be verified when we verify the repository
foo.Setup(f => f.Do()).Verifiable();
// this setup will NOT be verified
foo.Setup(f => f.Calculate());
// this setup will be verified when we verify the repository
bar.Setup(b => b.Redo()).Verifiable();
// exercise the mocks here
// note that because the mocks are Loose, members
// called in the interfaces for which no matching
// setups exist will NOT throw exceptions,
// and will rather return default values.
repository.Verify();
// At this point verifiable setups are already checked
// and an optional MockException might be thrown.
</code>
The following examples shows how to setup the repository with a
default strict behavior, overriding that default for a
specific mock:
<code>
var repository = new MockRepository(MockBehavior.Strict);
// this particular one we want loose
var foo = repository.Create<IFoo>(MockBehavior.Loose);
var bar = repository.Create<IBar>();
// specify setups
// exercise the mocks here
repository.Verify();
</code>
</example>
<seealso cref="T:Moq.MockBehavior"/>
</member>
<member name="T:Moq.MockFactory">
<summary>
Utility factory class to use to construct multiple
mocks when consistent verification is
desired for all of them.
</summary>
<remarks>
If multiple mocks will be created during a test, passing
the desired <see cref="T:Moq.MockBehavior"/> (if different than the
<see cref="F:Moq.MockBehavior.Default"/> or the one
passed to the factory constructor) and later verifying each
mock can become repetitive and tedious.
<para>
This factory class helps in that scenario by providing a
simplified creation of multiple mocks with a default
<see cref="T:Moq.MockBehavior"/> (unless overriden by calling
<see cref="M:Moq.MockFactory.Create``1(Moq.MockBehavior)"/>) and posterior verification.
</para>
</remarks>
<example group="factory">
The following is a straightforward example on how to
create and automatically verify strict mocks using a <see cref="T:Moq.MockFactory"/>:
<code>
var factory = new MockFactory(MockBehavior.Strict);
var foo = factory.Create<IFoo>();
var bar = factory.Create<IBar>();
// no need to call Verifiable() on the setup
// as we'll be validating all of them anyway.
foo.Setup(f => f.Do());
bar.Setup(b => b.Redo());
// exercise the mocks here
factory.VerifyAll();
// At this point all setups are already checked
// and an optional MockException might be thrown.
// Note also that because the mocks are strict, any invocation
// that doesn't have a matching setup will also throw a MockException.
</code>
The following examples shows how to setup the factory
to create loose mocks and later verify only verifiable setups:
<code>
var factory = new MockFactory(MockBehavior.Loose);
var foo = factory.Create<IFoo>();
var bar = factory.Create<IBar>();
// this setup will be verified when we verify the factory
foo.Setup(f => f.Do()).Verifiable();
// this setup will NOT be verified
foo.Setup(f => f.Calculate());
// this setup will be verified when we verify the factory
bar.Setup(b => b.Redo()).Verifiable();
// exercise the mocks here
// note that because the mocks are Loose, members
// called in the interfaces for which no matching
// setups exist will NOT throw exceptions,
// and will rather return default values.
factory.Verify();
// At this point verifiable setups are already checked
// and an optional MockException might be thrown.
</code>
The following examples shows how to setup the factory with a
default strict behavior, overriding that default for a
specific mock:
<code>
var factory = new MockFactory(MockBehavior.Strict);
// this particular one we want loose
var foo = factory.Create<IFoo>(MockBehavior.Loose);
var bar = factory.Create<IBar>();
// specify setups
// exercise the mocks here
factory.Verify();
</code>
</example>
<seealso cref="T:Moq.MockBehavior"/>
</member>
<member name="M:Moq.MockFactory.#ctor(Moq.MockBehavior)">
<summary>
Initializes the factory with the given <paramref name="defaultBehavior"/>
for newly created mocks from the factory.
</summary>
<param name="defaultBehavior">The behavior to use for mocks created
using the <see cref="M:Moq.MockFactory.Create``1"/> factory method if not overriden
by using the <see cref="M:Moq.MockFactory.Create``1(Moq.MockBehavior)"/> overload.</param>
</member>
<member name="M:Moq.MockFactory.Create``1">
<summary>
Creates a new mock with the default <see cref="T:Moq.MockBehavior"/>
specified at factory construction time.
</summary>
<typeparam name="T">Type to mock.</typeparam>
<returns>A new <see cref="T:Moq.Mock`1"/>.</returns>
<example ignore="true">
<code>
var factory = new MockFactory(MockBehavior.Strict);
var foo = factory.Create<IFoo>();
// use mock on tests
factory.VerifyAll();
</code>
</example>
</member>
<member name="M:Moq.MockFactory.Create``1(System.Object[])">
<summary>
Creates a new mock with the default <see cref="T:Moq.MockBehavior"/>
specified at factory construction time and with the
the given constructor arguments for the class.
</summary>
<remarks>
The mock will try to find the best match constructor given the
constructor arguments, and invoke that to initialize the instance.
This applies only to classes, not interfaces.
</remarks>
<typeparam name="T">Type to mock.</typeparam>
<param name="args">Constructor arguments for mocked classes.</param>
<returns>A new <see cref="T:Moq.Mock`1"/>.</returns>
<example ignore="true">
<code>
var factory = new MockFactory(MockBehavior.Default);
var mock = factory.Create<MyBase>("Foo", 25, true);
// use mock on tests
factory.Verify();
</code>
</example>
</member>
<member name="M:Moq.MockFactory.Create``1(Moq.MockBehavior)">
<summary>
Creates a new mock with the given <paramref name="behavior"/>.
</summary>
<typeparam name="T">Type to mock.</typeparam>
<param name="behavior">Behavior to use for the mock, which overrides
the default behavior specified at factory construction time.</param>
<returns>A new <see cref="T:Moq.Mock`1"/>.</returns>
<example group="factory">
The following example shows how to create a mock with a different
behavior to that specified as the default for the factory:
<code>
var factory = new MockFactory(MockBehavior.Strict);
var foo = factory.Create<IFoo>(MockBehavior.Loose);
</code>
</example>
</member>
<member name="M:Moq.MockFactory.Create``1(Moq.MockBehavior,System.Object[])">
<summary>
Creates a new mock with the given <paramref name="behavior"/>
and with the the given constructor arguments for the class.
</summary>
<remarks>
The mock will try to find the best match constructor given the
constructor arguments, and invoke that to initialize the instance.
This applies only to classes, not interfaces.
</remarks>
<typeparam name="T">Type to mock.</typeparam>
<param name="behavior">Behavior to use for the mock, which overrides
the default behavior specified at factory construction time.</param>
<param name="args">Constructor arguments for mocked classes.</param>
<returns>A new <see cref="T:Moq.Mock`1"/>.</returns>
<example group="factory">
The following example shows how to create a mock with a different
behavior to that specified as the default for the factory, passing
constructor arguments:
<code>
var factory = new MockFactory(MockBehavior.Default);
var mock = factory.Create<MyBase>(MockBehavior.Strict, "Foo", 25, true);
</code>
</example>
</member>
<member name="M:Moq.MockFactory.CreateMock``1(Moq.MockBehavior,System.Object[])">
<summary>
Implements creation of a new mock within the factory.
</summary>
<typeparam name="T">Type to mock.</typeparam>
<param name="behavior">The behavior for the new mock.</param>
<param name="args">Optional arguments for the construction of the mock.</param>
</member>
<member name="M:Moq.MockFactory.Verify">
<summary>
Verifies all verifiable expectations on all mocks created
by this factory.
</summary>
<seealso cref="M:Moq.Mock.Verify"/>
<exception cref="T:Moq.MockException">One or more mocks had expectations that were not satisfied.</exception>
</member>
<member name="M:Moq.MockFactory.VerifyAll">
<summary>
Verifies all verifiable expectations on all mocks created
by this factory.
</summary>
<seealso cref="M:Moq.Mock.Verify"/>
<exception cref="T:Moq.MockException">One or more mocks had expectations that were not satisfied.</exception>
</member>
<member name="M:Moq.MockFactory.VerifyMocks(System.Action{Moq.Mock})">
<summary>
Invokes <paramref name="verifyAction"/> for each mock
in <see cref="P:Moq.MockFactory.Mocks"/>, and accumulates the resulting
<see cref="T:Moq.MockVerificationException"/> that might be
thrown from the action.
</summary>
<param name="verifyAction">The action to execute against
each mock.</param>
</member>
<member name="P:Moq.MockFactory.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.MockFactory.DefaultValue">
<summary>
Specifies the behavior to use when returning default values for
unexpected invocations on loose mocks.
</summary>
</member>
<member name="P:Moq.MockFactory.Mocks">
<summary>
Gets the mocks that have been created by this factory and
that will get verified together.
</summary>
</member>
<member name="M:Moq.MockRepository.Of``1">
<summary>
Access the universe of mocks of the given type, to retrieve those
that behave according to the LINQ query specification.
</summary>
<typeparam name="T">The type of the mocked object to query.</typeparam>
</member>
<member name="M:Moq.MockRepository.Of``1(System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}})">
<summary>
Access the universe of mocks of the given type, to retrieve those
that behave according to the LINQ query specification.
</summary>
<param name="specification">The predicate with the setup expressions.</param>
<typeparam name="T">The type of the mocked object to query.</typeparam>
</member>
<member name="M:Moq.MockRepository.OneOf``1">
<summary>
Creates an mock object of the indicated type.
</summary>
<typeparam name="T">The type of the mocked object.</typeparam>
<returns>The mocked object created.</returns>
</member>
<member name="M:Moq.MockRepository.OneOf``1(System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}})">
<summary>
Creates an mock object of the indicated type.
</summary>
<param name="specification">The predicate with the setup expressions.</param>
<typeparam name="T">The type of the mocked object.</typeparam>
<returns>The mocked object created.</returns>
</member>
<member name="M:Moq.MockRepository.CreateMockQuery``1">
<summary>
Creates the mock query with the underlying queriable implementation.
</summary>
</member>
<member name="M:Moq.MockRepository.CreateQueryable``1">
<summary>
Wraps the enumerator inside a queryable.
</summary>
</member>
<member name="M:Moq.MockRepository.CreateMocks``1">
<summary>
Method that is turned into the actual call from .Query{T}, to
transform the queryable query into a normal enumerable query.
This method is never used directly by consumers.
</summary>
</member>
<member name="M:Moq.MockRepository.#ctor(Moq.MockBehavior)">
<summary>
Initializes the repository with the given <paramref name="defaultBehavior"/>
for newly created mocks from the repository.
</summary>
<param name="defaultBehavior">The behavior to use for mocks created
using the <see cref="M:Moq.MockFactory.Create``1"/> repository method if not overriden
by using the <see cref="M:Moq.MockFactory.Create``1(Moq.MockBehavior)"/> overload.</param>
</member>
<member name="T:Moq.EmptyDefaultValueProvider">
<summary>
A <see cref="T:Moq.IDefaultValueProvider"/> that returns an empty default value
for invocations that do not have setups or return values, with loose mocks.
This is the default behavior for a mock.
</summary>
</member>
<member name="T:Moq.IDefaultValueProvider">
<summary>
Interface to be implemented by classes that determine the
default value of non-expected invocations.
</summary>
</member>
<member name="M:Moq.IDefaultValueProvider.DefineDefault``1(``0)">
<summary>
Defines the default value to return in all the methods returning <typeparamref name="T"/>.
</summary><typeparam name="T">The type of the return value.</typeparam><param name="value">The value to set as default.</param>
</member>
<member name="M:Moq.IDefaultValueProvider.ProvideDefault(System.Reflection.MethodInfo)">
<summary>
Provides a value for the given member and arguments.
</summary><param name="member">
The member to provide a default value for.
</param>
</member>
<member name="T:Moq.ExpressionStringBuilder">
<summary>
The intention of <see cref="T:Moq.ExpressionStringBuilder"/> is to create a more readable
string representation for the failure message.
</summary>
</member>
<member name="T:Moq.Language.Flow.ICallbackResult">
<summary>
Implements the fluent API.
</summary>
</member>
<member name="T:Moq.Language.IThrows">
<summary>
Defines the <c>Throws</c> verb.
</summary>
</member>
<member name="M:Moq.Language.IThrows.Throws(System.Exception)">
<summary>
Specifies the exception to throw when the method is invoked.
</summary>
<param name="exception">Exception instance to throw.</param>
<example>
This example shows how to throw an exception when the method is
invoked with an empty string argument:
<code>
mock.Setup(x => x.Execute(""))
.Throws(new ArgumentException());
</code>
</example>
</member>
<member name="M:Moq.Language.IThrows.Throws``1">
<summary>
Specifies the type of exception to throw when the method is invoked.
</summary>
<typeparam name="TException">Type of exception to instantiate and throw when the setup is matched.</typeparam>
<example>
This example shows how to throw an exception when the method is
invoked with an empty string argument:
<code>
mock.Setup(x => x.Execute(""))
.Throws<ArgumentException>();
</code>
</example>
</member>
<member name="T:Moq.Language.Flow.IThrowsResult">
<summary>
Implements the fluent API.
</summary>
</member>
<member name="T:Moq.Language.IOccurrence">
<summary>
Defines occurrence members to constraint setups.
</summary>
</member>
<member name="M:Moq.Language.IOccurrence.AtMostOnce">
<summary>
The expected invocation can happen at most once.
</summary>
<example>
<code>
var mock = new Mock<ICommand>();
mock.Setup(foo => foo.Execute("ping"))
.AtMostOnce();
</code>
</example>
</member>
<member name="M:Moq.Language.IOccurrence.AtMost(System.Int32)">
<summary>
The expected invocation can happen at most specified number of times.
</summary>
<param name="callCount">The number of times to accept calls.</param>
<example>
<code>
var mock = new Mock<ICommand>();
mock.Setup(foo => foo.Execute("ping"))
.AtMost( 5 );
</code>
</example>
</member>
<member name="T:Moq.Language.IVerifies">
<summary>
Defines the <c>Verifiable</c> verb.
</summary>
</member>
<member name="M:Moq.Language.IVerifies.Verifiable">
<summary>
Marks the expectation as verifiable, meaning that a call
to <see cref="M:Moq.Mock.Verify"/> will check if this particular
expectation was met.
</summary>
<example>
The following example marks the expectation as verifiable:
<code>
mock.Expect(x => x.Execute("ping"))
.Returns(true)
.Verifiable();
</code>
</example>
</member>
<member name="M:Moq.Language.IVerifies.Verifiable(System.String)">
<summary>
Marks the expectation as verifiable, meaning that a call
to <see cref="M:Moq.Mock.Verify"/> will check if this particular
expectation was met, and specifies a message for failures.
</summary>
<example>
The following example marks the expectation as verifiable:
<code>
mock.Expect(x => x.Execute("ping"))
.Returns(true)
.Verifiable("Ping should be executed always!");
</code>
</example>
</member>
<member name="T:Moq.Language.Flow.ISetup`1">
<summary>
Implements the fluent API.
</summary>
</member>
<member name="T:Moq.MethodCallReturn">
<devdoc>
We need this non-generics base class so that
we can use <see cref="P:Moq.MethodCallReturn.HasReturnValue"/> from
generic code.
</devdoc>
</member>
<member name="T:Moq.Language.Flow.ISetup`2">
<summary>
Implements the fluent API.
</summary>
</member>
<member name="T:Moq.Language.Flow.IReturnsThrows`2">
<summary>
Implements the fluent API.
</summary>
</member>
<member name="T:Moq.Language.Flow.ISetupGetter`2">
<summary>
Implements the fluent API.
</summary>
</member>
<member name="T:Moq.Language.ICallbackGetter`2">
<summary>
Defines the <c>Callback</c> verb for property getter setups.
</summary>
<seealso cref="M:Moq.Mock`1.SetupGet``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})"/>
<typeparam name="TMock">Mocked type.</typeparam>
<typeparam name="TProperty">Type of the property.</typeparam>
</member>
<member name="M:Moq.Language.ICallbackGetter`2.Callback(System.Action)">
<summary>
Specifies a callback to invoke when the property is retrieved.
</summary>
<param name="action">Callback method to invoke.</param>
<example>
Invokes the given callback with the property value being set.
<code>
mock.SetupGet(x => x.Suspended)
.Callback(() => called = true)
.Returns(true);
</code>
</example>
</member>
<member name="T:Moq.Language.Flow.IReturnsThrowsGetter`2">
<summary>
Implements the fluent API.
</summary>
</member>
<member name="T:Moq.Language.IReturnsGetter`2">
<summary>
Defines the <c>Returns</c> verb for property get setups.
</summary>
<typeparam name="TMock">Mocked type.</typeparam>
<typeparam name="TProperty">Type of the property.</typeparam>
</member>
<member name="M:Moq.Language.IReturnsGetter`2.Returns(`1)">
<summary>
Specifies the value to return.
</summary>
<param name="value">The value to return, or <see langword="null"/>.</param>
<example>
Return a <c>true</c> value from the property getter call:
<code>
mock.SetupGet(x => x.Suspended)
.Returns(true);
</code>
</example>
</member>
<member name="M:Moq.Language.IReturnsGetter`2.Returns(System.Func{`1})">
<summary>
Specifies a function that will calculate the value to return for the property.
</summary>
<param name="valueFunction">The function that will calculate the return value.</param>
<example>
Return a calculated value when the property is retrieved:
<code>
mock.SetupGet(x => x.Suspended)
.Returns(() => returnValues[0]);
</code>
The lambda expression to retrieve the return value is lazy-executed,
meaning that its value may change depending on the moment the property
is retrieved and the value the <c>returnValues</c> array has at
that moment.
</example>
</member>
<member name="T:Moq.Language.Flow.IReturnsResult`1">
<summary>
Implements the fluent API.
</summary>
</member>
<member name="T:Moq.MockSequence">
<summary>
Helper class to setup a full trace between many mocks
</summary>
</member>
<member name="M:Moq.MockSequence.#ctor">
<summary>
Initialize a trace setup
</summary>
</member>
<member name="P:Moq.MockSequence.Cyclic">
<summary>
Allow sequence to be repeated
</summary>
</member>
<member name="T:Moq.MockSequenceHelper">
<summary>
define nice api
</summary>
</member>
<member name="M:Moq.MockSequenceHelper.InSequence``1(Moq.Mock{``0},Moq.MockSequence)">
<summary>
Perform an expectation in the trace.
</summary>
</member>
<member name="T:Moq.MatcherAttribute">
<summary>
Marks a method as a matcher, which allows complete replacement
of the built-in <see cref="T:Moq.It"/> class with your own argument
matching rules.
</summary>
<remarks>
<b>This feature has been deprecated in favor of the new
and simpler <see cref="T:Moq.Match`1"/>.
</b>
<para>
The argument matching is used to determine whether a concrete
invocation in the mock matches a given setup. This
matching mechanism is fully extensible.
</para>
<para>
There are two parts of a matcher: the compiler matcher
and the runtime matcher.
<list type="bullet">
<item>
<term>Compiler matcher</term>
<description>Used to satisfy the compiler requirements for the
argument. Needs to be a method optionally receiving any arguments
you might need for the matching, but with a return type that
matches that of the argument.
<para>
Let's say I want to match a lists of orders that contains
a particular one. I might create a compiler matcher like the following:
</para>
<code>
public static class Orders
{
[Matcher]
public static IEnumerable<Order> Contains(Order order)
{
return null;
}
}
</code>
Now we can invoke this static method instead of an argument in an
invocation:
<code>
var order = new Order { ... };
var mock = new Mock<IRepository<Order>>();
mock.Setup(x => x.Save(Orders.Contains(order)))
.Throws<ArgumentException>();
</code>
Note that the return value from the compiler matcher is irrelevant.
This method will never be called, and is just used to satisfy the
compiler and to signal Moq that this is not a method that we want
to be invoked at runtime.
</description>
</item>
<item>
<term>Runtime matcher</term>
<description>
The runtime matcher is the one that will actually perform evaluation
when the test is run, and is defined by convention to have the
same signature as the compiler matcher, but where the return
value is the first argument to the call, which contains the
object received by the actual invocation at runtime:
<code>
public static bool Contains(IEnumerable<Order> orders, Order order)
{
return orders.Contains(order);
}
</code>
At runtime, the mocked method will be invoked with a specific
list of orders. This value will be passed to this runtime
matcher as the first argument, while the second argument is the
one specified in the setup (<c>x.Save(Orders.Contains(order))</c>).
<para>
The boolean returned determines whether the given argument has been
matched. If all arguments to the expected method are matched, then
the setup matches and is evaluated.
</para>
</description>
</item>
</list>
</para>
Using this extensible infrastructure, you can easily replace the entire
<see cref="T:Moq.It"/> set of matchers with your own. You can also avoid the
typical (and annoying) lengthy expressions that result when you have
multiple arguments that use generics.
</remarks>
<example>
The following is the complete example explained above:
<code>
public static class Orders
{
[Matcher]
public static IEnumerable<Order> Contains(Order order)
{
return null;
}
public static bool Contains(IEnumerable<Order> orders, Order order)
{
return orders.Contains(order);
}
}
</code>
And the concrete test using this matcher:
<code>
var order = new Order { ... };
var mock = new Mock<IRepository<Order>>();
mock.Setup(x => x.Save(Orders.Contains(order)))
.Throws<ArgumentException>();
// use mock, invoke Save, and have the matcher filter.
</code>
</example>
</member>
<member name="T:Moq.Mock`1">
<summary>
Provides a mock implementation of <typeparamref name="T"/>.
</summary><remarks>
Any interface type can be used for mocking, but for classes, only abstract and virtual members can be mocked.
<para>
The behavior of the mock with regards to the setups and the actual calls is determined
by the optional <see cref="T:Moq.MockBehavior"/> that can be passed to the <see cref="M:Moq.Mock`1.#ctor(Moq.MockBehavior)"/>
constructor.
</para>
</remarks><typeparam name="T">Type to mock, which can be an interface or a class.</typeparam><example group="overview" order="0">
The following example shows establishing setups with specific values
for method invocations:
<code>
// Arrange
var order = new Order(TALISKER, 50);
var mock = new Mock<IWarehouse>();
mock.Setup(x => x.HasInventory(TALISKER, 50)).Returns(true);
// Act
order.Fill(mock.Object);
// Assert
Assert.True(order.IsFilled);
</code>
The following example shows how to use the <see cref="T:Moq.It"/> clas
gitextract_co3fz9j8/
├── .gitignore
├── LICENSE
├── README.md
├── References/
│ ├── Moq.LICENSE
│ ├── Moq.xml
│ ├── xunit.LICENSE
│ └── xunit.extensions.xml
├── Telerik.RazorConverter/
│ ├── Document.cs
│ ├── IDocument.cs
│ ├── INodeConverter.cs
│ ├── IOrderMetadata.cs
│ ├── IRenderer.cs
│ ├── IWebFormsConverter.cs
│ ├── IWebFormsParser.cs
│ ├── Properties/
│ │ └── AssemblyInfo.cs
│ ├── Razor/
│ │ ├── Converters/
│ │ │ ├── CodeBlockConverter.cs
│ │ │ ├── CodeGroupConverter.cs
│ │ │ ├── CommentNodeConverter.cs
│ │ │ ├── ContentTagConverter.cs
│ │ │ ├── ContentTagConverterConfiguration.cs
│ │ │ ├── DirectiveConverter.cs
│ │ │ ├── ExpressionBlockConverter.cs
│ │ │ ├── IContentTagConverterConfiguration.cs
│ │ │ ├── IRazorNodeConverterProvider.cs
│ │ │ ├── RazorNodeConverterProvider.cs
│ │ │ ├── TextNodeConverter.cs
│ │ │ └── WebFormsToRazorConverter.cs
│ │ ├── DOM/
│ │ │ ├── IRazorCodeNode.cs
│ │ │ ├── IRazorCodeNodeFactory.cs
│ │ │ ├── IRazorCommentNode.cs
│ │ │ ├── IRazorCommentNodeFactory.cs
│ │ │ ├── IRazorDirectiveNode.cs
│ │ │ ├── IRazorDirectiveNodeFactory.cs
│ │ │ ├── IRazorExpressionNode.cs
│ │ │ ├── IRazorExpressionNodeFactory.cs
│ │ │ ├── IRazorNode.cs
│ │ │ ├── IRazorSectionNode.cs
│ │ │ ├── IRazorSectionNodeFactory.cs
│ │ │ ├── IRazorTextNode.cs
│ │ │ ├── IRazorTextNodeFactory.cs
│ │ │ ├── RazorCodeNode.cs
│ │ │ ├── RazorCodeNodeFactory.cs
│ │ │ ├── RazorCommentNode.cs
│ │ │ ├── RazorCommentNodeFactory.cs
│ │ │ ├── RazorDirectiveNode.cs
│ │ │ ├── RazorDirectiveNodeFactory.cs
│ │ │ ├── RazorExpressionNode.cs
│ │ │ ├── RazorExpressionNodeFactory.cs
│ │ │ ├── RazorNode.cs
│ │ │ ├── RazorSectionNode.cs
│ │ │ ├── RazorSectionNodeFactory.cs
│ │ │ ├── RazorTextNode.cs
│ │ │ └── RazorTextNodeFactory.cs
│ │ └── Rendering/
│ │ ├── CodeNodeRenderer.cs
│ │ ├── CommentNodeRenderer.cs
│ │ ├── DirectiveNodeRenderer.cs
│ │ ├── ExpressionNodeRenderer.cs
│ │ ├── IRazorNodeRenderer.cs
│ │ ├── IRazorNodeRendererProvider.cs
│ │ ├── RazorNodeRendererProvider.cs
│ │ ├── RazorViewRenderer.cs
│ │ ├── SectionNodeRenderer.cs
│ │ └── TextNodeRenderer.cs
│ ├── Telerik.RazorConverter.csproj
│ └── WebForms/
│ ├── DOM/
│ │ ├── CodeBlockNodeType.cs
│ │ ├── CommentNode.cs
│ │ ├── DirectiveNode.cs
│ │ ├── DirectiveType.cs
│ │ ├── ExpressionBlockNode.cs
│ │ ├── IWebFormsCodeBlockNode.cs
│ │ ├── IWebFormsCodeGroupNode.cs
│ │ ├── IWebFormsCodeGroupNodeFactory.cs
│ │ ├── IWebFormsCommentNode.cs
│ │ ├── IWebFormsContentNode.cs
│ │ ├── IWebFormsDirectiveNode.cs
│ │ ├── IWebFormsExpressionBlockNode.cs
│ │ ├── IWebFormsNode.cs
│ │ ├── IWebFormsNodeFactory.cs
│ │ ├── IWebFormsServerControlNode.cs
│ │ ├── IWebFormsTextNode.cs
│ │ ├── NodeType.cs
│ │ ├── ServerControlNode.cs
│ │ ├── TextNode.cs
│ │ ├── WebFormsCodeBlockNode.cs
│ │ ├── WebFormsCodeGroupFactory.cs
│ │ ├── WebFormsCodeGroupNode.cs
│ │ ├── WebFormsNode.cs
│ │ └── WebFormsNodeFactory.cs
│ ├── Filters/
│ │ ├── AddBlockBracesFilter.cs
│ │ ├── CodeBlockGroupingFilter.cs
│ │ ├── IWebFormsNodeFilter.cs
│ │ ├── IWebFormsNodeFilterProvider.cs
│ │ ├── WebFormsNodeFilterProvider.cs
│ │ └── WrapNestedTemplatesFilter.cs
│ └── Parsing/
│ ├── AttributesReader.cs
│ ├── IAttributesReader.cs
│ ├── RunatServerTagRegex.cs
│ └── WebFormsParser.cs
├── Telerik.RazorConverter.Tests/
│ ├── Properties/
│ │ └── AssemblyInfo.cs
│ ├── Razor/
│ │ ├── Converters/
│ │ │ ├── CodeBlockConverterTests.cs
│ │ │ ├── CodeGroupConverterTests.cs
│ │ │ ├── CommentNodeConverterTests.cs
│ │ │ ├── ContentPlaceHolderTagConverterTest.cs
│ │ │ ├── ContentTagConverterTests.cs
│ │ │ ├── DirectiveConverterTests.cs
│ │ │ ├── ExpressionBlockConverterTests.cs
│ │ │ ├── TextNodeConverterTests.cs
│ │ │ └── WebFormsToRazorConverterTests.cs
│ │ ├── DOM/
│ │ │ ├── RazorCodeNodeFactoryTests.cs
│ │ │ ├── RazorCommentNodeFactoryTests.cs
│ │ │ ├── RazorDirectiveNodeFactoryTests.cs
│ │ │ ├── RazorNodeTests.cs
│ │ │ └── RazorTextNodeFactoryTests.cs
│ │ └── Rendering/
│ │ ├── CodeNodeRendererTests.cs
│ │ ├── CommentNodeRendererTests.cs
│ │ ├── DirectiveNodeRendererTests.cs
│ │ ├── ExpressionNodeRendererTests.cs
│ │ ├── RazorViewRendererTests.cs
│ │ ├── SectionNodeRendererTests.cs
│ │ └── TextNodeRendererTests.cs
│ ├── Telerik.RazorConverter.Tests.csproj
│ └── WebForms/
│ ├── DOM/
│ │ └── WebFormsCodeGroupNodeTests.cs
│ ├── Filters/
│ │ ├── AddBlockBracesFilterTests.cs
│ │ ├── CodeBlockGroupingFilterTests.cs
│ │ └── WrapNestedTemplatesFilterTests.cs
│ ├── WebFormsParserFilteringTests.cs
│ └── WebFormsParserTests.cs
├── Telerik.RazorConverter.Tests.Common/
│ ├── Properties/
│ │ └── AssemblyInfo.cs
│ ├── Telerik.RazorConverter.Tests.Common.csproj
│ └── XunitExtensions/
│ ├── BooleanAssertionExtensions.cs
│ ├── CollectionAssertionExtensions.cs
│ ├── ObjectAssertExtensions.cs
│ └── StringAssertionExtensions.cs
├── Telerik.RazorConverter.Tests.Integration/
│ ├── IntegrationTests.cs
│ ├── Properties/
│ │ └── AssemblyInfo.cs
│ ├── Telerik.RazorConverter.Tests.Integration.csproj
│ └── TestCases/
│ ├── TestCase01.aspx.txt
│ ├── TestCase01.cshtml
│ ├── TestCase02.aspx.txt
│ ├── TestCase02.cshtml
│ ├── TestCase03.aspx.txt
│ ├── TestCase03.cshtml
│ ├── TestCase04.aspx.txt
│ ├── TestCase04.cshtml
│ ├── TestCase05.aspx.txt
│ ├── TestCase05.cshtml
│ ├── TestCase06.aspx.txt
│ ├── TestCase06.cshtml
│ ├── TestCase07.aspx.txt
│ ├── TestCase07.cshtml
│ ├── TestCase08.aspx.txt.skip
│ ├── TestCase08.cshtml
│ ├── TestCase09.aspx.txt
│ ├── TestCase09.cshtml
│ ├── TestCase10.aspx.txt
│ ├── TestCase10.cshtml
│ ├── TestCase11.aspx.txt
│ ├── TestCase11.cshtml
│ ├── TestCase12.aspx.txt
│ ├── TestCase12.cshtml
│ ├── TestCase13.aspx.txt
│ ├── TestCase13.cshtml
│ ├── TestCase14.aspx.txt
│ ├── TestCase14.cshtml
│ ├── TestCase15.aspx.txt
│ ├── TestCase15.cshtml
│ ├── TestCase16.aspx.txt.skip
│ ├── TestCase16.cshtml
│ ├── TestCase17.aspx.txt.skip
│ ├── TestCase17.cshtml
│ ├── TestCase18.aspx.txt
│ ├── TestCase18.cshtml
│ ├── TestCase19.aspx.txt.skip
│ ├── TestCase19.cshtml
│ ├── TestCase20.aspx.txt
│ ├── TestCase20.cshtml
│ ├── TestCase21.aspx.txt.skip
│ ├── TestCase21.cshtml
│ ├── TestCase22.aspx.txt.skip
│ ├── TestCase22.cshtml
│ ├── TestCase23.aspx.txt
│ ├── TestCase23.cshtml
│ ├── TestCase24.aspx.txt
│ ├── TestCase24.cshtml
│ ├── TestCase25.aspx.txt
│ ├── TestCase25.cshtml
│ ├── TestCase26.aspx.txt
│ └── TestCase26.cshtml
├── Telerik.RazorConverter.sln
└── aspx2razor/
├── DirectoryHandler.cs
├── Program.cs
├── Properties/
│ └── AssemblyInfo.cs
├── app.config
└── aspx2razor.csproj
SYMBOL INDEX (449 symbols across 123 files)
FILE: Telerik.RazorConverter.Tests.Common/XunitExtensions/BooleanAssertionExtensions.cs
class BooleanAssertionExtensions (line 6) | public static class BooleanAssertionExtensions
method ShouldBeFalse (line 12) | public static void ShouldBeFalse(this bool condition)
method ShouldBeFalse (line 22) | public static void ShouldBeFalse(this bool condition,
method ShouldBeTrue (line 32) | public static void ShouldBeTrue(this bool condition)
method ShouldBeTrue (line 42) | public static void ShouldBeTrue(this bool condition,
FILE: Telerik.RazorConverter.Tests.Common/XunitExtensions/CollectionAssertionExtensions.cs
class CollectionAssertExtensions (line 9) | public static class CollectionAssertExtensions
method ShouldBeEmpty (line 16) | public static void ShouldBeEmpty(this IEnumerable collection)
method ShouldContain (line 27) | public static void ShouldContain<T>(this IEnumerable<T> collection,
method ShouldContain (line 40) | public static void ShouldContain<T>(this IEnumerable<T> collection,
method ShouldNotBeEmpty (line 52) | public static void ShouldNotBeEmpty(this IEnumerable collection)
method ShouldNotContain (line 63) | public static void ShouldNotContain<T>(this IEnumerable<T> collection,
method ShouldNotContain (line 76) | public static void ShouldNotContain<T>(this IEnumerable<T> collection,
FILE: Telerik.RazorConverter.Tests.Common/XunitExtensions/ObjectAssertExtensions.cs
class ObjectAssertExtensions (line 9) | public static class ObjectAssertExtensions
method ShouldBeInRange (line 20) | public static void ShouldBeInRange<T>(this T actual,
method ShouldBeNull (line 33) | public static void ShouldBeNull(this object @object)
method ShouldBeSameAs (line 44) | public static void ShouldBeSameAs(this object actual,
method ShouldBeType (line 57) | public static T ShouldBeType<T>(this object @object)
method ShouldBeType (line 68) | public static void ShouldBeType(this object @object,
method ShouldEqual (line 81) | public static void ShouldEqual<T>(this T actual,
method ShouldEqual (line 95) | public static void ShouldEqual<T>(this T actual,
method ShouldNotBeInRange (line 111) | public static void ShouldNotBeInRange<T>(this T actual,
method ShouldNotBeNull (line 124) | public static void ShouldNotBeNull(this object @object)
method ShouldNotBeSameAs (line 135) | public static void ShouldNotBeSameAs(this object actual,
method ShouldNotBeType (line 147) | public static void ShouldNotBeType<T>(this object @object)
method ShouldNotBeType (line 158) | public static void ShouldNotBeType(this object @object,
method ShouldNotEqual (line 171) | public static void ShouldNotEqual<T>(this T actual,
method ShouldNotEqual (line 185) | public static void ShouldNotEqual<T>(this T actual,
FILE: Telerik.RazorConverter.Tests.Common/XunitExtensions/StringAssertionExtensions.cs
class StringAssertionExtensions (line 8) | public static class StringAssertionExtensions
method ShouldContain (line 15) | public static void ShouldContain(this string actualString,
method ShouldContain (line 27) | public static void ShouldContain(this string actualString,
method ShouldNotContain (line 39) | public static void ShouldNotContain(this string actualString,
method ShouldNotContain (line 51) | public static void ShouldNotContain(this string actualString,
FILE: Telerik.RazorConverter.Tests.Integration/IntegrationTests.cs
class IntegrationTests (line 14) | public class IntegrationTests
method IntegrationTests (line 37) | public IntegrationTests()
method Should_produce_expected_result (line 61) | [Theory]
method GetNonEmptyLines (line 88) | private static IList<string> GetNonEmptyLines(string input)
FILE: Telerik.RazorConverter.Tests/Razor/Converters/CodeBlockConverterTests.cs
class CodeBlockConverterTests (line 9) | public class CodeBlockConverterTests
method CodeBlockConverterTests (line 15) | public CodeBlockConverterTests()
method Should_be_able_to_convert_codeblock_node (line 22) | [Fact]
method Should_not_be_able_to_convert_generic_node (line 28) | [Fact]
method Should_require_prefix_for_complete_code_block (line 34) | [Fact]
method Should_require_prefix_for_opening_code_block (line 46) | [Fact]
method Should_not_require_prefix_for_continued_code_block (line 58) | [Fact]
method Should_not_require_prefix_for_closing_code_block (line 70) | [Fact]
method Should_transform_RenderPartial_to_RenderPage (line 82) | [Fact]
FILE: Telerik.RazorConverter.Tests/Razor/Converters/CodeGroupConverterTests.cs
class CodeGroupConverterTests (line 10) | public class CodeGroupConverterTests
method CodeGroupConverterTests (line 17) | public CodeGroupConverterTests()
method Should_be_able_to_convert_code_block_group_node (line 28) | [Fact]
method Should_drop_code_block_group_node_when_it_has_no_child_nodes (line 34) | [Fact]
method Should_use_provided_converters_for_child_nodes (line 41) | [Fact]
FILE: Telerik.RazorConverter.Tests/Razor/Converters/CommentNodeConverterTests.cs
class CommentNodeConverterTests (line 9) | public class CommentNodeConverterTests
method CommentNodeConverterTests (line 15) | public CommentNodeConverterTests()
method Should_be_able_to_convert_comment_node (line 22) | [Fact]
method Should_not_be_able_to_convert_generic_node (line 28) | [Fact]
method Should_convert_text_as_it_is (line 34) | [Fact]
FILE: Telerik.RazorConverter.Tests/Razor/Converters/ContentPlaceHolderTagConverterTest.cs
class ContentPlaceHolderTagConverterTest (line 11) | public class ContentPlaceHolderTagConverterTest
method ContentPlaceHolderTagConverterTest (line 21) | public ContentPlaceHolderTagConverterTest()
method Should_be_able_to_convert_content_tag_node (line 39) | [Fact]
method Should_not_be_able_to_convert_other_server_control_nodes (line 45) | [Fact]
method Should_not_be_able_to_convert_other_nodes (line 54) | [Fact]
method Should_convert_content_placeholders_to_sections (line 62) | [Fact]
method Should_use_chid_converter_for_child_nodes (line 70) | [Fact]
method Should_unwrap_child_nodes_from_main_placeholder (line 89) | [Fact]
FILE: Telerik.RazorConverter.Tests/Razor/Converters/ContentTagConverterTests.cs
class ContentTagConverterTests (line 11) | public class ContentTagConverterTests
method ContentTagConverterTests (line 24) | public ContentTagConverterTests()
method Should_be_able_to_convert_content_tag_node (line 53) | [Fact]
method Should_not_be_able_to_convert_other_server_control_nodes (line 59) | [Fact]
method Should_not_be_able_to_convert_other_nodes (line 68) | [Fact]
method Should_convert_content_placeholders_to_sections (line 76) | [Fact]
method Should_use_chid_converter_for_child_nodes (line 84) | [Fact]
method Should_unwrap_child_nodes_from_main_placeholder (line 103) | [Fact]
FILE: Telerik.RazorConverter.Tests/Razor/Converters/DirectiveConverterTests.cs
class DirectiveConverterTests (line 11) | public class DirectiveConverterTests
method DirectiveConverterTests (line 18) | public DirectiveConverterTests()
method Should_be_able_to_convert_directive_node (line 27) | [Fact]
method Should_drop_page_directive_when_no_base_type_is_specified (line 33) | [Fact]
method Should_convert_Page_directive_to_model_when_inheriting_from_generic_ViewPage (line 42) | [Fact]
method Should_extract_model_type_from_generic_ViewPage (line 52) | [Fact]
method Should_drop_control_directive_when_no_base_type_is_specified (line 62) | [Fact]
method Should_convert_Control_directive_to_model_when_inheriting_from_generic_ViewPage (line 71) | [Fact]
method Should_extract_model_type_from_generic_ViewUserControl (line 81) | [Fact]
method Should_convert_Page_directive_to_inherit_when_inheriting_from_unknown_type (line 91) | [Fact]
method Should_extract_custom_model_type (line 101) | [Fact]
FILE: Telerik.RazorConverter.Tests/Razor/Converters/ExpressionBlockConverterTests.cs
class ExpressionBlockConverterTests (line 9) | public class ExpressionBlockConverterTests
method ExpressionBlockConverterTests (line 15) | public ExpressionBlockConverterTests()
method Should_be_able_to_convert_expressionlock_node (line 23) | [Fact]
method Should_extract_expression (line 29) | [Fact]
method Should_trim_expression_whitespace (line 40) | [Fact]
method Should_preserve_expression_newlines (line 51) | [Fact]
method Should_recognize_multiline_expression_block (line 62) | [Fact]
method Should_convert_ResolveUrl_to_UrlContent (line 73) | [Fact]
method Should_wrap_HtmlDecode_in_Raw (line 84) | [Fact]
method Should_remove_HtmlEncode (line 95) | [Fact]
method Should_remove_HttpUtility_HtmlEncode (line 106) | [Fact]
method Should_remove_cast_to_string_while_removing_HttpUtility_HtmlEncode (line 117) | [Fact]
FILE: Telerik.RazorConverter.Tests/Razor/Converters/TextNodeConverterTests.cs
class TextNodeConverterTests (line 9) | public class TextNodeConverterTests
method TextNodeConverterTests (line 15) | public TextNodeConverterTests()
method Should_be_able_to_convert_text_node (line 22) | [Fact]
method Should_not_be_able_to_convert_generic_node (line 28) | [Fact]
method Should_convert_text_as_it_is (line 34) | [Fact]
FILE: Telerik.RazorConverter.Tests/Razor/Converters/WebFormsToRazorConverterTests.cs
class WebFormsToRazorConverterTests (line 10) | public class WebFormsToRazorConverterTests
method WebFormsToRazorConverterTests (line 18) | public WebFormsToRazorConverterTests()
method Should_check_if_converter_supports_child_node (line 34) | [Fact]
method Should_call_converter_if_supports_child_node (line 42) | [Fact]
FILE: Telerik.RazorConverter.Tests/Razor/DOM/RazorCodeNodeFactoryTests.cs
class RazorCodeNodeFactoryTests (line 6) | public class RazorCodeNodeFactoryTests
method RazorCodeNodeFactoryTests (line 10) | public RazorCodeNodeFactoryTests()
method Should_set_code (line 15) | [Fact]
method Should_set_requires_prefix (line 22) | [Fact]
FILE: Telerik.RazorConverter.Tests/Razor/DOM/RazorCommentNodeFactoryTests.cs
class RazorCommentNodeFactoryTests (line 6) | public class RazorCommentNodeFactoryTests
method RazorCommentNodeFactoryTests (line 10) | public RazorCommentNodeFactoryTests()
method Should_set_text (line 15) | [Fact]
FILE: Telerik.RazorConverter.Tests/Razor/DOM/RazorDirectiveNodeFactoryTests.cs
class RazorDirectiveNodeFactoryTests (line 6) | public class RazorDirectiveNodeFactoryTests
method RazorDirectiveNodeFactoryTests (line 10) | public RazorDirectiveNodeFactoryTests()
method Should_set_directive (line 15) | [Fact]
method Should_set_parameters (line 22) | [Fact]
FILE: Telerik.RazorConverter.Tests/Razor/DOM/RazorNodeTests.cs
class RazorNodeTests (line 6) | public class RazorNodeTests
method RazorNodeTests (line 10) | public RazorNodeTests()
method Should_set_parent_upon_adding (line 15) | [Fact]
FILE: Telerik.RazorConverter.Tests/Razor/DOM/RazorTextNodeFactoryTests.cs
class RazorTextNodeFactoryTests (line 6) | public class RazorTextNodeFactoryTests
method RazorTextNodeFactoryTests (line 10) | public RazorTextNodeFactoryTests()
method Should_set_text (line 15) | [Fact]
FILE: Telerik.RazorConverter.Tests/Razor/Rendering/CodeNodeRendererTests.cs
class CodeNodeRendererTests (line 8) | public class CodeNodeRendererTests
method CodeNodeRendererTests (line 13) | public CodeNodeRendererTests()
method Should_support_code_node (line 19) | [Fact]
method Should_not_support_other_nodes (line 25) | [Fact]
method Should_prefix_code (line 31) | [Fact]
method Should_trim_start_of_code_when_adding_prefix (line 40) | [Fact]
method Should_not_prefix_continued_code (line 49) | [Fact]
method Should_not_trim_start_of_continued_code (line 58) | [Fact]
method Should_add_block (line 67) | [Fact]
FILE: Telerik.RazorConverter.Tests/Razor/Rendering/CommentNodeRendererTests.cs
class CommentNodeRendererTests (line 8) | public class CommentNodeRendererTests
method CommentNodeRendererTests (line 13) | public CommentNodeRendererTests()
method Should_support_comment_node (line 19) | [Fact]
method Should_not_support_generic_node (line 25) | [Fact]
method Should_render_comment_with_razor_syntax (line 31) | [Fact]
FILE: Telerik.RazorConverter.Tests/Razor/Rendering/DirectiveNodeRendererTests.cs
class DirectiveNodeRendererTests (line 8) | public class DirectiveNodeRendererTests
method DirectiveNodeRendererTests (line 13) | public DirectiveNodeRendererTests()
method Should_be_able_to_render_directive_node (line 19) | [Fact]
method Should_prefix_directive (line 25) | [Fact]
method Should_render_parameters (line 32) | [Fact]
FILE: Telerik.RazorConverter.Tests/Razor/Rendering/ExpressionNodeRendererTests.cs
class ExpressionNodeRendererTests (line 8) | public class ExpressionNodeRendererTests
method ExpressionNodeRendererTests (line 13) | public ExpressionNodeRendererTests()
method Should_support_expression_node (line 19) | [Fact]
method Should_not_support_other_nodes (line 25) | [Fact]
method Should_prefix_expression (line 31) | [Fact]
method Should_add_parentheses_for_multiline_expressions (line 39) | [Fact]
FILE: Telerik.RazorConverter.Tests/Razor/Rendering/RazorViewRendererTests.cs
class RazorViewRendererTests (line 10) | public class RazorViewRendererTests
method RazorViewRendererTests (line 21) | public RazorViewRendererTests()
method Should_check_if_renderer_supports_child_node (line 40) | [Fact]
method Should_call_renderer_if_supports_child_node (line 48) | [Fact]
FILE: Telerik.RazorConverter.Tests/Razor/Rendering/SectionNodeRendererTests.cs
class SectionNodeRendererTests (line 10) | public class SectionNodeRendererTests
method SectionNodeRendererTests (line 18) | public SectionNodeRendererTests()
method Should_support_code_node (line 29) | [Fact]
method Should_not_support_other_nodes (line 35) | [Fact]
method Should_render_empty_section (line 41) | [Fact]
method Should_render_children_in_section (line 50) | [Fact]
FILE: Telerik.RazorConverter.Tests/Razor/Rendering/TextNodeRendererTests.cs
class TextNodeRendererTests (line 8) | public class TextNodeRendererTests
method TextNodeRendererTests (line 13) | public TextNodeRendererTests()
method Should_support_text_node (line 19) | [Fact]
method Should_not_support_generic_node (line 25) | [Fact]
method Should_render_text_as_it_is (line 31) | [Fact]
FILE: Telerik.RazorConverter.Tests/WebForms/DOM/WebFormsCodeGroupNodeTests.cs
class WebFormsCodeGroupNodeTests (line 8) | public class WebFormsCodeGroupNodeTests
method WebFormsCodeGroupNodeTests (line 15) | public WebFormsCodeGroupNodeTests()
method Should_combine_content_of_children (line 28) | [Fact]
method Should_replace_content_of_individual_nodes (line 38) | [Fact]
method Should_throw_exception_when_adding_non_content_node (line 52) | [Fact]
method Should_throw_exception_when_trying_to_replace_with_fewer_parts (line 59) | [Fact]
FILE: Telerik.RazorConverter.Tests/WebForms/Filters/AddBlockBracesFilterTests.cs
class AddBlockBracesFilterTests (line 10) | public class AddBlockBracesFilterTests
method AddBlockBracesFilterTests (line 17) | public AddBlockBracesFilterTests()
method Should_not_transform_generic_block (line 24) | [Fact]
method Should_not_transform_opening_code_block (line 34) | [Fact]
method Should_not_transform_continued_code_block (line 45) | [Fact]
method Should_not_transform_closing_code_block (line 56) | [Fact]
method Should_add_braces_to_non_keyword_statement (line 67) | [Fact]
method Should_not_add_braces_to_if_statement (line 79) | [Fact]
method Should_not_add_braces_to_Html_RenderPartial_statement (line 90) | [Fact]
method Should_add_braces_to_blocks_with_multiple_statements (line 101) | [Fact]
method Should_add_braces_to_code_group (line 113) | [Fact]
FILE: Telerik.RazorConverter.Tests/WebForms/Filters/CodeBlockGroupingFilterTests.cs
class CodeBlockGroupingFilterTests (line 10) | public class CodeBlockGroupingFilterTests
method CodeBlockGroupingFilterTests (line 25) | public CodeBlockGroupingFilterTests()
method Should_not_transform_noncode_block (line 45) | [Fact]
method Should_preserve_surrounding_noncode_blocks (line 53) | [Fact]
method Should_not_transform_complete_code_block (line 67) | [Fact]
method Should_add_opening_code_block_to_group (line 76) | [Fact]
method Should_add_inner_text_block_to_group (line 87) | [Fact]
method Should_add_continued_code_block_to_group (line 99) | [Fact]
method Should_add_closing_code_block_to_group (line 111) | [Fact]
method Should_not_add_outer_text_block_to_group (line 122) | [Fact]
method Should_group_nested_code_block (line 135) | [Fact]
method GetFilteredChildren (line 153) | private IList<IWebFormsNode> GetFilteredChildren()
method GetGroupedNodes (line 164) | private IList<IWebFormsNode> GetGroupedNodes()
FILE: Telerik.RazorConverter.Tests/WebForms/Filters/WrapNestedTemplatesFilterTests.cs
class WrapNestedTemplatesFilterTests (line 8) | public class WrapNestedTemplatesFilterTests
method WrapNestedTemplatesFilterTests (line 14) | public WrapNestedTemplatesFilterTests()
method Should_not_transform_generic_block (line 20) | [Fact]
method Should_wrap_nested_template (line 30) | [Fact]
FILE: Telerik.RazorConverter.Tests/WebForms/WebFormsParserFilteringTests.cs
class WebFormsParserFilteringTests (line 10) | public class WebFormsParserFilteringTests
method WebFormsParserFilteringTests (line 17) | public WebFormsParserFilteringTests()
method Should_executes_postprocessing_filters (line 27) | [Fact]
method Should_replace_nodes_with_filter_output (line 39) | [Fact]
method Should_apply_filters_recursively (line 54) | [Fact]
FILE: Telerik.RazorConverter.Tests/WebForms/WebFormsParserTests.cs
class WebFormsParserTests (line 9) | public class WebFormsParserTests
method WebFormsParserTests (line 14) | public WebFormsParserTests()
method Parse_should_return_Document_node (line 21) | [Fact]
method Parse_should_recognize_page_as_directive (line 28) | [Fact]
method Parse_should_parse_page_directive_type (line 35) | [Fact]
method Parse_should_parse_page_directive_attributes (line 42) | [Fact]
method Parse_should_parse_control_directive_type (line 50) | [Fact]
method Parse_should_parse_control_directive_attributes (line 57) | [Fact]
method Parse_should_parse_text_before_page_directive (line 65) | [Fact]
method Parse_should_parse_comments (line 72) | [Fact]
method Parse_should_parse_comments_with_dashes (line 79) | [Fact]
method Parse_should_parse_server_control_tagName (line 86) | [Fact]
method Parse_should_parse_server_control_with_additional_attributes (line 93) | [Fact]
method Parse_should_parse_server_control_attributes (line 100) | [Fact]
method Parse_should_parse_children_of_server_control (line 107) | [Fact]
method Parse_should_treat_HTML_tags_nested_in_server_control_as_text (line 114) | [Fact]
method Parse_should_parse_multiple_server_control_tags (line 121) | [Fact]
method Parse_should_parse_text_after_server_control (line 131) | [Fact]
method Parse_should_treat_HTML_tags_as_text (line 138) | [Fact]
method Parse_should_parse_expression_blocks (line 145) | [Fact]
method Parse_should_parse_expression_blocks_within_tags (line 152) | [Fact]
method Parse_should_parse_encoded_expressions_as_expression_blocks (line 160) | [Fact]
method Parse_should_parse_code_blocks (line 167) | [Fact]
method Should_mark_code_block_as_opening_when_ending_with_open_block (line 174) | [Fact]
method Should_mark_code_block_as_continued_when_closing_previous_block_and_opening_new_one (line 181) | [Fact]
method Should_mark_code_block_as_closing_when_closing_previous_block (line 188) | [Fact]
method Should_mark_code_block_as_complete_when_all_blocks_are_closed (line 195) | [Fact]
method Should_not_parse_script_content (line 202) | [Fact]
method Should_treat_doctype_as_text (line 210) | [Fact]
method Parse_should_treat_adjacent_elements_as_siblings (line 219) | [Fact]
method Parse_should_treat_adjacent_elements_withshortcut_closing_as_siblings (line 229) | [Fact]
method Should_parse_javascript_nested_expressions (line 239) | [Fact]
FILE: Telerik.RazorConverter/Document.cs
class Document (line 3) | public class Document<TNode> : IDocument<TNode>
method Document (line 11) | public Document(TNode root)
FILE: Telerik.RazorConverter/IDocument.cs
type IDocument (line 3) | public interface IDocument<TNode>
FILE: Telerik.RazorConverter/INodeConverter.cs
type INodeConverter (line 6) | public interface INodeConverter<TOut>
method ConvertNode (line 8) | IList<TOut> ConvertNode(IWebFormsNode node);
method CanConvertNode (line 9) | bool CanConvertNode(IWebFormsNode node);
FILE: Telerik.RazorConverter/IOrderMetadata.cs
type IOrderMetadata (line 5) | public interface IOrderMetadata
FILE: Telerik.RazorConverter/IRenderer.cs
type IRenderer (line 3) | public interface IRenderer<TNode>
method Render (line 5) | string Render(IDocument<TNode> document);
FILE: Telerik.RazorConverter/IWebFormsConverter.cs
type IWebFormsConverter (line 5) | public interface IWebFormsConverter<TNode>
method Convert (line 7) | IDocument<TNode> Convert(IDocument<IWebFormsNode> rootNode);
FILE: Telerik.RazorConverter/IWebFormsParser.cs
type IWebFormsParser (line 5) | public interface IWebFormsParser
method Parse (line 7) | IDocument<IWebFormsNode> Parse(string input);
FILE: Telerik.RazorConverter/Razor/Converters/CodeBlockConverter.cs
class CodeBlockConverter (line 8) | public class CodeBlockConverter : INodeConverter<IRazorNode>
method CodeBlockConverter (line 16) | public CodeBlockConverter(IRazorCodeNodeFactory nodeFactory)
method ConvertNode (line 21) | public IList<IRazorNode> ConvertNode(IWebFormsNode node)
method CanConvertNode (line 43) | public bool CanConvertNode(IWebFormsNode node)
method ReplaceRenderPartial (line 48) | private string ReplaceRenderPartial(string input)
FILE: Telerik.RazorConverter/Razor/Converters/CodeGroupConverter.cs
class CodeGroupConverter (line 8) | public class CodeGroupConverter : INodeConverter<IRazorNode>
method CodeGroupConverter (line 16) | public CodeGroupConverter(IRazorNodeConverterProvider converterProvider)
method ConvertNode (line 21) | public IList<IRazorNode> ConvertNode(IWebFormsNode node)
method CanConvertNode (line 42) | public bool CanConvertNode(IWebFormsNode node)
FILE: Telerik.RazorConverter/Razor/Converters/CommentNodeConverter.cs
class CommentNodeConverter (line 7) | public class CommentNodeConverter : INodeConverter<IRazorNode>
method CommentNodeConverter (line 15) | public CommentNodeConverter(IRazorCommentNodeFactory nodeFactory)
method ConvertNode (line 20) | public IList<IRazorNode> ConvertNode(IWebFormsNode node)
method CanConvertNode (line 27) | public bool CanConvertNode(IWebFormsNode node)
FILE: Telerik.RazorConverter/Razor/Converters/ContentTagConverter.cs
class ContentTagConverter (line 9) | public class ContentTagConverter : INodeConverter<IRazorNode>
method ContentTagConverter (line 29) | public ContentTagConverter( IRazorNodeConverterProvider converterProvi...
method ConvertNode (line 38) | public IList<IRazorNode> ConvertNode(IWebFormsNode node)
method CanConvertNode (line 98) | public bool CanConvertNode(IWebFormsNode node)
FILE: Telerik.RazorConverter/Razor/Converters/ContentTagConverterConfiguration.cs
class ContentTagConverterConfiguration (line 5) | [Export(typeof(IContentTagConverterConfiguration))]
method ContentTagConverterConfiguration (line 14) | public ContentTagConverterConfiguration()
FILE: Telerik.RazorConverter/Razor/Converters/DirectiveConverter.cs
class DirectiveConverter (line 8) | public class DirectiveConverter : INodeConverter<IRazorNode>
method DirectiveConverter (line 16) | public DirectiveConverter(IRazorDirectiveNodeFactory nodeFactory)
method ConvertNode (line 21) | public IList<IRazorNode> ConvertNode(IWebFormsNode node)
method CanConvertNode (line 58) | public bool CanConvertNode(IWebFormsNode node)
FILE: Telerik.RazorConverter/Razor/Converters/ExpressionBlockConverter.cs
class ExpressionBlockConverter (line 8) | public class ExpressionBlockConverter : INodeConverter<IRazorNode>
method ExpressionBlockConverter (line 16) | public ExpressionBlockConverter(IRazorExpressionNodeFactory nodeFactory)
method ConvertNode (line 21) | public IList<IRazorNode> ConvertNode(IWebFormsNode node)
method CanConvertNode (line 35) | public bool CanConvertNode(IWebFormsNode node)
method RemoveHtmlEncode (line 40) | private string RemoveHtmlEncode(string input)
method WrapHtmlDecode (line 50) | private string WrapHtmlDecode(string input)
FILE: Telerik.RazorConverter/Razor/Converters/IContentTagConverterConfiguration.cs
type IContentTagConverterConfiguration (line 3) | public interface IContentTagConverterConfiguration
FILE: Telerik.RazorConverter/Razor/Converters/IRazorNodeConverterProvider.cs
type IRazorNodeConverterProvider (line 6) | public interface IRazorNodeConverterProvider
FILE: Telerik.RazorConverter/Razor/Converters/RazorNodeConverterProvider.cs
class RazorNodeConverterProvider (line 8) | [Export(typeof(IRazorNodeConverterProvider))]
method RazorNodeConverterProvider (line 11) | [ImportingConstructor]
FILE: Telerik.RazorConverter/Razor/Converters/TextNodeConverter.cs
class TextNodeConverter (line 7) | public class TextNodeConverter : INodeConverter<IRazorNode>
method TextNodeConverter (line 15) | public TextNodeConverter(IRazorTextNodeFactory nodeFactory)
method ConvertNode (line 20) | public IList<IRazorNode> ConvertNode(IWebFormsNode node)
method CanConvertNode (line 27) | public bool CanConvertNode(IWebFormsNode node)
FILE: Telerik.RazorConverter/Razor/Converters/WebFormsToRazorConverter.cs
class WebFormsToRazorConverter (line 7) | [Export(typeof(IWebFormsConverter<IRazorNode>))]
method WebFormsToRazorConverter (line 16) | [ImportingConstructor]
method Convert (line 22) | public IDocument<IRazorNode> Convert(IDocument<IWebFormsNode> srcDoc)
FILE: Telerik.RazorConverter/Razor/DOM/IRazorCodeNode.cs
type IRazorCodeNode (line 3) | public interface IRazorCodeNode : IRazorNode
FILE: Telerik.RazorConverter/Razor/DOM/IRazorCodeNodeFactory.cs
type IRazorCodeNodeFactory (line 3) | public interface IRazorCodeNodeFactory
method CreateCodeNode (line 5) | IRazorCodeNode CreateCodeNode(string code, bool requiresPrefix, bool r...
FILE: Telerik.RazorConverter/Razor/DOM/IRazorCommentNode.cs
type IRazorCommentNode (line 3) | public interface IRazorCommentNode : IRazorNode
FILE: Telerik.RazorConverter/Razor/DOM/IRazorCommentNodeFactory.cs
type IRazorCommentNodeFactory (line 3) | public interface IRazorCommentNodeFactory
method CreateCommentNode (line 5) | IRazorCommentNode CreateCommentNode(string text);
FILE: Telerik.RazorConverter/Razor/DOM/IRazorDirectiveNode.cs
type IRazorDirectiveNode (line 3) | public interface IRazorDirectiveNode : IRazorNode
FILE: Telerik.RazorConverter/Razor/DOM/IRazorDirectiveNodeFactory.cs
type IRazorDirectiveNodeFactory (line 3) | public interface IRazorDirectiveNodeFactory
method CreateDirectiveNode (line 5) | IRazorDirectiveNode CreateDirectiveNode(string directive, string param...
FILE: Telerik.RazorConverter/Razor/DOM/IRazorExpressionNode.cs
type IRazorExpressionNode (line 3) | public interface IRazorExpressionNode : IRazorNode
FILE: Telerik.RazorConverter/Razor/DOM/IRazorExpressionNodeFactory.cs
type IRazorExpressionNodeFactory (line 3) | public interface IRazorExpressionNodeFactory
method CreateExpressionNode (line 5) | IRazorExpressionNode CreateExpressionNode(string expression, bool isMu...
FILE: Telerik.RazorConverter/Razor/DOM/IRazorNode.cs
type IRazorNode (line 5) | public interface IRazorNode
FILE: Telerik.RazorConverter/Razor/DOM/IRazorSectionNode.cs
type IRazorSectionNode (line 3) | public interface IRazorSectionNode : IRazorNode
FILE: Telerik.RazorConverter/Razor/DOM/IRazorSectionNodeFactory.cs
type IRazorSectionNodeFactory (line 3) | public interface IRazorSectionNodeFactory
method CreateSectionNode (line 5) | IRazorSectionNode CreateSectionNode(string name, bool shouldRender = f...
FILE: Telerik.RazorConverter/Razor/DOM/IRazorTextNode.cs
type IRazorTextNode (line 3) | public interface IRazorTextNode : IRazorNode
FILE: Telerik.RazorConverter/Razor/DOM/IRazorTextNodeFactory.cs
type IRazorTextNodeFactory (line 3) | public interface IRazorTextNodeFactory
method CreateTextNode (line 5) | IRazorTextNode CreateTextNode(string text);
FILE: Telerik.RazorConverter/Razor/DOM/RazorCodeNode.cs
class RazorCodeNode (line 3) | public class RazorCodeNode : RazorNode, IRazorCodeNode
FILE: Telerik.RazorConverter/Razor/DOM/RazorCodeNodeFactory.cs
class RazorCodeNodeFactory (line 5) | [Export(typeof(IRazorCodeNodeFactory))]
method CreateCodeNode (line 8) | public IRazorCodeNode CreateCodeNode(string code, bool requiresPrefix,...
FILE: Telerik.RazorConverter/Razor/DOM/RazorCommentNode.cs
class RazorCommentNode (line 3) | public class RazorCommentNode : RazorNode, IRazorCommentNode
method RazorCommentNode (line 11) | public RazorCommentNode()
method RazorCommentNode (line 15) | public RazorCommentNode(string text)
FILE: Telerik.RazorConverter/Razor/DOM/RazorCommentNodeFactory.cs
class RazorCommentNodeFactory (line 5) | [Export(typeof(IRazorCommentNodeFactory))]
method CreateCommentNode (line 8) | public IRazorCommentNode CreateCommentNode(string text)
FILE: Telerik.RazorConverter/Razor/DOM/RazorDirectiveNode.cs
class RazorDirectiveNode (line 3) | public class RazorDirectiveNode : RazorNode, IRazorDirectiveNode
method RazorDirectiveNode (line 17) | public RazorDirectiveNode()
method RazorDirectiveNode (line 21) | public RazorDirectiveNode(string directive, string parameters)
FILE: Telerik.RazorConverter/Razor/DOM/RazorDirectiveNodeFactory.cs
class RazorDirectiveNodeFactory (line 5) | [Export(typeof(IRazorDirectiveNodeFactory))]
method CreateDirectiveNode (line 8) | public IRazorDirectiveNode CreateDirectiveNode(string directive, strin...
FILE: Telerik.RazorConverter/Razor/DOM/RazorExpressionNode.cs
class RazorExpressionNode (line 3) | public class RazorExpressionNode : RazorNode, IRazorExpressionNode
FILE: Telerik.RazorConverter/Razor/DOM/RazorExpressionNodeFactory.cs
class RazorExpressionNodeFactory (line 5) | [Export(typeof(IRazorExpressionNodeFactory))]
method CreateExpressionNode (line 8) | public IRazorExpressionNode CreateExpressionNode(string expression, bo...
FILE: Telerik.RazorConverter/Razor/DOM/RazorNode.cs
class RazorNode (line 7) | public class RazorNode : IRazorNode
method RazorNode (line 21) | public RazorNode()
method OnChildrenCollectionChanged (line 27) | protected virtual void OnChildrenCollectionChanged(object sender, Noti...
FILE: Telerik.RazorConverter/Razor/DOM/RazorSectionNode.cs
class RazorSectionNode (line 3) | public class RazorSectionNode : RazorNode, IRazorSectionNode
method RazorSectionNode (line 17) | public RazorSectionNode()
method RazorSectionNode (line 21) | public RazorSectionNode(string sectionName, bool shouldRender)
FILE: Telerik.RazorConverter/Razor/DOM/RazorSectionNodeFactory.cs
class RazorSectionNodeFactory (line 5) | [Export(typeof(IRazorSectionNodeFactory))]
method CreateSectionNode (line 8) | public IRazorSectionNode CreateSectionNode(string sectionName, bool sh...
FILE: Telerik.RazorConverter/Razor/DOM/RazorTextNode.cs
class RazorTextNode (line 3) | public class RazorTextNode : RazorNode, IRazorTextNode
method RazorTextNode (line 11) | public RazorTextNode()
method RazorTextNode (line 15) | public RazorTextNode(string text)
FILE: Telerik.RazorConverter/Razor/DOM/RazorTextNodeFactory.cs
class RazorTextNodeFactory (line 5) | [Export(typeof(IRazorTextNodeFactory))]
method CreateTextNode (line 8) | public IRazorTextNode CreateTextNode(string text)
FILE: Telerik.RazorConverter/Razor/Rendering/CodeNodeRenderer.cs
class CodeNodeRenderer (line 5) | public class CodeNodeRenderer : IRazorNodeRenderer
method RenderNode (line 7) | public string RenderNode(IRazorNode node)
method CanRenderNode (line 27) | public bool CanRenderNode(IRazorNode node)
FILE: Telerik.RazorConverter/Razor/Rendering/CommentNodeRenderer.cs
class CommentNodeRenderer (line 5) | public class CommentNodeRenderer : IRazorNodeRenderer
method RenderNode (line 7) | public string RenderNode(IRazorNode node)
method CanRenderNode (line 13) | public bool CanRenderNode(IRazorNode node)
FILE: Telerik.RazorConverter/Razor/Rendering/DirectiveNodeRenderer.cs
class DirectiveNodeRenderer (line 5) | public class DirectiveNodeRenderer : IRazorNodeRenderer
method RenderNode (line 7) | public string RenderNode(IRazorNode node)
method CanRenderNode (line 13) | public bool CanRenderNode(IRazorNode node)
FILE: Telerik.RazorConverter/Razor/Rendering/ExpressionNodeRenderer.cs
class ExpressionNodeRenderer (line 5) | public class ExpressionNodeRenderer : IRazorNodeRenderer
method RenderNode (line 7) | public string RenderNode(IRazorNode node)
method CanRenderNode (line 21) | public bool CanRenderNode(IRazorNode node)
FILE: Telerik.RazorConverter/Razor/Rendering/IRazorNodeRenderer.cs
type IRazorNodeRenderer (line 5) | public interface IRazorNodeRenderer
method RenderNode (line 7) | string RenderNode(IRazorNode node);
method CanRenderNode (line 8) | bool CanRenderNode(IRazorNode node);
FILE: Telerik.RazorConverter/Razor/Rendering/IRazorNodeRendererProvider.cs
type IRazorNodeRendererProvider (line 5) | public interface IRazorNodeRendererProvider
FILE: Telerik.RazorConverter/Razor/Rendering/RazorNodeRendererProvider.cs
class RazorNodeRendererProvider (line 6) | [Export(typeof(IRazorNodeRendererProvider))]
method RazorNodeRendererProvider (line 15) | public RazorNodeRendererProvider()
FILE: Telerik.RazorConverter/Razor/Rendering/RazorViewRenderer.cs
class RazorViewRenderer (line 8) | [Export(typeof(IRenderer<IRazorNode>))]
method RazorViewRenderer (line 17) | [ImportingConstructor]
method Render (line 23) | public string Render(IDocument<IRazorNode> document)
FILE: Telerik.RazorConverter/Razor/Rendering/SectionNodeRenderer.cs
class SectionNodeRenderer (line 6) | public class SectionNodeRenderer : IRazorNodeRenderer
method SectionNodeRenderer (line 14) | public SectionNodeRenderer(IRazorNodeRendererProvider NodeRendererProv...
method RenderNode (line 19) | public string RenderNode(IRazorNode node)
method RenderChildren (line 33) | private string RenderChildren(IRazorNode node)
method CanRenderNode (line 51) | public bool CanRenderNode(IRazorNode node)
FILE: Telerik.RazorConverter/Razor/Rendering/TextNodeRenderer.cs
class TextNodeRenderer (line 5) | public class TextNodeRenderer : IRazorNodeRenderer
method RenderNode (line 7) | public string RenderNode(IRazorNode node)
method CanRenderNode (line 13) | public bool CanRenderNode(IRazorNode node)
FILE: Telerik.RazorConverter/WebForms/DOM/CodeBlockNodeType.cs
type CodeBlockNodeType (line 3) | public enum CodeBlockNodeType
FILE: Telerik.RazorConverter/WebForms/DOM/CommentNode.cs
class CommentNode (line 3) | public class CommentNode : WebFormsNode, IWebFormsCommentNode
method CommentNode (line 24) | public CommentNode()
FILE: Telerik.RazorConverter/WebForms/DOM/DirectiveNode.cs
class DirectiveNode (line 3) | public class DirectiveNode : WebFormsNode, IWebFormsDirectiveNode
FILE: Telerik.RazorConverter/WebForms/DOM/DirectiveType.cs
type DirectiveType (line 3) | public enum DirectiveType
FILE: Telerik.RazorConverter/WebForms/DOM/ExpressionBlockNode.cs
class ExpressionBlockNode (line 3) | public class ExpressionBlockNode : WebFormsNode, IWebFormsExpressionBloc...
method ExpressionBlockNode (line 24) | public ExpressionBlockNode()
FILE: Telerik.RazorConverter/WebForms/DOM/IWebFormsCodeBlockNode.cs
type IWebFormsCodeBlockNode (line 3) | public interface IWebFormsCodeBlockNode : IWebFormsContentNode
FILE: Telerik.RazorConverter/WebForms/DOM/IWebFormsCodeGroupNode.cs
type IWebFormsCodeGroupNode (line 3) | public interface IWebFormsCodeGroupNode : IWebFormsContentNode
FILE: Telerik.RazorConverter/WebForms/DOM/IWebFormsCodeGroupNodeFactory.cs
type IWebFormsCodeGroupNodeFactory (line 3) | public interface IWebFormsCodeGroupNodeFactory
method CreatCodeGroupNode (line 5) | IWebFormsCodeGroupNode CreatCodeGroupNode(IWebFormsCodeBlockNode first...
FILE: Telerik.RazorConverter/WebForms/DOM/IWebFormsCommentNode.cs
type IWebFormsCommentNode (line 3) | public interface IWebFormsCommentNode : IWebFormsContentNode
FILE: Telerik.RazorConverter/WebForms/DOM/IWebFormsContentNode.cs
type IWebFormsContentNode (line 3) | public interface IWebFormsContentNode : IWebFormsNode
FILE: Telerik.RazorConverter/WebForms/DOM/IWebFormsDirectiveNode.cs
type IWebFormsDirectiveNode (line 3) | public interface IWebFormsDirectiveNode : IWebFormsNode
FILE: Telerik.RazorConverter/WebForms/DOM/IWebFormsExpressionBlockNode.cs
type IWebFormsExpressionBlockNode (line 3) | public interface IWebFormsExpressionBlockNode : IWebFormsContentNode
FILE: Telerik.RazorConverter/WebForms/DOM/IWebFormsNode.cs
type IWebFormsNode (line 5) | public interface IWebFormsNode
FILE: Telerik.RazorConverter/WebForms/DOM/IWebFormsNodeFactory.cs
type IWebFormsNodeFactory (line 6) | public interface IWebFormsNodeFactory
method CreateNode (line 8) | IWebFormsNode CreateNode(Match match, NodeType type);
FILE: Telerik.RazorConverter/WebForms/DOM/IWebFormsServerControlNode.cs
type IWebFormsServerControlNode (line 3) | public interface IWebFormsServerControlNode : IWebFormsNode
FILE: Telerik.RazorConverter/WebForms/DOM/IWebFormsTextNode.cs
type IWebFormsTextNode (line 3) | public interface IWebFormsTextNode : IWebFormsContentNode
FILE: Telerik.RazorConverter/WebForms/DOM/NodeType.cs
type NodeType (line 3) | public enum NodeType
FILE: Telerik.RazorConverter/WebForms/DOM/ServerControlNode.cs
class ServerControlNode (line 3) | public class ServerControlNode : WebFormsNode, IWebFormsServerControlNode
method ServerControlNode (line 11) | public ServerControlNode()
FILE: Telerik.RazorConverter/WebForms/DOM/TextNode.cs
class TextNode (line 3) | public class TextNode : WebFormsNode, IWebFormsTextNode
method TextNode (line 24) | public TextNode()
FILE: Telerik.RazorConverter/WebForms/DOM/WebFormsCodeBlockNode.cs
class WebFormsCodeBlockNode (line 3) | public class WebFormsCodeBlockNode : WebFormsNode, IWebFormsCodeBlockNode
method WebFormsCodeBlockNode (line 30) | public WebFormsCodeBlockNode()
FILE: Telerik.RazorConverter/WebForms/DOM/WebFormsCodeGroupFactory.cs
class WebFormsCodeGroupFactory (line 5) | [Export(typeof(IWebFormsCodeGroupNodeFactory))]
method CreatCodeGroupNode (line 8) | public IWebFormsCodeGroupNode CreatCodeGroupNode(IWebFormsCodeBlockNod...
FILE: Telerik.RazorConverter/WebForms/DOM/WebFormsCodeGroupNode.cs
class WebFormsCodeGroupNode (line 7) | public class WebFormsCodeGroupNode : WebFormsNode, IWebFormsCodeGroupNode
method ReplaceContent (line 24) | private void ReplaceContent(string content)
method OnChildrenCollectionChanged (line 39) | protected override void OnChildrenCollectionChanged(object sender, Not...
FILE: Telerik.RazorConverter/WebForms/DOM/WebFormsNode.cs
class WebFormsNode (line 8) | public class WebFormsNode : IWebFormsNode
method WebFormsNode (line 34) | public WebFormsNode()
method OnChildrenCollectionChanged (line 42) | protected virtual void OnChildrenCollectionChanged(object sender, Noti...
FILE: Telerik.RazorConverter/WebForms/DOM/WebFormsNodeFactory.cs
class WebFormsNodeFactory (line 10) | [Export(typeof(IWebFormsNodeFactory))]
method WebFormsNodeFactory (line 21) | public WebFormsNodeFactory()
method CreateNode (line 34) | public IWebFormsNode CreateNode(Match match, NodeType type)
method DirectiveNodeBuilder (line 49) | private IWebFormsNode DirectiveNodeBuilder(Match match)
method TextNodeBuilder (line 78) | private IWebFormsNode TextNodeBuilder(Match match)
method CommentNodeBuilder (line 85) | private IWebFormsNode CommentNodeBuilder(Match match)
method ServerControlNodeBuilder (line 92) | private IWebFormsNode ServerControlNodeBuilder(Match match)
method CodeBlockNodeBuilder (line 119) | private IWebFormsNode CodeBlockNodeBuilder(Match match)
method ExpressionBlockNodeBuilder (line 149) | private IWebFormsNode ExpressionBlockNodeBuilder(Match match)
FILE: Telerik.RazorConverter/WebForms/Filters/AddBlockBracesFilter.cs
class AddBlockBracesFilter (line 7) | public class AddBlockBracesFilter : IWebFormsNodeFilter
method Filter (line 9) | public IList<IWebFormsNode> Filter(IWebFormsNode node, IWebFormsNode p...
method RequiresBlock (line 25) | private bool RequiresBlock(string code)
FILE: Telerik.RazorConverter/WebForms/Filters/CodeBlockGroupingFilter.cs
class CodeBlockGroupingFilter (line 7) | public class CodeBlockGroupingFilter : IWebFormsNodeFilter
method CodeBlockGroupingFilter (line 15) | public CodeBlockGroupingFilter(IWebFormsCodeGroupNodeFactory nodeFactory)
method Filter (line 20) | public IList<IWebFormsNode> Filter(IWebFormsNode node, IWebFormsNode p...
method FindLastOpenGroup (line 45) | private IWebFormsCodeGroupNode FindLastOpenGroup(IWebFormsNode previou...
FILE: Telerik.RazorConverter/WebForms/Filters/IWebFormsNodeFilter.cs
type IWebFormsNodeFilter (line 6) | public interface IWebFormsNodeFilter
method Filter (line 8) | IList<IWebFormsNode> Filter(IWebFormsNode node, IWebFormsNode previous...
FILE: Telerik.RazorConverter/WebForms/Filters/IWebFormsNodeFilterProvider.cs
type IWebFormsNodeFilterProvider (line 5) | public interface IWebFormsNodeFilterProvider
FILE: Telerik.RazorConverter/WebForms/Filters/WebFormsNodeFilterProvider.cs
class WebFormsNodeFilterProvider (line 7) | [Export(typeof(IWebFormsNodeFilterProvider))]
method WebFormsNodeFilterProvider (line 10) | [ImportingConstructor]
FILE: Telerik.RazorConverter/WebForms/Filters/WrapNestedTemplatesFilter.cs
class WrapNestedTemplatesFilter (line 7) | public class WrapNestedTemplatesFilter : IWebFormsNodeFilter
method Filter (line 9) | public IList<IWebFormsNode> Filter(IWebFormsNode node, IWebFormsNode p...
method WrapNestedTemplates (line 21) | private string WrapNestedTemplates(string content)
FILE: Telerik.RazorConverter/WebForms/Parsing/AttributesReader.cs
class AttributesReader (line 6) | public class AttributesReader : IAttributesReader
method ReadAttributes (line 8) | public void ReadAttributes(Match match, IDictionary<string, string> at...
FILE: Telerik.RazorConverter/WebForms/Parsing/IAttributesReader.cs
type IAttributesReader (line 6) | public interface IAttributesReader
method ReadAttributes (line 8) | void ReadAttributes(Match match, IDictionary<string, string> attributes);
FILE: Telerik.RazorConverter/WebForms/Parsing/RunatServerTagRegex.cs
class RunatServerTagRegex (line 5) | class RunatServerTagRegex : Regex
method RunatServerTagRegex (line 7) | public RunatServerTagRegex() : base(
FILE: Telerik.RazorConverter/WebForms/Parsing/WebFormsParser.cs
class WebFormsParser (line 12) | [Export(typeof(IWebFormsParser))]
method WebFormsParser (line 27) | static WebFormsParser()
method WebFormsParser (line 54) | [ImportingConstructor]
method Parse (line 61) | public IDocument<IWebFormsNode> Parse(string input)
method ApplyPostprocessingFilters (line 149) | private void ApplyPostprocessingFilters(IWebFormsNode rootNode)
method FilterChildNodes (line 157) | private void FilterChildNodes(IWebFormsNode rootNode, IWebFormsNodeFil...
method AppendTextNode (line 176) | private void AppendTextNode(IWebFormsNode parentNode, Match match)
FILE: aspx2razor/DirectoryHandler.cs
class DirectoryHandler (line 11) | public class DirectoryHandler {
method DirectoryHandler (line 24) | public DirectoryHandler(string inputDirectory, string outputDirectory) {
method GetFiles (line 34) | public IEnumerable<string> GetFiles(bool includeSubdirectories) {
method GetOutputFileName (line 38) | public string GetOutputFileName(string fileName) {
method MakeRelative (line 44) | private static string MakeRelative(string filePath, string referencePath)
method GetFiles (line 51) | private static List<string> GetFiles(string inputDirectory, bool inclu...
method GetFileRecursive (line 56) | private static List<string> GetFileRecursive(List<string> list, string...
method GetFullPathOrDefault (line 71) | private static string GetFullPathOrDefault(string directory) {
FILE: aspx2razor/Program.cs
class Program (line 14) | class Program {
method Main (line 24) | private static void Main(string[] args) {
method Program (line 29) | private Program() {
method Run (line 35) | public void Run(string[] args) {
method AddFail (line 99) | private static void AddFail(string fileName, string errorMessage, ILis...
method DisplayUsage (line 104) | private static void DisplayUsage() {
method EnsureDirectory (line 111) | private static void EnsureDirectory(string directory) {
method ReplaceExtension (line 117) | private static string ReplaceExtension(string fileName, string newExte...
Condensed preview — 194 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (728K chars).
[
{
"path": ".gitignore",
"chars": 63,
"preview": "bin/\r\nobj/\r\n*.suo\r\n*.vs10x\r\n_ReSharper/\r\n_ReSharper*/\r\n*.user\r\n"
},
{
"path": "LICENSE",
"chars": 1056,
"preview": "Copyright (c) 2011 Telerik Corp.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this s"
},
{
"path": "README.md",
"chars": 1990,
"preview": "The razor-converter is a simple tool for converting Microsoft® ASP.NET MVC WebForms Views to the new Razor syntax.\nI"
},
{
"path": "References/Moq.LICENSE",
"chars": 1747,
"preview": "Copyright (c) 2007. Clarius Consulting, Manas Technology Solutions, InSTEDD\nhttp://code.google.com/p/moq/\nAll rights res"
},
{
"path": "References/Moq.xml",
"chars": 292076,
"preview": "<?xml version=\"1.0\"?>\n<doc>\n <assembly>\n <name>Moq</name>\n </assembly>\n <members>\n <member name=\""
},
{
"path": "References/xunit.LICENSE",
"chars": 2629,
"preview": "Microsoft Public License (Ms-PL)\n\nThis license governs use of the accompanying software. If you use the software, you ac"
},
{
"path": "References/xunit.extensions.xml",
"chars": 46997,
"preview": "<?xml version=\"1.0\"?>\n<doc>\n <assembly>\n <name>xunit.extensions</name>\n </assembly>\n <members>\n <"
},
{
"path": "Telerik.RazorConverter/Document.cs",
"chars": 282,
"preview": "namespace Telerik.RazorConverter\n{\n public class Document<TNode> : IDocument<TNode>\n {\n public TNode RootN"
},
{
"path": "Telerik.RazorConverter/IDocument.cs",
"chars": 120,
"preview": "namespace Telerik.RazorConverter\n{\n public interface IDocument<TNode>\n {\n TNode RootNode { get; }\n }\n}\n"
},
{
"path": "Telerik.RazorConverter/INodeConverter.cs",
"chars": 280,
"preview": "namespace Telerik.RazorConverter\n{\n using System.Collections.Generic;\n using Telerik.RazorConverter.WebForms.DOM;"
},
{
"path": "Telerik.RazorConverter/IOrderMetadata.cs",
"chars": 184,
"preview": "namespace Telerik.RazorConverter\n{\n using System.ComponentModel;\n\n public interface IOrderMetadata\n {\n "
},
{
"path": "Telerik.RazorConverter/IRenderer.cs",
"chars": 138,
"preview": "namespace Telerik.RazorConverter\n{\n public interface IRenderer<TNode>\n {\n string Render(IDocument<TNode> d"
},
{
"path": "Telerik.RazorConverter/IWebFormsConverter.cs",
"chars": 214,
"preview": "namespace Telerik.RazorConverter\n{\n using Telerik.RazorConverter.WebForms.DOM;\n\n public interface IWebFormsConver"
},
{
"path": "Telerik.RazorConverter/IWebFormsParser.cs",
"chars": 189,
"preview": "namespace Telerik.RazorConverter\n{\n using Telerik.RazorConverter.WebForms.DOM;\n\n public interface IWebFormsParser"
},
{
"path": "Telerik.RazorConverter/Properties/AssemblyInfo.cs",
"chars": 1419,
"preview": "using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Infor"
},
{
"path": "Telerik.RazorConverter/Razor/Converters/CodeBlockConverter.cs",
"chars": 1944,
"preview": "namespace Telerik.RazorConverter.Razor.Converters\n{\n using System.Collections.Generic;\n using System.Text.Regular"
},
{
"path": "Telerik.RazorConverter/Razor/Converters/CodeGroupConverter.cs",
"chars": 1379,
"preview": "namespace Telerik.RazorConverter.Razor.Converters\n{\n using System.Collections.Generic;\n using Telerik.RazorConver"
},
{
"path": "Telerik.RazorConverter/Razor/Converters/CommentNodeConverter.cs",
"chars": 923,
"preview": "namespace Telerik.RazorConverter.Razor.Converters\n{\n using System.Collections.Generic;\n using Telerik.RazorConver"
},
{
"path": "Telerik.RazorConverter/Razor/Converters/ContentTagConverter.cs",
"chars": 3782,
"preview": "namespace Telerik.RazorConverter.Razor.Converters\r\n{\r\n using System;\r\n using System.Collections.Generic;\r\n usi"
},
{
"path": "Telerik.RazorConverter/Razor/Converters/ContentTagConverterConfiguration.cs",
"chars": 481,
"preview": "namespace Telerik.RazorConverter.Razor.Converters\n{\n using System.ComponentModel.Composition;\n\n [Export(typeof(IC"
},
{
"path": "Telerik.RazorConverter/Razor/Converters/DirectiveConverter.cs",
"chars": 2360,
"preview": "namespace Telerik.RazorConverter.Razor.Converters\n{\n using System.Collections.Generic;\n using System.Text.Regular"
},
{
"path": "Telerik.RazorConverter/Razor/Converters/ExpressionBlockConverter.cs",
"chars": 2331,
"preview": "namespace Telerik.RazorConverter.Razor.Converters\n{\n using System.Collections.Generic;\n using System.Text.Regular"
},
{
"path": "Telerik.RazorConverter/Razor/Converters/IContentTagConverterConfiguration.cs",
"chars": 171,
"preview": "namespace Telerik.RazorConverter.Razor.Converters\n{\n public interface IContentTagConverterConfiguration\n {\n "
},
{
"path": "Telerik.RazorConverter/Razor/Converters/IRazorNodeConverterProvider.cs",
"chars": 265,
"preview": "namespace Telerik.RazorConverter.Razor.Converters\n{\n using System.Collections.Generic;\n using Telerik.RazorConver"
},
{
"path": "Telerik.RazorConverter/Razor/Converters/RazorNodeConverterProvider.cs",
"chars": 1692,
"preview": "namespace Telerik.RazorConverter.Razor.Converters\n{\n using System.Collections.Generic;\n using System.ComponentMod"
},
{
"path": "Telerik.RazorConverter/Razor/Converters/TextNodeConverter.cs",
"chars": 893,
"preview": "namespace Telerik.RazorConverter.Razor.Converters\n{\n using System.Collections.Generic;\n using Telerik.RazorConver"
},
{
"path": "Telerik.RazorConverter/Razor/Converters/WebFormsToRazorConverter.cs",
"chars": 1347,
"preview": "namespace Telerik.RazorConverter.Razor.Converters\n{\n using System.ComponentModel.Composition;\n using Telerik.Razo"
},
{
"path": "Telerik.RazorConverter/Razor/DOM/IRazorCodeNode.cs",
"chars": 211,
"preview": "namespace Telerik.RazorConverter.Razor.DOM\n{\n public interface IRazorCodeNode : IRazorNode\n {\n string Code"
},
{
"path": "Telerik.RazorConverter/Razor/DOM/IRazorCodeNodeFactory.cs",
"chars": 196,
"preview": "namespace Telerik.RazorConverter.Razor.DOM\n{\n public interface IRazorCodeNodeFactory\n {\n IRazorCodeNode Cr"
},
{
"path": "Telerik.RazorConverter/Razor/DOM/IRazorCommentNode.cs",
"chars": 149,
"preview": "namespace Telerik.RazorConverter.Razor.DOM\n{\n public interface IRazorCommentNode : IRazorNode\n {\n string T"
},
{
"path": "Telerik.RazorConverter/Razor/DOM/IRazorCommentNodeFactory.cs",
"chars": 164,
"preview": "namespace Telerik.RazorConverter.Razor.DOM\n{\n public interface IRazorCommentNodeFactory\n {\n IRazorCommentN"
},
{
"path": "Telerik.RazorConverter/Razor/DOM/IRazorDirectiveNode.cs",
"chars": 183,
"preview": "namespace Telerik.RazorConverter.Razor.DOM\n{\n public interface IRazorDirectiveNode : IRazorNode\n {\n string"
},
{
"path": "Telerik.RazorConverter/Razor/DOM/IRazorDirectiveNodeFactory.cs",
"chars": 194,
"preview": "namespace Telerik.RazorConverter.Razor.DOM\n{\n public interface IRazorDirectiveNodeFactory\n {\n IRazorDirect"
},
{
"path": "Telerik.RazorConverter/Razor/DOM/IRazorExpressionNode.cs",
"chars": 184,
"preview": "namespace Telerik.RazorConverter.Razor.DOM\n{\n public interface IRazorExpressionNode : IRazorNode\n {\n strin"
},
{
"path": "Telerik.RazorConverter/Razor/DOM/IRazorExpressionNodeFactory.cs",
"chars": 197,
"preview": "namespace Telerik.RazorConverter.Razor.DOM\n{\n public interface IRazorExpressionNodeFactory\n {\n IRazorExpre"
},
{
"path": "Telerik.RazorConverter/Razor/DOM/IRazorNode.cs",
"chars": 216,
"preview": "namespace Telerik.RazorConverter.Razor.DOM\n{\n using System.Collections.Generic;\n\n public interface IRazorNode\n "
},
{
"path": "Telerik.RazorConverter/Razor/DOM/IRazorSectionNode.cs",
"chars": 177,
"preview": "namespace Telerik.RazorConverter.Razor.DOM\n{\n public interface IRazorSectionNode : IRazorNode\n {\n string N"
},
{
"path": "Telerik.RazorConverter/Razor/DOM/IRazorSectionNodeFactory.cs",
"chars": 191,
"preview": "namespace Telerik.RazorConverter.Razor.DOM\n{\n public interface IRazorSectionNodeFactory\n {\n IRazorSectionN"
},
{
"path": "Telerik.RazorConverter/Razor/DOM/IRazorTextNode.cs",
"chars": 138,
"preview": "namespace Telerik.RazorConverter.Razor.DOM\n{\n public interface IRazorTextNode : IRazorNode\n {\n string Text"
},
{
"path": "Telerik.RazorConverter/Razor/DOM/IRazorTextNodeFactory.cs",
"chars": 155,
"preview": "namespace Telerik.RazorConverter.Razor.DOM\n{\n public interface IRazorTextNodeFactory\n {\n IRazorTextNode Cr"
},
{
"path": "Telerik.RazorConverter/Razor/DOM/RazorCodeNode.cs",
"chars": 379,
"preview": "namespace Telerik.RazorConverter.Razor.DOM\n{\n public class RazorCodeNode : RazorNode, IRazorCodeNode\n {\n p"
},
{
"path": "Telerik.RazorConverter/Razor/DOM/RazorCodeNodeFactory.cs",
"chars": 449,
"preview": "namespace Telerik.RazorConverter.Razor.DOM\n{\n using System.ComponentModel.Composition;\n\n [Export(typeof(IRazorCod"
},
{
"path": "Telerik.RazorConverter/Razor/DOM/RazorCommentNode.cs",
"chars": 352,
"preview": "namespace Telerik.RazorConverter.Razor.DOM\n{\n public class RazorCommentNode : RazorNode, IRazorCommentNode\n {\n "
},
{
"path": "Telerik.RazorConverter/Razor/DOM/RazorCommentNodeFactory.cs",
"chars": 362,
"preview": "namespace Telerik.RazorConverter.Razor.DOM\n{\n using System.ComponentModel.Composition;\n\n [Export(typeof(IRazorCom"
},
{
"path": "Telerik.RazorConverter/Razor/DOM/RazorDirectiveNode.cs",
"chars": 524,
"preview": "namespace Telerik.RazorConverter.Razor.DOM\n{\n public class RazorDirectiveNode : RazorNode, IRazorDirectiveNode\n {"
},
{
"path": "Telerik.RazorConverter/Razor/DOM/RazorDirectiveNodeFactory.cs",
"chars": 433,
"preview": "namespace Telerik.RazorConverter.Razor.DOM\n{\n using System.ComponentModel.Composition;\n\n [Export(typeof(IRazorDir"
},
{
"path": "Telerik.RazorConverter/Razor/DOM/RazorExpressionNode.cs",
"chars": 305,
"preview": "namespace Telerik.RazorConverter.Razor.DOM\n{\n public class RazorExpressionNode : RazorNode, IRazorExpressionNode\n "
},
{
"path": "Telerik.RazorConverter/Razor/DOM/RazorExpressionNodeFactory.cs",
"chars": 443,
"preview": "namespace Telerik.RazorConverter.Razor.DOM\n{\n using System.ComponentModel.Composition;\n\n [Export(typeof(IRazorExp"
},
{
"path": "Telerik.RazorConverter/Razor/DOM/RazorNode.cs",
"chars": 998,
"preview": "namespace Telerik.RazorConverter.Razor.DOM\n{\n using System.Collections.Generic;\n using System.Collections.ObjectM"
},
{
"path": "Telerik.RazorConverter/Razor/DOM/RazorSectionNode.cs",
"chars": 521,
"preview": "namespace Telerik.RazorConverter.Razor.DOM\n{\n public class RazorSectionNode : RazorNode, IRazorSectionNode\n {\n "
},
{
"path": "Telerik.RazorConverter/Razor/DOM/RazorSectionNodeFactory.cs",
"chars": 408,
"preview": "namespace Telerik.RazorConverter.Razor.DOM\n{\n using System.ComponentModel.Composition;\n\n [Export(typeof(IRazorSec"
},
{
"path": "Telerik.RazorConverter/Razor/DOM/RazorTextNode.cs",
"chars": 340,
"preview": "namespace Telerik.RazorConverter.Razor.DOM\n{\n public class RazorTextNode : RazorNode, IRazorTextNode\n {\n p"
},
{
"path": "Telerik.RazorConverter/Razor/DOM/RazorTextNodeFactory.cs",
"chars": 344,
"preview": "namespace Telerik.RazorConverter.Razor.DOM\n{\n using System.ComponentModel.Composition;\n\n [Export(typeof(IRazorTex"
},
{
"path": "Telerik.RazorConverter/Razor/Rendering/CodeNodeRenderer.cs",
"chars": 784,
"preview": "namespace Telerik.RazorConverter.Razor.Rendering\n{\n using Telerik.RazorConverter.Razor.DOM;\n\n public class CodeNo"
},
{
"path": "Telerik.RazorConverter/Razor/Rendering/CommentNodeRenderer.cs",
"chars": 465,
"preview": "namespace Telerik.RazorConverter.Razor.Rendering\n{\n using Telerik.RazorConverter.Razor.DOM;\n\n public class Commen"
},
{
"path": "Telerik.RazorConverter/Razor/Rendering/DirectiveNodeRenderer.cs",
"chars": 526,
"preview": "namespace Telerik.RazorConverter.Razor.Rendering\n{\n using Telerik.RazorConverter.Razor.DOM;\n\n public class Direct"
},
{
"path": "Telerik.RazorConverter/Razor/Rendering/ExpressionNodeRenderer.cs",
"chars": 675,
"preview": "namespace Telerik.RazorConverter.Razor.Rendering\n{\n using Telerik.RazorConverter.Razor.DOM;\n\n public class Expres"
},
{
"path": "Telerik.RazorConverter/Razor/Rendering/IRazorNodeRenderer.cs",
"chars": 240,
"preview": "namespace Telerik.RazorConverter.Razor.Rendering\n{\n using Telerik.RazorConverter.Razor.DOM;\n\n public interface IR"
},
{
"path": "Telerik.RazorConverter/Razor/Rendering/IRazorNodeRendererProvider.cs",
"chars": 210,
"preview": "namespace Telerik.RazorConverter.Razor.Rendering\n{\n using System.Collections.Generic;\n\n public interface IRazorNo"
},
{
"path": "Telerik.RazorConverter/Razor/Rendering/RazorNodeRendererProvider.cs",
"chars": 800,
"preview": "namespace Telerik.RazorConverter.Razor.Rendering\n{\n using System.Collections.Generic;\n using System.ComponentMode"
},
{
"path": "Telerik.RazorConverter/Razor/Rendering/RazorViewRenderer.cs",
"chars": 1193,
"preview": "namespace Telerik.RazorConverter.Razor.Rendering\n{\n using System.ComponentModel.Composition;\n using System.Text;\n"
},
{
"path": "Telerik.RazorConverter/Razor/Rendering/SectionNodeRenderer.cs",
"chars": 1731,
"preview": "namespace Telerik.RazorConverter.Razor.Rendering\r\n{\r\n using System.Text;\r\n using Telerik.RazorConverter.Razor.DOM"
},
{
"path": "Telerik.RazorConverter/Razor/Rendering/TextNodeRenderer.cs",
"chars": 436,
"preview": "namespace Telerik.RazorConverter.Razor.Rendering\n{\n using Telerik.RazorConverter.Razor.DOM;\n\n public class TextNo"
},
{
"path": "Telerik.RazorConverter/Telerik.RazorConverter.csproj",
"chars": 8158,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<Project ToolsVersion=\"4.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "Telerik.RazorConverter/WebForms/DOM/CodeBlockNodeType.cs",
"chars": 167,
"preview": "namespace Telerik.RazorConverter.WebForms.DOM\n{\n public enum CodeBlockNodeType\n {\n Complete,\n Openi"
},
{
"path": "Telerik.RazorConverter/WebForms/DOM/CommentNode.cs",
"chars": 510,
"preview": "namespace Telerik.RazorConverter.WebForms.DOM\n{\n public class CommentNode : WebFormsNode, IWebFormsCommentNode\n {"
},
{
"path": "Telerik.RazorConverter/WebForms/DOM/DirectiveNode.cs",
"chars": 226,
"preview": "namespace Telerik.RazorConverter.WebForms.DOM\n{\n public class DirectiveNode : WebFormsNode, IWebFormsDirectiveNode\n "
},
{
"path": "Telerik.RazorConverter/WebForms/DOM/DirectiveType.cs",
"chars": 156,
"preview": "namespace Telerik.RazorConverter.WebForms.DOM\n{\n public enum DirectiveType\n {\n Page,\n Control,\n "
},
{
"path": "Telerik.RazorConverter/WebForms/DOM/ExpressionBlockNode.cs",
"chars": 560,
"preview": "namespace Telerik.RazorConverter.WebForms.DOM\n{\n public class ExpressionBlockNode : WebFormsNode, IWebFormsExpressio"
},
{
"path": "Telerik.RazorConverter/WebForms/DOM/IWebFormsCodeBlockNode.cs",
"chars": 209,
"preview": "namespace Telerik.RazorConverter.WebForms.DOM\n{\n public interface IWebFormsCodeBlockNode : IWebFormsContentNode\n "
},
{
"path": "Telerik.RazorConverter/WebForms/DOM/IWebFormsCodeGroupNode.cs",
"chars": 131,
"preview": "namespace Telerik.RazorConverter.WebForms.DOM\n{\n public interface IWebFormsCodeGroupNode : IWebFormsContentNode\n "
},
{
"path": "Telerik.RazorConverter/WebForms/DOM/IWebFormsCodeGroupNodeFactory.cs",
"chars": 203,
"preview": "namespace Telerik.RazorConverter.WebForms.DOM\n{\n public interface IWebFormsCodeGroupNodeFactory\n {\n IWebFo"
},
{
"path": "Telerik.RazorConverter/WebForms/DOM/IWebFormsCommentNode.cs",
"chars": 157,
"preview": "namespace Telerik.RazorConverter.WebForms.DOM\n{\n public interface IWebFormsCommentNode : IWebFormsContentNode\n {\n"
},
{
"path": "Telerik.RazorConverter/WebForms/DOM/IWebFormsContentNode.cs",
"chars": 158,
"preview": "namespace Telerik.RazorConverter.WebForms.DOM\n{\n public interface IWebFormsContentNode : IWebFormsNode\n {\n "
},
{
"path": "Telerik.RazorConverter/WebForms/DOM/IWebFormsDirectiveNode.cs",
"chars": 164,
"preview": "namespace Telerik.RazorConverter.WebForms.DOM\n{\n public interface IWebFormsDirectiveNode : IWebFormsNode\n {\n "
},
{
"path": "Telerik.RazorConverter/WebForms/DOM/IWebFormsExpressionBlockNode.cs",
"chars": 171,
"preview": "namespace Telerik.RazorConverter.WebForms.DOM\n{\n public interface IWebFormsExpressionBlockNode : IWebFormsContentNod"
},
{
"path": "Telerik.RazorConverter/WebForms/DOM/IWebFormsNode.cs",
"chars": 315,
"preview": "namespace Telerik.RazorConverter.WebForms.DOM\n{\n using System.Collections.Generic;\n\n public interface IWebFormsNo"
},
{
"path": "Telerik.RazorConverter/WebForms/DOM/IWebFormsNodeFactory.cs",
"chars": 264,
"preview": "namespace Telerik.RazorConverter.WebForms.Parsing\n{\n using System.Text.RegularExpressions;\n using Telerik.RazorCo"
},
{
"path": "Telerik.RazorConverter/WebForms/DOM/IWebFormsServerControlNode.cs",
"chars": 159,
"preview": "namespace Telerik.RazorConverter.WebForms.DOM\n{\n public interface IWebFormsServerControlNode : IWebFormsNode\n {\n "
},
{
"path": "Telerik.RazorConverter/WebForms/DOM/IWebFormsTextNode.cs",
"chars": 159,
"preview": "namespace Telerik.RazorConverter.WebForms.DOM\n{\n public interface IWebFormsTextNode : IWebFormsContentNode\n {\n "
},
{
"path": "Telerik.RazorConverter/WebForms/DOM/NodeType.cs",
"chars": 254,
"preview": "namespace Telerik.RazorConverter.WebForms.DOM\n{\n public enum NodeType\n {\n Document,\n Directive,\n "
},
{
"path": "Telerik.RazorConverter/WebForms/DOM/ServerControlNode.cs",
"chars": 324,
"preview": "namespace Telerik.RazorConverter.WebForms.DOM\n{\n public class ServerControlNode : WebFormsNode, IWebFormsServerContr"
},
{
"path": "Telerik.RazorConverter/WebForms/DOM/TextNode.cs",
"chars": 498,
"preview": "namespace Telerik.RazorConverter.WebForms.DOM\n{\n public class TextNode : WebFormsNode, IWebFormsTextNode\n {\n "
},
{
"path": "Telerik.RazorConverter/WebForms/DOM/WebFormsCodeBlockNode.cs",
"chars": 684,
"preview": "namespace Telerik.RazorConverter.WebForms.DOM\n{\n public class WebFormsCodeBlockNode : WebFormsNode, IWebFormsCodeBlo"
},
{
"path": "Telerik.RazorConverter/WebForms/DOM/WebFormsCodeGroupFactory.cs",
"chars": 489,
"preview": "namespace Telerik.RazorConverter.WebForms.DOM\n{\n using System.ComponentModel.Composition;\n\n [Export(typeof(IWebFo"
},
{
"path": "Telerik.RazorConverter/WebForms/DOM/WebFormsCodeGroupNode.cs",
"chars": 1692,
"preview": "namespace Telerik.RazorConverter.WebForms.DOM\n{\n using System;\n using System.Collections.Specialized;\n using S"
},
{
"path": "Telerik.RazorConverter/WebForms/DOM/WebFormsNode.cs",
"chars": 1341,
"preview": "namespace Telerik.RazorConverter.WebForms.DOM\n{\n using System;\n using System.Collections.Generic;\n using Syste"
},
{
"path": "Telerik.RazorConverter/WebForms/DOM/WebFormsNodeFactory.cs",
"chars": 5827,
"preview": "namespace Telerik.RazorConverter.WebForms.Parsing\n{\n using System;\n using System.Collections.Generic;\n using S"
},
{
"path": "Telerik.RazorConverter/WebForms/Filters/AddBlockBracesFilter.cs",
"chars": 1874,
"preview": "namespace Telerik.RazorConverter.WebForms.Filters\n{\n using System.Collections.Generic;\n using System.Text.RegularE"
},
{
"path": "Telerik.RazorConverter/WebForms/Filters/CodeBlockGroupingFilter.cs",
"chars": 2071,
"preview": "namespace Telerik.RazorConverter.WebForms.Filters\n{\n using System.Collections.Generic;\n using System.Linq;\n us"
},
{
"path": "Telerik.RazorConverter/WebForms/Filters/IWebFormsNodeFilter.cs",
"chars": 287,
"preview": "namespace Telerik.RazorConverter.WebForms.Filters\n{\n using System.Collections.Generic;\n using Telerik.RazorConver"
},
{
"path": "Telerik.RazorConverter/WebForms/Filters/IWebFormsNodeFilterProvider.cs",
"chars": 207,
"preview": "namespace Telerik.RazorConverter.WebForms.Filters\n{\n using System.Collections.Generic;\n\n public interface IWebFor"
},
{
"path": "Telerik.RazorConverter/WebForms/Filters/WebFormsNodeFilterProvider.cs",
"chars": 786,
"preview": "namespace Telerik.RazorConverter.WebForms.Filters\n{\n using System.Collections.Generic;\n using System.ComponentMod"
},
{
"path": "Telerik.RazorConverter/WebForms/Filters/WrapNestedTemplatesFilter.cs",
"chars": 1150,
"preview": "namespace Telerik.RazorConverter.WebForms.Filters\n{\n using System.Collections.Generic;\n using System.Text.Regular"
},
{
"path": "Telerik.RazorConverter/WebForms/Parsing/AttributesReader.cs",
"chars": 708,
"preview": "namespace Telerik.RazorConverter.WebForms.Parsing\n{\n using System.Collections.Generic;\n using System.Text.Regular"
},
{
"path": "Telerik.RazorConverter/WebForms/Parsing/IAttributesReader.cs",
"chars": 272,
"preview": "namespace Telerik.RazorConverter.WebForms.Parsing\n{\n using System.Collections.Generic;\n using System.Text.Regular"
},
{
"path": "Telerik.RazorConverter/WebForms/Parsing/RunatServerTagRegex.cs",
"chars": 400,
"preview": "namespace Telerik.RazorConverter.WebForms.Parsing\n{\n using System.Text.RegularExpressions;\n\n class RunatServerTag"
},
{
"path": "Telerik.RazorConverter/WebForms/Parsing/WebFormsParser.cs",
"chars": 8044,
"preview": "namespace Telerik.RazorConverter.WebForms.Parsing\r\n{\r\n using System;\r\n using System.Collections.Generic;\r\n usi"
},
{
"path": "Telerik.RazorConverter.Tests/Properties/AssemblyInfo.cs",
"chars": 1441,
"preview": "using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Infor"
},
{
"path": "Telerik.RazorConverter.Tests/Razor/Converters/CodeBlockConverterTests.cs",
"chars": 3496,
"preview": "namespace Telerik.RazorConverter.Tests.Razor.Converters\n{\n using Moq;\n using Telerik.RazorConverter.Razor.Convert"
},
{
"path": "Telerik.RazorConverter.Tests/Razor/Converters/CodeGroupConverterTests.cs",
"chars": 2345,
"preview": "namespace Telerik.RazorConverter.Tests.Razor.Converters\n{\n using Moq;\n using Telerik.RazorConverter;\n using Te"
},
{
"path": "Telerik.RazorConverter.Tests/Razor/Converters/CommentNodeConverterTests.cs",
"chars": 1474,
"preview": "namespace Telerik.RazorConverter.Tests.Razor.Converters\n{\n using Moq;\n using Telerik.RazorConverter.Razor.Convert"
},
{
"path": "Telerik.RazorConverter.Tests/Razor/Converters/ContentPlaceHolderTagConverterTest.cs",
"chars": 4895,
"preview": "namespace Telerik.RazorConverter.Tests.Razor.Converters\r\n{\r\n using Moq;\r\n using System.Collections.Generic;\r\n "
},
{
"path": "Telerik.RazorConverter.Tests/Razor/Converters/ContentTagConverterTests.cs",
"chars": 5951,
"preview": "namespace Telerik.RazorConverter.Tests.Razor.Converters\n{\n using Moq;\n using System.Collections.Generic;\n usin"
},
{
"path": "Telerik.RazorConverter.Tests/Razor/Converters/DirectiveConverterTests.cs",
"chars": 5119,
"preview": "namespace Telerik.RazorConverter.Tests.Converters\n{\n using Moq;\n using System;\n using System.Collections.Gener"
},
{
"path": "Telerik.RazorConverter.Tests/Razor/Converters/ExpressionBlockConverterTests.cs",
"chars": 4597,
"preview": "namespace Telerik.RazorConverter.Tests.Razor.Converters\n{\n using Moq;\n using Telerik.RazorConverter.Razor.Convert"
},
{
"path": "Telerik.RazorConverter.Tests/Razor/Converters/TextNodeConverterTests.cs",
"chars": 1429,
"preview": "namespace Telerik.RazorConverter.Tests.Razor.Converters\n{\n using Moq;\n using Telerik.RazorConverter.Razor.Convert"
},
{
"path": "Telerik.RazorConverter.Tests/Razor/Converters/WebFormsToRazorConverterTests.cs",
"chars": 2290,
"preview": "namespace Telerik.RazorConverter.Tests.Razor.Converters\n{\n using Moq;\n using Telerik.RazorConverter;\n using Te"
},
{
"path": "Telerik.RazorConverter.Tests/Razor/DOM/RazorCodeNodeFactoryTests.cs",
"chars": 797,
"preview": "namespace Telerik.RazorConverter.Tests.Razor.DOM\n{\n using Telerik.RazorConverter.Razor.DOM;\n using Xunit;\n\n pu"
},
{
"path": "Telerik.RazorConverter.Tests/Razor/DOM/RazorCommentNodeFactoryTests.cs",
"chars": 589,
"preview": "namespace Telerik.RazorConverter.Tests.Razor.DOM\n{\n using Telerik.RazorConverter.Razor.DOM;\n using Xunit;\n\n pu"
},
{
"path": "Telerik.RazorConverter.Tests/Razor/DOM/RazorDirectiveNodeFactoryTests.cs",
"chars": 850,
"preview": "namespace Telerik.RazorConverter.Tests.Razor.DOM\n{\n using Telerik.RazorConverter.Razor.DOM;\n using Xunit;\n\n pu"
},
{
"path": "Telerik.RazorConverter.Tests/Razor/DOM/RazorNodeTests.cs",
"chars": 537,
"preview": "namespace Telerik.RazorConverter.Tests.Razor.DOM\n{\n using Telerik.RazorConverter.Razor.DOM;\n using Xunit;\n\n pu"
},
{
"path": "Telerik.RazorConverter.Tests/Razor/DOM/RazorTextNodeFactoryTests.cs",
"chars": 559,
"preview": "namespace Telerik.RazorConverter.Tests.Razor.DOM\n{\n using Telerik.RazorConverter.Razor.DOM;\n using Xunit;\n\n pu"
},
{
"path": "Telerik.RazorConverter.Tests/Razor/Rendering/CodeNodeRendererTests.cs",
"chars": 2457,
"preview": "namespace Telerik.RazorConverter.Tests.Razor.Rendering\n{\n using Moq;\n using Telerik.RazorConverter.Razor.DOM;\n "
},
{
"path": "Telerik.RazorConverter.Tests/Razor/Rendering/CommentNodeRendererTests.cs",
"chars": 1072,
"preview": "namespace Telerik.RazorConverter.Tests.Razor\n{\n using Moq;\n using Telerik.RazorConverter.Razor.DOM;\n using Tel"
},
{
"path": "Telerik.RazorConverter.Tests/Razor/Rendering/DirectiveNodeRendererTests.cs",
"chars": 1306,
"preview": "namespace Telerik.RazorConverter.Tests.Razor\n{\n using Moq;\n using Telerik.RazorConverter.Razor.DOM;\n using Tel"
},
{
"path": "Telerik.RazorConverter.Tests/Razor/Rendering/ExpressionNodeRendererTests.cs",
"chars": 1586,
"preview": "namespace Telerik.RazorConverter.Tests.Razor.Rendering\n{\n using Moq;\n using Telerik.RazorConverter.Razor.DOM;\n "
},
{
"path": "Telerik.RazorConverter.Tests/Razor/Rendering/RazorViewRendererTests.cs",
"chars": 2367,
"preview": "namespace Telerik.RazorConverter.Tests.Razor\n{\n using Moq;\n using System.Collections.Generic;\n using Telerik.R"
},
{
"path": "Telerik.RazorConverter.Tests/Razor/Rendering/SectionNodeRendererTests.cs",
"chars": 2533,
"preview": "namespace Telerik.RazorConverter.Tests.Razor.Rendering\r\n{\r\n using Moq;\r\n using System.Collections.Generic;\r\n u"
},
{
"path": "Telerik.RazorConverter.Tests/Razor/Rendering/TextNodeRendererTests.cs",
"chars": 1035,
"preview": "namespace Telerik.RazorConverter.Tests.Razor\n{\n using Moq;\n using Telerik.RazorConverter.Razor.DOM;\n using Tel"
},
{
"path": "Telerik.RazorConverter.Tests/Telerik.RazorConverter.Tests.csproj",
"chars": 5086,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<Project ToolsVersion=\"4.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "Telerik.RazorConverter.Tests/WebForms/DOM/WebFormsCodeGroupNodeTests.cs",
"chars": 2512,
"preview": "namespace Telerik.RazorConverter.Tests.WebForms.DOM\n{\n using Moq;\n using System;\n using Telerik.RazorConverter"
},
{
"path": "Telerik.RazorConverter.Tests/WebForms/Filters/AddBlockBracesFilterTests.cs",
"chars": 4664,
"preview": "namespace Telerik.RazorConverter.Tests.WebForms.Filters\n{\n using Moq;\n using System.Collections.Generic;\n usin"
},
{
"path": "Telerik.RazorConverter.Tests/WebForms/Filters/CodeBlockGroupingFilterTests.cs",
"chars": 6112,
"preview": "namespace Telerik.RazorConverter.Tests.WebForms.Filters\n{\n using Moq;\n using System.Collections.Generic;\n usin"
},
{
"path": "Telerik.RazorConverter.Tests/WebForms/Filters/WrapNestedTemplatesFilterTests.cs",
"chars": 1448,
"preview": "namespace Telerik.RazorConverter.Tests.WebForms.Filters\n{\n using Moq;\n using Telerik.RazorConverter.WebForms.DOM;"
},
{
"path": "Telerik.RazorConverter.Tests/WebForms/WebFormsParserFilteringTests.cs",
"chars": 2790,
"preview": "namespace Telerik.RazorConverter.Tests.WebForms\n{\n using Moq;\n using System.Collections.Generic;\n using Teleri"
},
{
"path": "Telerik.RazorConverter.Tests/WebForms/WebFormsParserTests.cs",
"chars": 12088,
"preview": "namespace RazorConverter.WebForms.Test\r\n{\r\n using Moq;\r\n using Telerik.RazorConverter.WebForms.DOM;\r\n using Te"
},
{
"path": "Telerik.RazorConverter.Tests.Common/Properties/AssemblyInfo.cs",
"chars": 1445,
"preview": "using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Infor"
},
{
"path": "Telerik.RazorConverter.Tests.Common/Telerik.RazorConverter.Tests.Common.csproj",
"chars": 2791,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Project ToolsVersion=\"4.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.microso"
},
{
"path": "Telerik.RazorConverter.Tests.Common/XunitExtensions/BooleanAssertionExtensions.cs",
"chars": 1694,
"preview": "namespace Xunit\n{\n /// <summary>\n /// Extensions which provide assertions to classes derived from <see cref=\"bool"
},
{
"path": "Telerik.RazorConverter.Tests.Common/XunitExtensions/CollectionAssertionExtensions.cs",
"chars": 3882,
"preview": "namespace Xunit\n{\n using System.Collections;\n using System.Collections.Generic;\n\n /// <summary>\n /// Extens"
},
{
"path": "Telerik.RazorConverter.Tests.Common/XunitExtensions/ObjectAssertExtensions.cs",
"chars": 9015,
"preview": "namespace Xunit\n{\n using System;\n using System.Collections.Generic;\n\n /// <summary>\n /// Extensions which p"
},
{
"path": "Telerik.RazorConverter.Tests.Common/XunitExtensions/StringAssertionExtensions.cs",
"chars": 2754,
"preview": "namespace Xunit\n{\n using System;\n\n /// <summary>\n /// Extensions which provide assertions to classes derived f"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/IntegrationTests.cs",
"chars": 3290,
"preview": "namespace RazorConverter.Core.Tests\n{\n using System;\n using System.Collections.Generic;\n using System.Componen"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/Properties/AssemblyInfo.cs",
"chars": 1453,
"preview": "using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Infor"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/Telerik.RazorConverter.Tests.Integration.csproj",
"chars": 11113,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<Project ToolsVersion=\"4.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.micros"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase01.aspx.txt",
"chars": 2069,
"preview": "<%@ Page Language=\"C#\" Inherits=\"System.Web.Mvc.ViewPage<IEnumerable<OrderDto>>\" %>\n\n<asp:content contentplaceholderid="
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase01.cshtml",
"chars": 1909,
"preview": "@model IEnumerable<OrderDto>\n@using (Html.Configurator(\"The grid should...\")\n .PostTo(\"FirstLook\", \"Grid\")"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase02.aspx.txt",
"chars": 597,
"preview": "<%@ Page Language=\"C#\" Inherits=\"System.Web.Mvc.ViewPage<IEnumerable<Order>>\" %>\n<asp:Content contentPlaceHolderID=\"Mai"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase02.cshtml",
"chars": 460,
"preview": "@model IEnumerable<Order>\n@(Html.Telerik().Grid(Model)\n .Name(\"Grid\")\n .Columns(columns =>\n {\n "
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase03.aspx.txt",
"chars": 688,
"preview": "<%@ Page Language=\"C#\" Inherits=\"System.Web.Mvc.ViewPage\" %>\n<asp:Content contentPlaceHolderID=\"MainContent\" runat=\"ser"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase03.cshtml",
"chars": 545,
"preview": "@(Html.Telerik().Grid<Order>()\n .Name(\"Grid\")\n .Columns(columns =>\n {\n columns.Bound(o "
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase04.aspx.txt",
"chars": 1430,
"preview": "<%@ Page Title=\"\" Language=\"C#\" MasterPageFile=\"~/Views/Shared/Examples.Master\"\n Inherits=\"System.Web.Mvc.ViewPage\" "
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase04.cshtml",
"chars": 1209,
"preview": "<h3>Bound to ASMX Web Service</h3>\n@(Html.Telerik().Grid<Order>()\n .Name(\"AsmxGrid\")\n .Columns(columns =>"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase05.aspx.txt",
"chars": 776,
"preview": "<%@ Page Language=\"C#\" Inherits=\"System.Web.Mvc.ViewPage<IEnumerable<Order>>\" %>\n<asp:Content contentPlaceHolderID=\"Mai"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase05.cshtml",
"chars": 634,
"preview": "@model IEnumerable<Order>\n@(Html.Telerik().Grid(Model)\n .Name(\"Grid\")\n .Columns(columns =>\n {\n "
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase06.aspx.txt",
"chars": 801,
"preview": "<%@ Page Language=\"C#\" Inherits=\"System.Web.Mvc.ViewPage<IEnumerable>\" %>\n<asp:Content contentPlaceHolderID=\"MainConten"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase06.cshtml",
"chars": 659,
"preview": "@model IEnumerable\n@(Html.Telerik().Grid<Order>()\n .Name(\"Grid\")\n .BindTo(Model)\n .Columns(columns"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase07.aspx.txt",
"chars": 4362,
"preview": "<%@ Page Language=\"C#\" Inherits=\"System.Web.Mvc.ViewPage\" %>\n\n<asp:content contentPlaceHolderID=\"MainContent\" runat=\"se"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase07.cshtml",
"chars": 3986,
"preview": "<h3><a href=\"http://twitter.com/\" class=\"twitter-icon\"></a> Search</h3>\n<label for=\"searchText\">See what people are say"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase08.aspx.txt.skip",
"chars": 4461,
"preview": "<%@ Page Language=\"C#\" Inherits=\"System.Web.Mvc.ViewPage<IEnumerable<Employee>>\" %>\n\n<asp:Content ContentPlaceHolderID="
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase08.cshtml",
"chars": 3559,
"preview": "@model IEnumerable<Employee>\n\n@{ Html.Telerik().Grid(Model)\n .Name(\"Employees\")\n .Columns(columns =>\n {\n "
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase09.aspx.txt",
"chars": 2134,
"preview": "<%@ Control Language=\"C#\" Inherits=\"System.Web.Mvc.ViewUserControl\" %>\n<%@ Import Namespace=\"Telerik.Web.Mvc\" %>\n<% \n "
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase09.cshtml",
"chars": 2039,
"preview": "@using Telerik.Web.Mvc\n@if (ViewData[\"telerik.web.mvc.products.examples\"] != null)\n { \n Html.Telerik().PanelB"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase10.aspx.txt",
"chars": 151,
"preview": "<%@ Control Language=\"C#\" Inherits=\"System.Web.Mvc.ViewUserControl<string>\" %>\n<pre><%= Html.Encode(Model.Replace(\"\\t\""
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase10.cshtml",
"chars": 65,
"preview": "@model string\n<pre>@Model.Replace(\"\\t\", \" \").WordWrap()</pre>"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase11.aspx.txt",
"chars": 697,
"preview": "<a id=\"telerik-logo\" href=\"http://www.telerik.com/\">Built by Telerik</a>\n\n<div id=\"footer\">\n\t<p>\n\t\tCopyright 2002-@Date"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase11.cshtml",
"chars": 697,
"preview": "<a id=\"telerik-logo\" href=\"http://www.telerik.com/\">Built by Telerik</a>\n\n<div id=\"footer\">\n\t<p>\n\t\tCopyright 2002-@Date"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase12.aspx.txt",
"chars": 1120,
"preview": "<%@ Control Language=\"C#\" Inherits=\"System.Web.Mvc.ViewUserControl\" %>\n\n<h3>About this example</h3>\n\n<% Html.Telerik()."
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase12.cshtml",
"chars": 967,
"preview": "<h3>About this example</h3>\n\n@{ Html.Telerik().TabStrip()\n .Name(\"code-viewer-tabs\")\n .Items(tabstrip =>\n"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase13.aspx.txt",
"chars": 803,
"preview": "<%@ Control Language=\"C#\" Inherits=\"System.Web.Mvc.ViewUserControl\" %>\n\n<div class=\"event-log-wrap\">\n\t<h3>Event log</h3"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase13.cshtml",
"chars": 734,
"preview": "\n<div class=\"event-log-wrap\">\n\t<h3>Event log</h3>\n\t\n\t<a href=\"#\" class=\"event-log-clear t-link\"><span class=\"t-icon\"></"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase14.aspx.txt",
"chars": 645,
"preview": "<%@ Page Language=\"C#\" Inherits=\"System.Web.Mvc.ViewPage\" %>\n\n<asp:content contentPlaceHolderID=\"MainContent\" runat=\"se"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase14.cshtml",
"chars": 494,
"preview": "\n\n\n @(Html.Telerik().Calendar()\n .Name(\"Calendar\")\n .Selection(settings => settings\n "
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase15.aspx.txt",
"chars": 797,
"preview": "<%@ Control Language=\"C#\" Inherits=\"System.Web.Mvc.ViewUserControl\" %>\n \n <div id=\"examples-search\">\n <lab"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase15.cshtml",
"chars": 720,
"preview": "\n \n <div id=\"examples-search\">\n <label for=\"search-input\"></label>\n\n @(Html.Telerik().ComboBox()\n "
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase16.aspx.txt.skip",
"chars": 8254,
"preview": "<%@ Page Title=\"\" Language=\"C#\" Inherits=\"System.Web.Mvc.ViewPage<Telerik.Web.Mvc.Examples.ComboBoxFilteringModel>\" %>\n"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase16.cshtml",
"chars": 7911,
"preview": "@model Telerik.Web.Mvc.Examples.ComboBoxFilteringModel\n\n\n\n @(Html.Telerik().ComboBox()\n .Name(\""
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase17.aspx.txt.skip",
"chars": 7036,
"preview": "<%@ Page Language=\"C#\" Inherits=\"System.Web.Mvc.ViewPage<EmployeeDto>\" %>\n\n<asp:content contentplaceholderid=\"MainConte"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase17.cshtml",
"chars": 6833,
"preview": "@model EmployeeDto\n\n\n\n @{ Html.Telerik().Editor()\n .Name(\"Editor\")\n .Value(@<text> \n "
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase18.aspx.txt",
"chars": 3655,
"preview": "<%@ Page Language=\"C#\" Inherits=\"System.Web.Mvc.ViewPage<EmployeeDto>\" %>\n\n<asp:content contentplaceholderid=\"MainConte"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase18.cshtml",
"chars": 3352,
"preview": "@model EmployeeDto\n\n\n\n @using (Html.Configurator(\"Validation summary\").Begin()) { \n @Html.ValidationSummary()"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase19.aspx.txt.skip",
"chars": 1644,
"preview": "<%@ Page Language=\"C#\" Inherits=\"System.Web.Mvc.ViewPage<IEnumerable<Order>>\" %>\n\n\n<asp:content contentplaceholderid=\"M"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase19.cshtml",
"chars": 1506,
"preview": "@model IEnumerable<Order>\n\n\n\n\n@{ Html.Telerik().Grid(Model)\n .Name(\"Grid\")\n .Columns(columns =>\n {"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase20.aspx.txt",
"chars": 2532,
"preview": "<%@ Page Language=\"C#\" Inherits=\"System.Web.Mvc.ViewPage<IEnumerable<Order>>\" %>\n\n<asp:Content ContentPlaceHolderID=\"Ma"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase20.cshtml",
"chars": 2144,
"preview": "@model IEnumerable<Order>\n\n@{Html.Telerik().Grid(Model)\n .Name(\"Grid\")\n .ToolBar(toolBar => toolBar.Template(@<te"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase21.aspx.txt.skip",
"chars": 4461,
"preview": "<%@ Page Language=\"C#\" Inherits=\"System.Web.Mvc.ViewPage<IEnumerable<Employee>>\" %>\n\n<asp:Content ContentPlaceHolderID="
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase21.cshtml",
"chars": 3853,
"preview": "@model IEnumerable<Employee>\n\n\n@{ Html.Telerik().Grid(Model)\n .Name(\"Employees\")\n .Columns(columns =>\n {\n "
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase22.aspx.txt.skip",
"chars": 4604,
"preview": "<%@ Page Language=\"C#\" Inherits=\"System.Web.Mvc.ViewPage<AggregatedProductModel>\" %>\n\n<asp:Content ContentPlaceHolderID"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase22.cshtml",
"chars": 4292,
"preview": "@model AggregatedProductModel\n\n@{ Html.BeginForm(); }\n\n @{ Html.Telerik().Grid(Model.Products)\n .Name(\"G"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase23.aspx.txt",
"chars": 3628,
"preview": "<%@ Page Language=\"C#\" MasterPageFile=\"~/Views/Shared/Examples.Master\" %>\n\n<asp:Content ContentPlaceHolderID=\"MainConte"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase23.cshtml",
"chars": 3181,
"preview": "@{ Html.Telerik().Window()\n .Name(\"Window\")\n .Title(\"Submit feedback\")\n .Content(@<text>\n "
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase24.aspx.txt",
"chars": 2120,
"preview": "<%@ Page Language=\"C#\" Inherits=\"System.Web.Mvc.ViewPage<IEnumerable<OrderDto>>\" %>\n\n<asp:content contentplaceholderid="
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase24.cshtml",
"chars": 1952,
"preview": "@model IEnumerable<OrderDto>\n@* Comment *@\n@using (Html.Configurator(\"The grid should...\")\n .PostTo(\"First"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase25.aspx.txt",
"chars": 2123,
"preview": "<%@ Page Language=\"C#\" Inherits=\"System.Web.Mvc.ViewPage<IEnumerable<OrderDto>>\" %>\n<%@ Import Namespace=\"Project.Names"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase25.cshtml",
"chars": 1944,
"preview": "@model IEnumerable<OrderDto>\n@using Project.Namespace.To.Models\n@using (Html.Configurator(\"The grid should...\")\n "
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase26.aspx.txt",
"chars": 2523,
"preview": "<%@ Page Language=\"C#\" Inherits=\"System.Web.Mvc.ViewPage<IEnumerable<OrderDto>>\" %>\r\n<%@ Import Namespace=\"Project.Name"
},
{
"path": "Telerik.RazorConverter.Tests.Integration/TestCases/TestCase26.cshtml",
"chars": 2281,
"preview": "@model IEnumerable<OrderDto>\r\n@using Project.Namespace.To.Models\r\n@section scriptcontent {\r\n $(document).ready(funct"
},
{
"path": "Telerik.RazorConverter.sln",
"chars": 6490,
"preview": "\nMicrosoft Visual Studio Solution File, Format Version 11.00\n# Visual Studio 2010\nProject(\"{2150E333-8FDC-42A3-9474-1A3"
},
{
"path": "aspx2razor/DirectoryHandler.cs",
"chars": 3102,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\n\nnamespace aspx2razor {\n\n /// <s"
},
{
"path": "aspx2razor/Program.cs",
"chars": 4539,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.ComponentModel.Composition;\nusing System.ComponentModel.Co"
},
{
"path": "aspx2razor/Properties/AssemblyInfo.cs",
"chars": 1435,
"preview": "using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Infor"
},
{
"path": "aspx2razor/app.config",
"chars": 141,
"preview": "<?xml version=\"1.0\"?>\n<configuration>\n<startup><supportedRuntime version=\"v4.0\" sku=\".NETFramework,Version=v4.0\"/></star"
},
{
"path": "aspx2razor/aspx2razor.csproj",
"chars": 2955,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Project ToolsVersion=\"4.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.microso"
}
]
About this extraction
This page contains the full source code of the telerik/razor-converter GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 194 files (666.6 KB), approximately 152.2k tokens, and a symbol index with 449 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.