protected bool Process(IStructureDiscoveryCommand actual) { Command = actual; IEnumerable <string> structures = Command.Execute().ToArray(); return(this.Matches(structures)); }
/// <summary> /// Command to be executed when invesrtigating a failure /// </summary> protected AbstractStructureConstraint Investigate(StructureDiscoveryCommand command) { InvestigateCommand = command; return(this); }
protected bool Process(IStructureDiscoveryCommand actual) { Command = actual; IEnumerable<string> structures = Command.Execute().ToArray(); return this.Matches(structures); }