Пример #1
0
 private static SolutionAnalysis Analyze(TwoFerSolution twoFerSolution) =>
 twoFerSolution.AnalyzeError() ??
 twoFerSolution.AnalyzeSingleLine() ??
 twoFerSolution.AnalyzeParameterAssignment() ??
 twoFerSolution.AnalyzeVariableAssignment() ??
 twoFerSolution.ReferToMentor();
Пример #2
0
 private static SolutionAnalysis ApproveWhenValid(this TwoFerSolution twoFerSolution) =>
 twoFerSolution.AnalyzeSingleLine() ??
 twoFerSolution.AnalyzeParameterAssignment() ??
 twoFerSolution.AnalyzeVariableAssignment();