Repeat__1_5 - waf/Rx.NET GitHub Wiki

QueryableEx.Repeat<TResult> Method (IQueryProvider, TResult, Int32)

Generates a sequence that contains one repeated value.

Namespace: System.Linq
Assembly: System.Interactive.Providers (in System.Interactive.Providers.dll)

Syntax

public static IQueryable<TResult> Repeat<TResult>(
	this IQueryProvider provider,
	TResult element,
	int count
)

Parameters

provider

Type: System.Linq.IQueryProvider
Query provider.

element

Type: TResult
The value to be repeated.

count

Type: System.Int32
The number of times to repeat the value in the generated sequence.

Type Parameters

TResult

Result sequence element type.

Return Value

Type: IQueryable<TResult>
Sequence that contains a repeated value.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQueryProvider. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also

Reference

QueryableEx Class
System.Linq Namespace

⚠️ **GitHub.com Fallback** ⚠️