fluentassertions / fluentassertions/fluentassertions.reactive
Request: .Should().PushAnySatisfying(..)
- Ngôn ngữ chính
- C#
- Star
- 1
- Fork
- 3
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
### Description
Just started using FA.Reactive and it's awesome, great work!
I have a suggestion for an assertion similar to `SatisfyRespectively` for collection assertions: `PushAnySatisfying`
#### Use Case
I am looking for an occurrence of a particular element that satisfies some constraints. I don't care about the ordering, hence the `Any` of `PushAnySatisfying`.
Example usage:
```csharp
observable.Observe()
.Should()
.PushAnySatisfying(e => {
e.Property.Should().Be("value");
e.OtherProperty.Should().Be("other value");
});
```
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.