PageRenderTime 26ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 1ms

/src/packages/FluentAssertions.3.0.107/lib/portable-net40+sl5+win8+wp8/FluentAssertions.XML

https://github.com/akanix42/kolo-ns
XML | 498 lines | 498 code | 0 blank | 0 comment | 0 complexity | 35a7df898ab5b31ba7e0fac48f168d72 MD5 | raw file
Possible License(s): Apache-2.0
  1. <?xml version="1.0"?>
  2. <doc>
  3. <assembly>
  4. <name>FluentAssertions</name>
  5. </assembly>
  6. <members>
  7. <member name="T:FluentAssertions.AssertionExtensions">
  8. <summary>
  9. Contains extension methods for custom assertions in unit tests.
  10. </summary>
  11. </member>
  12. <member name="M:FluentAssertions.AssertionExtensions.ShouldThrow``1(System.Action,System.String,System.Object[])">
  13. <summary>
  14. Asserts that the <paramref name="action"/> throws an exception.
  15. </summary>
  16. <param name="action">A reference to the method or property.</param>
  17. <typeparam name="TException">
  18. The type of the exception it should throw.
  19. </typeparam>
  20. <param name="because">
  21. A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
  22. start with the word <i>because</i>, it is prepended to the message.
  23. </param>
  24. <param name="reasonArgs">
  25. Zero or more values to use for filling in any <see cref="M:System.String.Format(System.String,System.Object[])"/> compatible placeholders.
  26. </param>
  27. <returns>
  28. Returns an object that allows asserting additional members of the thrown exception.
  29. </returns>
  30. </member>
  31. <member name="M:FluentAssertions.AssertionExtensions.ShouldNotThrow``1(System.Action,System.String,System.Object[])">
  32. <summary>
  33. Asserts that the <paramref name="action"/> does not throw a particular exception.
  34. </summary>
  35. <param name="action">The current method or property.</param>
  36. <typeparam name="TException">
  37. The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion.
  38. </typeparam>
  39. <param name="because">
  40. A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
  41. start with the word <i>because</i>, it is prepended to the message.
  42. </param>
  43. <param name="reasonArgs">
  44. Zero or more values to use for filling in any <see cref="M:System.String.Format(System.String,System.Object[])"/> compatible placeholders.
  45. </param>
  46. </member>
  47. <member name="M:FluentAssertions.AssertionExtensions.ShouldNotThrow(System.Action,System.String,System.Object[])">
  48. <summary>
  49. Asserts that the <paramref name="action"/> does not throw any exception at all.
  50. </summary>
  51. <param name="action">The current method or property.</param>
  52. <param name="because">
  53. A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
  54. start with the word <i>because</i>, it is prepended to the message.
  55. </param>
  56. <param name="reasonArgs">
  57. Zero or more values to use for filling in any <see cref="M:System.String.Format(System.String,System.Object[])"/> compatible placeholders.
  58. </param>
  59. </member>
  60. <member name="M:FluentAssertions.AssertionExtensions.ShouldThrow``1(System.Func{System.Threading.Tasks.Task},System.String,System.Object[])">
  61. <summary>
  62. Asserts that the <paramref name="asyncAction"/> throws an exception.
  63. </summary>
  64. <param name="asyncAction">A reference to the method or property.</param>
  65. <typeparam name="TException">
  66. The type of the exception it should throw.
  67. </typeparam>
  68. <param name="because">
  69. A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
  70. start with the word <i>because</i>, it is prepended to the message.
  71. </param>
  72. <param name="reasonArgs">
  73. Zero or more values to use for filling in any <see cref="M:System.String.Format(System.String,System.Object[])"/> compatible placeholders.
  74. </param>
  75. <returns>
  76. Returns an object that allows asserting additional members of the thrown exception.
  77. </returns>
  78. </member>
  79. <member name="M:FluentAssertions.AssertionExtensions.ShouldNotThrow``1(System.Func{System.Threading.Tasks.Task},System.String,System.Object[])">
  80. <summary>
  81. Asserts that the <paramref name="asyncAction"/> does not throw a particular exception.
  82. </summary>
  83. <param name="asyncAction">The current method or property.</param>
  84. <typeparam name="TException">
  85. The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion.
  86. </typeparam>
  87. <param name="because">
  88. A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
  89. start with the word <i>because</i>, it is prepended to the message.
  90. </param>
  91. <param name="reasonArgs">
  92. Zero or more values to use for filling in any <see cref="M:System.String.Format(System.String,System.Object[])"/> compatible placeholders.
  93. </param>
  94. </member>
  95. <member name="M:FluentAssertions.AssertionExtensions.ShouldNotThrow(System.Func{System.Threading.Tasks.Task},System.String,System.Object[])">
  96. <summary>
  97. Asserts that the <paramref name="asyncAction"/> does not throw any exception at all.
  98. </summary>
  99. <param name="asyncAction">The current method or property.</param>
  100. <param name="because">
  101. A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
  102. start with the word <i>because</i>, it is prepended to the message.
  103. </param>
  104. <param name="reasonArgs">
  105. Zero or more values to use for filling in any <see cref="M:System.String.Format(System.String,System.Object[])"/> compatible placeholders.
  106. </param>
  107. </member>
  108. <member name="M:FluentAssertions.AssertionExtensions.Invoking``1(``0,System.Action{``0})">
  109. <summary>
  110. Invokes the specified action on an subject so that you can chain it with any of the ShouldThrow or ShouldNotThrow
  111. overloads.
  112. </summary>
  113. </member>
  114. <member name="M:FluentAssertions.AssertionExtensions.Should(System.Xml.Linq.XDocument)">
  115. <summary>
  116. Returns an <see cref="T:FluentAssertions.Xml.XDocumentAssertions"/> object that can be used to assert the
  117. current <see cref="T:System.Xml.Linq.XElement"/>.
  118. </summary>
  119. </member>
  120. <member name="M:FluentAssertions.AssertionExtensions.Should(System.Xml.Linq.XElement)">
  121. <summary>
  122. Returns an <see cref="T:FluentAssertions.Xml.XElementAssertions"/> object that can be used to assert the
  123. current <see cref="T:System.Xml.Linq.XElement"/>.
  124. </summary>
  125. </member>
  126. <member name="M:FluentAssertions.AssertionExtensions.Should(System.Xml.Linq.XAttribute)">
  127. <summary>
  128. Returns an <see cref="T:FluentAssertions.Xml.XAttributeAssertions"/> object that can be used to assert the
  129. current <see cref="T:System.Xml.Linq.XAttribute"/>.
  130. </summary>
  131. </member>
  132. <member name="M:FluentAssertions.AssertionExtensions.Enumerating(System.Func{System.Collections.IEnumerable})">
  133. <summary>
  134. Forces enumerating a collection. Should be used to assert that a method that uses the
  135. <c>yield</c> keyword throws a particular exception.
  136. </summary>
  137. </member>
  138. <member name="M:FluentAssertions.AssertionExtensions.Enumerating``1(System.Func{System.Collections.Generic.IEnumerable{``0}})">
  139. <summary>
  140. Forces enumerating a collection. Should be used to assert that a method that uses the
  141. <c>yield</c> keyword throws a particular exception.
  142. </summary>
  143. </member>
  144. <member name="M:FluentAssertions.AssertionExtensions.Should(System.Object)">
  145. <summary>
  146. Returns an <see cref="T:FluentAssertions.Primitives.ObjectAssertions"/> object that can be used to assert the
  147. current <see cref="T:System.Object"/>.
  148. </summary>
  149. </member>
  150. <member name="M:FluentAssertions.AssertionExtensions.Should(System.Boolean)">
  151. <summary>
  152. Returns an <see cref="T:FluentAssertions.Primitives.BooleanAssertions"/> object that can be used to assert the
  153. current <see cref="T:System.Boolean"/>.
  154. </summary>
  155. </member>
  156. <member name="M:FluentAssertions.AssertionExtensions.Should(System.Nullable{System.Boolean})">
  157. <summary>
  158. Returns an <see cref="T:FluentAssertions.Primitives.NullableBooleanAssertions"/> object that can be used to assert the
  159. current nullable <see cref="T:System.Boolean"/>.
  160. </summary>
  161. </member>
  162. <member name="M:FluentAssertions.AssertionExtensions.Should(System.Guid)">
  163. <summary>
  164. Returns an <see cref="T:FluentAssertions.Primitives.GuidAssertions"/> object that can be used to assert the
  165. current <see cref="T:System.Guid"/>.
  166. </summary>
  167. </member>
  168. <member name="M:FluentAssertions.AssertionExtensions.Should(System.Nullable{System.Guid})">
  169. <summary>
  170. Returns an <see cref="T:FluentAssertions.Primitives.NullableGuidAssertions"/> object that can be used to assert the
  171. current nullable <see cref="T:System.Guid"/>.
  172. </summary>
  173. </member>
  174. <member name="M:FluentAssertions.AssertionExtensions.Should(System.Collections.IEnumerable)">
  175. <summary>
  176. Returns an <see cref="T:FluentAssertions.Collections.NonGenericCollectionAssertions"/> object that can be used to assert the
  177. current <see cref="T:System.Collections.IEnumerable"/>.
  178. </summary>
  179. </member>
  180. <member name="M:FluentAssertions.AssertionExtensions.Should``1(System.Collections.Generic.IEnumerable{``0})">
  181. <summary>
  182. Returns an <see cref="T:FluentAssertions.Collections.GenericCollectionAssertions`1"/> object that can be used to assert the
  183. current <see cref="T:System.Collections.Generic.IEnumerable`1"/>.
  184. </summary>
  185. </member>
  186. <member name="M:FluentAssertions.AssertionExtensions.Should(System.Collections.Generic.IEnumerable{System.String})">
  187. <summary>
  188. Returns an <see cref="T:FluentAssertions.Collections.StringCollectionAssertions"/> object that can be used to assert the
  189. current <see cref="T:System.Collections.Generic.IEnumerable`1"/>.
  190. </summary>
  191. </member>
  192. <member name="M:FluentAssertions.AssertionExtensions.Should``2(System.Collections.Generic.IDictionary{``0,``1})">
  193. <summary>
  194. Returns an <see cref="T:FluentAssertions.Collections.GenericDictionaryAssertions`2"/> object that can be used to assert the
  195. current <see cref="T:System.Collections.Generic.IDictionary`2"/>.
  196. </summary>
  197. </member>
  198. <member name="M:FluentAssertions.AssertionExtensions.Should(System.DateTime)">
  199. <summary>
  200. Returns an <see cref="T:FluentAssertions.Primitives.DateTimeOffsetAssertions"/> object that can be used to assert the
  201. current <see cref="T:System.DateTime"/>.
  202. </summary>
  203. </member>
  204. <member name="M:FluentAssertions.AssertionExtensions.Should(System.DateTimeOffset)">
  205. <summary>
  206. Returns an <see cref="T:FluentAssertions.Primitives.DateTimeOffsetAssertions"/> object that can be used to assert the
  207. current <see cref="T:System.DateTimeOffset"/>.
  208. </summary>
  209. </member>
  210. <member name="M:FluentAssertions.AssertionExtensions.Should(System.Nullable{System.DateTime})">
  211. <summary>
  212. Returns an <see cref="T:FluentAssertions.Primitives.NullableDateTimeOffsetAssertions"/> object that can be used to assert the
  213. current nullable <see cref="T:System.DateTime"/>.
  214. </summary>
  215. </member>
  216. <member name="M:FluentAssertions.AssertionExtensions.Should(System.Nullable{System.DateTimeOffset})">
  217. <summary>
  218. Returns an <see cref="T:FluentAssertions.Primitives.NullableDateTimeOffsetAssertions"/> object that can be used to assert the
  219. current nullable <see cref="T:System.DateTimeOffset"/>.
  220. </summary>
  221. </member>
  222. <member name="M:FluentAssertions.AssertionExtensions.Should``1(System.IComparable{``0})">
  223. <summary>
  224. Returns an <see cref="T:FluentAssertions.Numeric.ComparableTypeAssertions`1"/> object that can be used to assert the
  225. current <see cref="T:System.IComparable`1"/>.
  226. </summary>
  227. </member>
  228. <member name="M:FluentAssertions.AssertionExtensions.Should(System.Int32)">
  229. <summary>
  230. Returns an <see cref="T:FluentAssertions.Numeric.NumericAssertions`1"/> object that can be used to assert the
  231. current <see cref="T:System.Int32"/>.
  232. </summary>
  233. </member>
  234. <member name="M:FluentAssertions.AssertionExtensions.Should(System.Nullable{System.Int32})">
  235. <summary>
  236. Returns an <see cref="T:FluentAssertions.Numeric.NullableNumericAssertions`1"/> object that can be used to assert the
  237. current nullable <see cref="T:System.Int32"/>.
  238. </summary>
  239. </member>
  240. <member name="M:FluentAssertions.AssertionExtensions.Should(System.Decimal)">
  241. <summary>
  242. Returns an <see cref="T:FluentAssertions.Numeric.NumericAssertions`1"/> object that can be used to assert the
  243. current <see cref="T:System.Decimal"/>.
  244. </summary>
  245. </member>
  246. <member name="M:FluentAssertions.AssertionExtensions.Should(System.Nullable{System.Decimal})">
  247. <summary>
  248. Returns an <see cref="T:FluentAssertions.Numeric.NullableNumericAssertions`1"/> object that can be used to assert the
  249. current nullable <see cref="T:System.Decimal"/>.
  250. </summary>
  251. </member>
  252. <member name="M:FluentAssertions.AssertionExtensions.Should(System.Byte)">
  253. <summary>
  254. Returns an <see cref="T:FluentAssertions.Numeric.NumericAssertions`1"/> object that can be used to assert the
  255. current <see cref="T:System.Byte"/>.
  256. </summary>
  257. </member>
  258. <member name="M:FluentAssertions.AssertionExtensions.Should(System.Nullable{System.Byte})">
  259. <summary>
  260. Returns an <see cref="T:FluentAssertions.Numeric.NullableNumericAssertions`1"/> object that can be used to assert the
  261. current nullable <see cref="T:System.Byte"/>.
  262. </summary>
  263. </member>
  264. <member name="M:FluentAssertions.AssertionExtensions.Should(System.Int16)">
  265. <summary>
  266. Returns an <see cref="T:FluentAssertions.Numeric.NumericAssertions`1"/> object that can be used to assert the
  267. current <see cref="T:System.Int16"/>.
  268. </summary>
  269. </member>
  270. <member name="M:FluentAssertions.AssertionExtensions.Should(System.Nullable{System.Int16})">
  271. <summary>
  272. Returns an <see cref="T:FluentAssertions.Numeric.NullableNumericAssertions`1"/> object that can be used to assert the
  273. current nullable <see cref="T:System.Int16"/>.
  274. </summary>
  275. </member>
  276. <member name="M:FluentAssertions.AssertionExtensions.Should(System.Int64)">
  277. <summary>
  278. Returns an <see cref="T:FluentAssertions.Numeric.NumericAssertions`1"/> object that can be used to assert the
  279. current <see cref="T:System.Int64"/>.
  280. </summary>
  281. </member>
  282. <member name="M:FluentAssertions.AssertionExtensions.Should(System.Nullable{System.Int64})">
  283. <summary>
  284. Returns an <see cref="T:FluentAssertions.Numeric.NullableNumericAssertions`1"/> object that can be used to assert the
  285. current nullable <see cref="T:System.Int64"/>.
  286. </summary>
  287. </member>
  288. <member name="M:FluentAssertions.AssertionExtensions.Should(System.Single)">
  289. <summary>
  290. Returns an <see cref="T:FluentAssertions.Numeric.NumericAssertions`1"/> object that can be used to assert the
  291. current <see cref="T:System.Single"/>.
  292. </summary>
  293. </member>
  294. <member name="M:FluentAssertions.AssertionExtensions.Should(System.Nullable{System.Single})">
  295. <summary>
  296. Returns an <see cref="T:FluentAssertions.Numeric.NullableNumericAssertions`1"/> object that can be used to assert the
  297. current nullable <see cref="T:System.Single"/>.
  298. </summary>
  299. </member>
  300. <member name="M:FluentAssertions.AssertionExtensions.Should(System.Double)">
  301. <summary>
  302. Returns an <see cref="T:FluentAssertions.Numeric.NumericAssertions`1"/> object that can be used to assert the
  303. current <see cref="T:System.Double"/>.
  304. </summary>
  305. </member>
  306. <member name="M:FluentAssertions.AssertionExtensions.Should(System.Nullable{System.Double})">
  307. <summary>
  308. Returns an <see cref="T:FluentAssertions.Numeric.NullableNumericAssertions`1"/> object that can be used to assert the
  309. current nullable <see cref="T:System.Double"/>.
  310. </summary>
  311. </member>
  312. <member name="M:FluentAssertions.AssertionExtensions.Should(System.String)">
  313. <summary>
  314. Returns an <see cref="T:FluentAssertions.Primitives.StringAssertions"/> object that can be used to assert the
  315. current <see cref="T:System.String"/>.
  316. </summary>
  317. </member>
  318. <member name="M:FluentAssertions.AssertionExtensions.Should(System.TimeSpan)">
  319. <summary>
  320. Returns an <see cref="T:FluentAssertions.Primitives.SimpleTimeSpanAssertions"/> object that can be used to assert the
  321. current <see cref="T:System.TimeSpan"/>.
  322. </summary>
  323. </member>
  324. <member name="M:FluentAssertions.AssertionExtensions.Should(System.Nullable{System.TimeSpan})">
  325. <summary>
  326. Returns an <see cref="T:FluentAssertions.Primitives.NullableSimpleTimeSpanAssertions"/> object that can be used to assert the
  327. current nullable <see cref="T:System.TimeSpan"/>.
  328. </summary>
  329. </member>
  330. <member name="M:FluentAssertions.AssertionExtensions.Should(System.Type)">
  331. <summary>
  332. Returns a <see cref="T:FluentAssertions.Types.TypeAssertions"/> object that can be used to assert the
  333. current <see cref="T:System.Type"/>.
  334. </summary>
  335. </member>
  336. <member name="M:FluentAssertions.AssertionExtensions.Should(FluentAssertions.Types.TypeSelector)">
  337. <summary>
  338. Returns a <see cref="T:FluentAssertions.Types.TypeAssertions"/> object that can be used to assert the
  339. current <see cref="T:System.Type"/>.
  340. </summary>
  341. </member>
  342. <member name="M:FluentAssertions.AssertionExtensions.Should(System.Reflection.MethodInfo)">
  343. <summary>
  344. Returns a <see cref="T:FluentAssertions.Types.MethodInfoAssertions"/> object that can be used to assert the current <see cref="T:System.Reflection.MethodInfo"/>.
  345. </summary>
  346. <seealso cref="T:FluentAssertions.Types.TypeAssertions"/>
  347. </member>
  348. <member name="M:FluentAssertions.AssertionExtensions.Should(FluentAssertions.Types.MethodInfoSelector)">
  349. <summary>
  350. Returns a <see cref="T:FluentAssertions.Types.MethodInfoSelectorAssertions"/> object that can be used to assert the methods returned by the
  351. current <see cref="T:FluentAssertions.Types.MethodInfoSelector"/>.
  352. </summary>
  353. <seealso cref="T:FluentAssertions.Types.TypeAssertions"/>
  354. </member>
  355. <member name="M:FluentAssertions.AssertionExtensions.Should(System.Reflection.PropertyInfo)">
  356. <summary>
  357. Returns a <see cref="T:FluentAssertions.Types.PropertyInfoAssertions"/> object that can be used to assert the
  358. current <see cref="T:FluentAssertions.Types.PropertyInfoSelector"/>.
  359. </summary>
  360. <seealso cref="T:FluentAssertions.Types.TypeAssertions"/>
  361. </member>
  362. <member name="M:FluentAssertions.AssertionExtensions.Should(FluentAssertions.Types.PropertyInfoSelector)">
  363. <summary>
  364. Returns a <see cref="T:FluentAssertions.Types.PropertyInfoSelectorAssertions"/> object that can be used to assert the properties returned by the
  365. current <see cref="T:FluentAssertions.Types.PropertyInfoSelector"/>.
  366. </summary>
  367. <seealso cref="T:FluentAssertions.Types.TypeAssertions"/>
  368. </member>
  369. <member name="M:FluentAssertions.AssertionExtensions.ShouldBeEquivalentTo``1(``0,System.Object,System.String,System.Object[])">
  370. <summary>
  371. Asserts that an object is equivalent to another object.
  372. </summary>
  373. <remarks>
  374. Objects are equivalent when both object graphs have equally named properties with the same value,
  375. irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal.
  376. The type of a collection property is ignored as long as the collection implements <see cref="T:System.Collections.IEnumerable"/> and all
  377. items in the collection are structurally equal.
  378. Notice that actual behavior is determined by the <see cref="F:FluentAssertions.Equivalency.EquivalencyAssertionOptions`1.Default"/> instance of the
  379. <see cref="T:FluentAssertions.Equivalency.EquivalencyAssertionOptions`1"/> class.
  380. </remarks>
  381. <param name="because">
  382. An optional formatted phrase as is supported by <see cref="M:System.String.Format(System.String,System.Object[])"/> explaining why the
  383. assertion is needed. If the phrase does not start with the word <i>because</i>, it is prepended automatically.
  384. </param>
  385. <param name="reasonArgs">
  386. Zero or more objects to format using the placeholders in <see cref="!:reason"/>.
  387. </param>
  388. </member>
  389. <member name="M:FluentAssertions.AssertionExtensions.ShouldBeEquivalentTo``1(``0,System.Object,System.Func{FluentAssertions.Equivalency.EquivalencyAssertionOptions{``0},FluentAssertions.Equivalency.EquivalencyAssertionOptions{``0}},System.String,System.Object[])">
  390. <summary>
  391. Asserts that an object is equivalent to another object.
  392. </summary>
  393. <remarks>
  394. Objects are equivalent when both object graphs have equally named properties with the same value,
  395. irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal.
  396. The type of a collection property is ignored as long as the collection implements <see cref="T:System.Collections.IEnumerable"/> and all
  397. items in the collection are structurally equal.
  398. </remarks>
  399. <param name="config">
  400. A reference to the <see cref="F:FluentAssertions.Equivalency.EquivalencyAssertionOptions`1.Default"/> configuration object that can be used
  401. to influence the way the object graphs are compared. You can also provide an alternative instance of the
  402. <see cref="T:FluentAssertions.Equivalency.EquivalencyAssertionOptions`1"/> class.
  403. </param>
  404. <param name="because">
  405. An optional formatted phrase as is supported by <see cref="M:System.String.Format(System.String,System.Object[])"/> explaining why the
  406. assertion is needed. If the phrase does not start with the word <i>because</i>, it is prepended automatically.
  407. </param>
  408. <param name="reasonArgs">
  409. Zero or more objects to format using the placeholders in <see cref="!:reason"/>.
  410. </param>
  411. </member>
  412. <member name="M:FluentAssertions.AssertionExtensions.MonitorEvents(System.ComponentModel.INotifyPropertyChanged)">
  413. <summary>
  414. Starts monitoring an object for its <see cref="E:System.ComponentModel.INotifyPropertyChanged.PropertyChanged"/> events.
  415. </summary>
  416. <exception cref="T:System.ArgumentNullException">Thrown if eventSource is Null.</exception>
  417. </member>
  418. <member name="M:FluentAssertions.AssertionExtensions.As``1(System.Object)">
  419. <summary>
  420. Safely casts the specified object to the type specified through <typeparamref name="TTo"/>.
  421. </summary>
  422. <remarks>
  423. Has been introduced to allow casting objects without breaking the fluent API.
  424. </remarks>
  425. <typeparam name="TTo"></typeparam>
  426. </member>
  427. <member name="T:FluentAssertions.EventSourceExtensions">
  428. <summary>
  429. Provides extension methods for monitoring and querying events.
  430. </summary>
  431. </member>
  432. <member name="M:FluentAssertions.EventSourceExtensions.ShouldRaise(System.Object,System.String)">
  433. <summary>
  434. Asserts that an object has raised a particular event at least once.
  435. </summary>
  436. <param name="eventSource">The object exposing the event.</param>
  437. <param name="eventName">The name of the event that should have been raised.</param>
  438. <returns></returns>
  439. <remarks>
  440. You must call <see cref="!:MonitorEvents"/> on the same object prior to this call so that Fluent Assertions can
  441. subscribe for the events of the object.
  442. </remarks>
  443. </member>
  444. <member name="M:FluentAssertions.EventSourceExtensions.ShouldRaise(System.Object,System.String,System.String,System.Object[])">
  445. <summary>
  446. Asserts that an object has raised a particular event at least once.
  447. </summary>
  448. <param name="eventSource">The object exposing the event.</param>
  449. <param name="eventName">
  450. The name of the event that should have been raised.
  451. </param>
  452. <param name="because">
  453. A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
  454. start with the word <i>because</i>, it is prepended to the message.
  455. </param>
  456. <param name="reasonArgs">
  457. Zero or more values to use for filling in any <see cref="M:System.String.Format(System.String,System.Object[])"/> compatible placeholders.
  458. </param>
  459. <remarks>
  460. You must call <see cref="!:MonitorEvents"/> on the same object prior to this call so that Fluent Assertions can
  461. subscribe for the events of the object.
  462. </remarks>
  463. </member>
  464. <member name="M:FluentAssertions.EventSourceExtensions.ShouldNotRaise(System.Object,System.String)">
  465. <summary>
  466. Asserts that an object has not raised a particular event.
  467. </summary>
  468. <param name="eventSource">The object exposing the event.</param>
  469. <param name="eventName">
  470. The name of the event that should not be raised.
  471. </param>
  472. <remarks>
  473. You must call <see cref="!:MonitorEvents"/> on the same object prior to this call so that Fluent Assertions can
  474. subscribe for the events of the object.
  475. </remarks>
  476. </member>
  477. <member name="M:FluentAssertions.EventSourceExtensions.ShouldNotRaise(System.Object,System.String,System.String,System.Object[])">
  478. <summary>
  479. Asserts that an object has not raised a particular event.
  480. </summary>
  481. <param name="eventSource">The object exposing the event.</param>
  482. <param name="eventName">
  483. The name of the event that should not be raised.
  484. </param>
  485. <param name="because">
  486. A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
  487. start with the word <i>because</i>, it is prepended to the message.
  488. </param>
  489. <param name="reasonArgs">
  490. Zero or more values to use for filling in any <see cref="M:System.String.Format(System.String,System.Object[])"/> compatible placeholders.
  491. </param>
  492. <remarks>
  493. You must call <see cref="!:MonitorEvents"/> on the same object prior to this call so that Fluent Assertions can
  494. subscribe for the events of the object.
  495. </remarks>
  496. </member>
  497. </members>
  498. </doc>