Ejemplo n.º 1
0
 private static SolutionAnalysis Analyze(TwoFerSolution twoFerSolution) =>
 twoFerSolution.AnalyzeError() ??
 twoFerSolution.AnalyzeSingleLine() ??
 twoFerSolution.AnalyzeParameterAssignment() ??
 twoFerSolution.AnalyzeVariableAssignment() ??
 twoFerSolution.ReferToMentor();
Ejemplo n.º 2
0
 private static SolutionAnalysis ApproveWhenValid(this TwoFerSolution twoFerSolution) =>
 twoFerSolution.AnalyzeSingleLine() ??
 twoFerSolution.AnalyzeParameterAssignment() ??
 twoFerSolution.AnalyzeVariableAssignment();