public void Handle(CountArguments input)
        {
            var methodInfos  = GenerateInfoToMethods.Handle(input);
            var generateInfo = new GenerateMethodsInfo(_pathToDestinationFile, _pathToExampleCodeFile, methodInfos);

            ToMethodGenerator.Handle(generateInfo);
        }
 public GenerateManager()
 {
     GenerateInfoToMethods    = new GenerateInfoToMethods();
     FileReader               = new FileReader();
     ClassReWriter            = new ClassReWriter();
     MethodParametersReWriter = new ParameterReWriter();
     FileWriter               = new FileWriter();
     GetParameters            = new GetNodeStructure <Parameter, ParameterSyntax, ParameterListSyntax>(
         new GetParameterListSyntax(new ConcatSyntaxNodeOrToken <ParameterSyntax>()),
         new ParameterExpressionBuilder());
     GetGenerics = new GetNodeStructure <IGenericInfo, TypeParameterSyntax, TypeParameterListSyntax>(
         new GetTypeParameterListSyntax(new ConcatSyntaxNodeOrToken <TypeParameterSyntax>()),
         new GenericTypesBuilder());
     GetBlockStatement =
         new GetNodeStructure <IArgumentInfo, StatementSyntax, BlockSyntax>(new GetBlockStructure(),
                                                                            new StatementBuilder());
     ToMethodGenerator = new ToMethodGenerator(MethodParametersReWriter, ClassReWriter, FileReader, FileWriter,
                                               GetParameters, GetGenerics, GetBlockStatement);
 }