ServiceClientGenerator.GenerationManifest.DetermineCustomizationsPath C# (CSharp) 메소드

DetermineCustomizationsPath() 개인적인 정적인 메소드

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
리턴 string
        private static string DetermineCustomizationsPath(string model)
        {
            var files = Directory.GetFiles("customizations", model + "*.customizations.json").OrderByDescending(x => x);
            return !files.Any() ? null : files.Single();
        }