Example #1
0
 /// <summary>Returns the total number of elements of the stream.</summary>
 /// <param name="stream">The input stream.</param>
 /// <returns>The total number of elements.</returns>
 public static int Count<TSource>(this Stream<TSource> stream)
 {
     return CSharpProxy.Count(stream);
 }
Example #2
0
 /// <summary>Returns the total number of elements of the CloudFlow.</summary>
 /// <param name="stream">The input CloudFlow.</param>
 /// <returns>The total number of elements.</returns>
 public static Cloud <long> Count <TSource>(this CloudFlow <TSource> stream)
 {
     return(CSharpProxy.Count(stream));
 }