ServiceClientGenerator.GenerationManifest.DetermineCustomizationsPath C# (CSharp) Method

DetermineCustomizationsPath() private static method

Finds the customizations file in \customizations as model.customizations.json if it's there
private static DetermineCustomizationsPath ( string model ) : string
model string The name of the model as defined in the _manifest
return string
        private static string DetermineCustomizationsPath(string model)
        {
            var files = Directory.GetFiles("customizations", model + "*.customizations.json").OrderByDescending(x => x);
            return !files.Any() ? null : files.Single();
        }