justmock-docs/api/m_telerik_justmock_args_mat...

74 строки
2.5 KiB
Markdown
Исходник Обычный вид История

2019-01-08 16:22:19 +03:00
---
title: Matching(T1) Method (Func)
page_title: Matching(T1) Method (Func) | JustMock Documentation
description: Documentation page about Matching(T1) Method (Func).
previous_url: /m_telerik_justmock_args_matching__1.html
slug: m_telerik_justmock_args_matching__1
published: True
fullPath: api/n_telerik_justmock/t_telerik_justmock_args/methods_t_telerik_justmock_args/overload_telerik_justmock_args_matching/m_telerik_justmock_args_matching__1
category: "api"
---
# Args.Matching<T1>Method (Func)
[Missing <summary> documentation for "M:Telerik.JustMock.Args.Matching``1(System.Func`2)"]
**Namespace:** [Telerik.JustMock](n_telerik_justmock) <br> **Assembly:** Telerik.JustMock(in Telerik.JustMock.dll)
## Syntax
<div id="syntaxCodeBlocks" class="code"><span codeLanguage="CSharp"><table><tr><th>C#</th></tr><tr><td><pre xml:space="preserve"><span class="keyword">public</span> <span class="keyword">static</span> <a href="T_Telerik_JustMock_Args.html">Args</a> <span class="identifier">Matching</span>&lt;T1&gt;(
<a href="https://msdn2.microsoft.com/en-us/library/bb549151" target="_blank">Func</a> <span class="parameter">predicate</span>
)
</pre></td></tr></table></span><span codeLanguage="VisualBasicDeclaration"><table><tr><th>Visual Basic</th></tr><tr><td><pre xml:space="preserve"><span class="keyword">Public</span> <span class="keyword">Shared</span> <span class="keyword">Function</span> <span class="identifier">Matching</span>(<span class="keyword">Of</span> T1) ( _
<span class="parameter">predicate</span> <span class="keyword">As</span> <a href="https://msdn2.microsoft.com/en-us/library/bb549151" target="_blank">Func</a> _
) <span class="keyword">As</span> <a href="T_Telerik_JustMock_Args.html">Args</a></pre></td></tr></table></span></div>
predicate<br>
Type: [System.Func&lt;T, TResult&gt;](bb549151) <br>
[Missing &lt;param name="predicate"/&gt; documentation for "M:Telerik.JustMock.Args.Matching``1(System.Func`2)"]
## Type Parameters
T1<br>
[Missing &lt;typeparam name="T1"/&gt; documentation for "M:Telerik.JustMock.Args.Matching``1(System.Func`2)"]
[Missing &lt;returns&gt; documentation for "M:Telerik.JustMock.Args.Matching``1(System.Func`2)"]
## See Also
[Args Class](t_telerik_justmock_args)
[Args Members](allmembers_t_telerik_justmock_args)
[Matching Overload](overload_telerik_justmock_args_matching)
[Telerik.JustMock Namespace](n_telerik_justmock)