Conditional DoWhile loop.
Namespace: Microsoft.Research.DryadLinqAssembly: Microsoft.Research.DryadLinq (in Microsoft.Research.DryadLinq.dll) Version: 0.1.2.0 (0.1.2.0)
public static IQueryable<T> DoWhile<T>(
this IQueryable<T> source,
Func<IQueryable<T>, IQueryable<T>> body,
Func<IQueryable<T>, IQueryable<T>, IQueryable<bool>> cond
)
public static IQueryable<T> DoWhile<T>(
this IQueryable<T> source,
Func<IQueryable<T>, IQueryable<T>> body,
Func<IQueryable<T>, IQueryable<T>, IQueryable<bool>> cond
)
<ExtensionAttribute>
Public Shared Function DoWhile(Of T) (
source As IQueryable(Of T),
body As Func(Of IQueryable(Of T), IQueryable(Of T)),
cond As Func(Of IQueryable(Of T), IQueryable(Of T), IQueryable(Of Boolean))
) As IQueryable(Of T)
<ExtensionAttribute>
Public Shared Function DoWhile(Of T) (
source As IQueryable(Of T),
body As Func(Of IQueryable(Of T), IQueryable(Of T)),
cond As Func(Of IQueryable(Of T), IQueryable(Of T), IQueryable(Of Boolean))
) As IQueryable(Of T)
public:
[ExtensionAttribute]
generic<typename T>
static IQueryable<T>^ DoWhile(
IQueryable<T>^ source,
Func<IQueryable<T>^, IQueryable<T>^>^ body,
Func<IQueryable<T>^, IQueryable<T>^, IQueryable<bool>^>^ cond
)
public:
[ExtensionAttribute]
generic<typename T>
static IQueryable<T>^ DoWhile(
IQueryable<T>^ source,
Func<IQueryable<T>^, IQueryable<T>^>^ body,
Func<IQueryable<T>^, IQueryable<T>^, IQueryable<bool>^>^ cond
)
- T
- The type of the input records
Return Value
Type:
IQueryable T The output dataset
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IQueryable T . 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).