BadScript 2
Loading...
Searching...
No Matches
BadLinqQueryCommand.cs
Go to the documentation of this file.
1using System.Collections;
2
4
8public abstract class BadLinqQueryCommand
9{
16 protected BadLinqQueryCommand(bool hasArgument, bool isArgumentOptional, params string[] names)
17 {
18 Names = names;
19 HasArgument = hasArgument;
20 IsArgumentOptional = isArgumentOptional;
21 }
22
26 public IEnumerable<string> Names { get; }
27
31 public bool HasArgument { get; }
32
36 public bool IsArgumentOptional { get; }
37
43 public abstract IEnumerable Run(BadLinqQueryCommandData data);
44}
Implements the Command Data for the BadLinqQuery.
Implements an Abstract Command for the BadLinqQuery.
bool HasArgument
Does the Command have an Argument?
BadLinqQueryCommand(bool hasArgument, bool isArgumentOptional, params string[] names)
Creates a new Command with the specified names.
IEnumerable< string > Names
The Command Names.
IEnumerable Run(BadLinqQueryCommandData data)
Runs the Command.
Contains the Linq Queries.