Метод Extensions.AssertEqual<T (IEnumerable<T>, IEnumerable<T>>)
Пространство имен:ReactiveTests
Сборки: Tests.System.Reactive (в Tests.System.Reactive.dll)
Синтаксис
'Declaration
<ExtensionAttribute> _
Public Shared Sub AssertEqual(Of T) ( _
actual As IEnumerable(Of T), _
expected As IEnumerable(Of T) _
)
'Usage
Dim actual As IEnumerable(Of T)
Dim expected As IEnumerable(Of T)
actual.AssertEqual(expected)
public static void AssertEqual<T>(
this IEnumerable<T> actual,
IEnumerable<T> expected
)
[ExtensionAttribute]
public:
generic<typename T>
static void AssertEqual(
IEnumerable<T>^ actual,
IEnumerable<T>^ expected
)
static member AssertEqual :
actual:IEnumerable<'T> *
expected:IEnumerable<'T> -> unit
JScript does not support generic types and methods.
Параметры типа
- T
Параметры
- фактический
Тип: System.Collections.Generic.IEnumerable<T>
- ожидается
Тип: System.Collections.Generic.IEnumerable<T>
Примечание об использовании
В Visual Basic и C# этот метод можно вызвать как метод экземпляра для любого объекта типа IEnumerable<T>. При вызове метода для экземпляра следует опускать первый параметр. Дополнительные сведения см. в разделе или .