)} ,System.Collections.Generic.IComparer{--0})} )} )} )} )} )} })} })} })} })} })} ,System.Func{--0,--1})} ,System.Func{--0,--1},System.Collections.Generic.IComparer{--1})} ,System.Func{--0,System.Double})} ,System.Func{--0,System.Single})} ,System.Func{--0,System.Decimal})} ,System.Func{--0,System.Int32})} ,System.Func{--0,System.Int64})} ,System.Func{--0,System.Nullable{System.Double}})} ,System.Func{--0,System.Nullable{System.Single}})} ,System.Func{--0,System.Nullable{System.Decimal}})} ,System.Func{--0,System.Nullable{System.Int32}})} ,System.Func{--0,System.Nullable{System.Int64}})}
Observable.Min(IObservable) method¶
Defined in
Type: Observable
Namespace: System.Reactive.Linq
Assembly: System.Reactive.dll
Applies to
netstandard2.0
Overloads¶
- 1.
public static IObservable<TSource> Min<TSource>(this IObservable<TSource> source) - 2.
public static IObservable<TSource> Min<TSource>(this IObservable<TSource> source, IComparer<TSource> comparer) - 3.
public static IObservable<double> Min(this IObservable<double> source) - 4.
public static IObservable<float> Min(this IObservable<float> source) - 5.
public static IObservable<decimal> Min(this IObservable<decimal> source) - 6.
public static IObservable<int> Min(this IObservable<int> source) - 7.
public static IObservable<long> Min(this IObservable<long> source) - 8.
public static IObservable<double?> Min(this IObservable<double?> source) - 9.
public static IObservable<float?> Min(this IObservable<float?> source) - 10.
public static IObservable<decimal?> Min(this IObservable<decimal?> source) - 11.
public static IObservable<int?> Min(this IObservable<int?> source) - 12.
public static IObservable<long?> Min(this IObservable<long?> source) - 13.
public static IObservable<TResult> Min<TSource, TResult>(this IObservable<TSource> source, Func<TSource, TResult> selector) - 14.
public static IObservable<TResult> Min<TSource, TResult>(this IObservable<TSource> source, Func<TSource, TResult> selector, IComparer<TResult> comparer) - 15.
public static IObservable<double> Min<TSource>(this IObservable<TSource> source, Func<TSource, double> selector) - 16.
public static IObservable<float> Min<TSource>(this IObservable<TSource> source, Func<TSource, float> selector) - 17.
public static IObservable<decimal> Min<TSource>(this IObservable<TSource> source, Func<TSource, decimal> selector) - 18.
public static IObservable<int> Min<TSource>(this IObservable<TSource> source, Func<TSource, int> selector) - 19.
public static IObservable<long> Min<TSource>(this IObservable<TSource> source, Func<TSource, long> selector) - 20.
public static IObservable<double?> Min<TSource>(this IObservable<TSource> source, Func<TSource, double?> selector) - 21.
public static IObservable<float?> Min<TSource>(this IObservable<TSource> source, Func<TSource, float?> selector) - 22.
public static IObservable<decimal?> Min<TSource>(this IObservable<TSource> source, Func<TSource, decimal?> selector) - 23.
public static IObservable<int?> Min<TSource>(this IObservable<TSource> source, Func<TSource, int?> selector) - 24.
public static IObservable<long?> Min<TSource>(this IObservable<TSource> source, Func<TSource, long?> selector)
1. Overload¶
public static IObservable<TSource> Min<TSource>(this IObservable<TSource> source)
Summary: Returns the minimum element in an observable sequence.
Type parameters
| Name | Description |
|---|---|
TSource | The type of the elements in the source sequence. |
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | An observable sequence to determine the minimum element of. |
Returns: IObservable
Remarks
The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | source is null. |
2. Overload¶
public static IObservable<TSource> Min<TSource>(this IObservable<TSource> source, IComparer<TSource> comparer)
Summary: Returns the minimum element in an observable sequence according to the specified comparer.
Type parameters
| Name | Description |
|---|---|
TSource | The type of the elements in the source sequence. |
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | An observable sequence to determine the minimum element of. |
comparer | IComparer | Comparer used to compare elements. |
Returns: IObservable
Remarks
The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | source or comparer is null. |
3. Overload¶
public static IObservable<double> Min(this IObservable<double> source)
Summary: Returns the minimum value in an observable sequence of Double values.
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | A sequence of Double values to determine the minimum value of. |
Returns: IObservable
Remarks
The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | source is null. |
4. Overload¶
public static IObservable<float> Min(this IObservable<float> source)
Summary: Returns the minimum value in an observable sequence of Single values.
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | A sequence of Single values to determine the minimum value of. |
Returns: IObservable
Remarks
The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | source is null. |
5. Overload¶
public static IObservable<decimal> Min(this IObservable<decimal> source)
Summary: Returns the minimum value in an observable sequence of Decimal values.
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | A sequence of Decimal values to determine the minimum value of. |
Returns: IObservable
Remarks
The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | source is null. |
6. Overload¶
public static IObservable<int> Min(this IObservable<int> source)
Summary: Returns the minimum value in an observable sequence of Int32 values.
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | A sequence of Int32 values to determine the minimum value of. |
Returns: IObservable
Remarks
The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | source is null. |
7. Overload¶
public static IObservable<long> Min(this IObservable<long> source)
Summary: Returns the minimum value in an observable sequence of Int64 values.
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | A sequence of Int64 values to determine the minimum value of. |
Returns: IObservable
Remarks
The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | source is null. |
8. Overload¶
public static IObservable<double?> Min(this IObservable<double?> source)
Summary: Returns the minimum value in an observable sequence of nullable Double values.
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | A sequence of nullable Double values to determine the minimum value of. |
Returns: IObservable
Remarks
The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | source is null. |
9. Overload¶
public static IObservable<float?> Min(this IObservable<float?> source)
Summary: Returns the minimum value in an observable sequence of nullable Single values.
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | A sequence of nullable Single values to determine the minimum value of. |
Returns: IObservable
Remarks
The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | source is null. |
10. Overload¶
public static IObservable<decimal?> Min(this IObservable<decimal?> source)
Summary: Returns the minimum value in an observable sequence of nullable Decimal values.
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | A sequence of nullable Decimal values to determine the minimum value of. |
Returns: IObservable
Remarks
The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | source is null. |
11. Overload¶
public static IObservable<int?> Min(this IObservable<int?> source)
Summary: Returns the minimum value in an observable sequence of nullable Int32 values.
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | A sequence of nullable Int32 values to determine the minimum value of. |
Returns: IObservable
Remarks
The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | source is null. |
12. Overload¶
public static IObservable<long?> Min(this IObservable<long?> source)
Summary: Returns the minimum value in an observable sequence of nullable Int64 values.
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | A sequence of nullable Int64 values to determine the minimum value of. |
Returns: IObservable
Remarks
The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | source is null. |
13. Overload¶
public static IObservable<TResult> Min<TSource, TResult>(this IObservable<TSource> source, Func<TSource, TResult> selector)
Summary: Invokes a transform function on each element of a sequence and returns the minimum value.
Type parameters
| Name | Description |
|---|---|
TSource | The type of the elements in the source sequence. |
TResult | The type of the objects derived from the elements in the source sequence to determine the minimum of. |
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | An observable sequence to determine the minimum element of. |
selector | Func | A transform function to apply to each element. |
Returns: IObservable
Remarks
The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | source or selector is null. |
14. Overload¶
public static IObservable<TResult> Min<TSource, TResult>(this IObservable<TSource> source, Func<TSource, TResult> selector, IComparer<TResult> comparer)
Summary: Invokes a transform function on each element of a sequence and returns the minimum value according to the specified comparer.
Type parameters
| Name | Description |
|---|---|
TSource | The type of the elements in the source sequence. |
TResult | The type of the objects derived from the elements in the source sequence to determine the minimum of. |
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | An observable sequence to determine the minimum element of. |
selector | Func | A transform function to apply to each element. |
comparer | IComparer | Comparer used to compare elements. |
Returns: IObservable
Remarks
The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | source or selector or comparer is null. |
15. Overload¶
public static IObservable<double> Min<TSource>(this IObservable<TSource> source, Func<TSource, double> selector)
Summary: Invokes a transform function on each element of a sequence and returns the minimum Double value.
Type parameters
| Name | Description |
|---|---|
TSource | The type of the elements in the source sequence. |
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | A sequence of values to determine the minimum value of. |
selector | Func | A transform function to apply to each element. |
Returns: IObservable
Remarks
The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | source or selector is null. |
16. Overload¶
public static IObservable<float> Min<TSource>(this IObservable<TSource> source, Func<TSource, float> selector)
Summary: Invokes a transform function on each element of a sequence and returns the minimum Single value.
Type parameters
| Name | Description |
|---|---|
TSource | The type of the elements in the source sequence. |
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | A sequence of values to determine the minimum value of. |
selector | Func | A transform function to apply to each element. |
Returns: IObservable
Remarks
The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | source or selector is null. |
17. Overload¶
public static IObservable<decimal> Min<TSource>(this IObservable<TSource> source, Func<TSource, decimal> selector)
Summary: Invokes a transform function on each element of a sequence and returns the minimum Decimal value.
Type parameters
| Name | Description |
|---|---|
TSource | The type of the elements in the source sequence. |
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | A sequence of values to determine the minimum value of. |
selector | Func | A transform function to apply to each element. |
Returns: IObservable
Remarks
The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | source or selector is null. |
18. Overload¶
public static IObservable<int> Min<TSource>(this IObservable<TSource> source, Func<TSource, int> selector)
Summary: Invokes a transform function on each element of a sequence and returns the minimum Int32 value.
Type parameters
| Name | Description |
|---|---|
TSource | The type of the elements in the source sequence. |
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | A sequence of values to determine the minimum value of. |
selector | Func | A transform function to apply to each element. |
Returns: IObservable
Remarks
The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | source or selector is null. |
19. Overload¶
public static IObservable<long> Min<TSource>(this IObservable<TSource> source, Func<TSource, long> selector)
Summary: Invokes a transform function on each element of a sequence and returns the minimum Int64 value.
Type parameters
| Name | Description |
|---|---|
TSource | The type of the elements in the source sequence. |
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | A sequence of values to determine the minimum value of. |
selector | Func | A transform function to apply to each element. |
Returns: IObservable
Remarks
The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | source or selector is null. |
20. Overload¶
public static IObservable<double?> Min<TSource>(this IObservable<TSource> source, Func<TSource, double?> selector)
Summary: Invokes a transform function on each element of a sequence and returns the minimum nullable Double value.
Type parameters
| Name | Description |
|---|---|
TSource | The type of the elements in the source sequence. |
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | A sequence of values to determine the minimum value of. |
selector | Func | A transform function to apply to each element. |
Returns: IObservable
Remarks
The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | source or selector is null. |
21. Overload¶
public static IObservable<float?> Min<TSource>(this IObservable<TSource> source, Func<TSource, float?> selector)
Summary: Invokes a transform function on each element of a sequence and returns the minimum nullable Single value.
Type parameters
| Name | Description |
|---|---|
TSource | The type of the elements in the source sequence. |
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | A sequence of values to determine the minimum value of. |
selector | Func | A transform function to apply to each element. |
Returns: IObservable
Remarks
The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | source or selector is null. |
22. Overload¶
public static IObservable<decimal?> Min<TSource>(this IObservable<TSource> source, Func<TSource, decimal?> selector)
Summary: Invokes a transform function on each element of a sequence and returns the minimum nullable Decimal value.
Type parameters
| Name | Description |
|---|---|
TSource | The type of the elements in the source sequence. |
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | A sequence of values to determine the minimum value of. |
selector | Func | A transform function to apply to each element. |
Returns: IObservable
Remarks
The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | source or selector is null. |
23. Overload¶
public static IObservable<int?> Min<TSource>(this IObservable<TSource> source, Func<TSource, int?> selector)
Summary: Invokes a transform function on each element of a sequence and returns the minimum nullable Int32 value.
Type parameters
| Name | Description |
|---|---|
TSource | The type of the elements in the source sequence. |
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | A sequence of values to determine the minimum value of. |
selector | Func | A transform function to apply to each element. |
Returns: IObservable
Remarks
The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | source or selector is null. |
24. Overload¶
public static IObservable<long?> Min<TSource>(this IObservable<TSource> source, Func<TSource, long?> selector)
Summary: Invokes a transform function on each element of a sequence and returns the minimum nullable Int64 value.
Type parameters
| Name | Description |
|---|---|
TSource | The type of the elements in the source sequence. |
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | A sequence of values to determine the minimum value of. |
selector | Func | A transform function to apply to each element. |
Returns: IObservable
Remarks
The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | source or selector is null. |