protected void GenerateFor(MethodInfo actionMethod, string outputDirectory)
        {
            var fileName        = OperationsProvider.GetOperationId(actionMethod);
            var operationPolicy = CreatePolicyGenerator().Generate(actionMethod);

            FileExporter.ExportToFile(operationPolicy, outputDirectory, fileName);
        }
        private void GenerateAllOperationsPolicy(string outputDirectory, Assembly assembly)
        {
            var allOperationsMethodInfo = OperationsProvider.GetAllOperations(assembly);

            if (allOperationsMethodInfo == null)
            {
                return;
            }

            var allOperationsPolicy = CreatePolicyGenerator().Generate(allOperationsMethodInfo);

            FileExporter.ExportToFile(allOperationsPolicy, outputDirectory, AllOperationsFileName);
        }