tools/xunit/xunit.extensions.xml
(开头部分) 45KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?xml version="1.0"?>
<doc>
<assembly>
<name>xunit.extensions</name>
</assembly>
<members>
<member name="T:Xunit.Extensions.Assertions">
<summary>
A wrapper for Assert which is used by <see cref="T:Xunit.Extensions.TestClass"/>.
</summary>
</member>
<member name="M:Xunit.Extensions.Assertions.Contains``1(``0,System.Collections.Generic.IEnumerable{``0})">
<summary>
Verifies that a collection contains a given object.
</summary>
<typeparam name="T">The type of the object to be verified</typeparam>
<param name="expected">The object expected to be in the collection</param>
<param name="collection">The collection to be inspected</param>
<exception cref="T:Xunit.Sdk.ContainsException">Thrown when the object is not present in the collection</exception>
</member>
<member name="M:Xunit.Extensions.Assertions.Contains``1(``0,System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEqualityComparer{``0})">
<summary>
Verifies that a collection contains a given object, using an equality comparer.
</summary>
<typeparam name="T">The type of the object to be verified</typeparam>
<param name="expected">The object expected to be in the collection</param>
<param name="collection">The collection to be inspected</param>
<param name="comparer">The comparer used to equate objects in the collection with the expected object</param>
<exception cref="T:Xunit.Sdk.ContainsException">Thrown when the object is not present in the collection</exception>
</member>
<member name="M:Xunit.Extensions.Assertions.Contains(System.String,System.String)">
<summary>
Verifies that a string contains a given sub-string, using the current culture.
</summary>
<param name="expectedSubstring">The sub-string expected to be in the string</param>
<param name="actualString">The string to be inspected</param>
<exception cref="T:Xunit.Sdk.ContainsException">Thrown when the sub-string is not present inside the string</exception>
</member>
<member name="M:Xunit.Extensions.Assertions.Contains(System.String,System.String,System.StringComparison)">
<summary>
Verifies that a string contains a given sub-string, using the given comparison type.
</summary>
<param name="expectedSubstring">The sub-string expected to be in the string</param>
<param name="actualString">The string to be inspected</param>
<param name="comparisonType">The type of string comparison to perform</param>
<exception cref="T:Xunit.Sdk.ContainsException">Thrown when the sub-string is not present inside the string</exception>
</member>
<member name="M:Xunit.Extensions.Assertions.DoesNotContain``1(``0,System.Collections.Generic.IEnumerable{``0})">
<summary>
Verifies that a collection does not contain a given object.
</summary>
<typeparam name="T">The type of the object to be compared</typeparam>
<param name="expected">The object that is expected not to be in the collection</param>
<param name="collection">The collection to be inspected</param>
<exception cref="T:Xunit.Sdk.DoesNotContainException">Thrown when the object is present inside the container</exception>
</member>
<member name="M:Xunit.Extensions.Assertions.DoesNotContain``1(``0,System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEqualityComparer{``0})">
<summary>
Verifies that a collection does not contain a given object, using an equality comparer.
</summary>
后面还有 745 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。