Example #1
0
        protected bool Process(IStructureDiscoveryCommand actual)
        {
            Command = actual;
            IEnumerable <string> structures = Command.Execute().ToArray();

            return(this.Matches(structures));
        }
Example #2
0
 /// <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);
 }