BadScript 2
Loading...
Searching...
No Matches
BadLinqQueryTakeWhileCommand.cs
Go to the documentation of this file.
1using System.Collections;
2
4
9{
11 public BadLinqQueryTakeWhileCommand() : base(true, false, "TakeWhile") { }
12
14 public override IEnumerable Run(BadLinqQueryCommandData data)
15 {
16 return data.Data.TakeWhile(data.Argument!);
17 }
18}
Implements the Command Data for the BadLinqQuery.
Implements an Abstract Command for the BadLinqQuery.