GetPathToCodeDirectory() 공개 메소드

public GetPathToCodeDirectory ( System.Language language, string documentationVersion ) : string
language System.Language
documentationVersion string
리턴 string
예제 #1
0
        public IEnumerable <DocumentationPage> Compile(DirectoryInfo directoryInfo)
        {
            var directoryName        = directoryInfo.Name;
            var documentationVersion = directoryName;

            Debug.Assert(Directory.Exists(_options.GetPathToDocumentationPagesDirectory(documentationVersion)));
            Debug.Assert(Directory.Exists(_options.GetPathToCodeDirectory(Language.Csharp, documentationVersion)));
            Debug.Assert(Directory.Exists(_options.GetPathToCodeDirectory(Language.Java, documentationVersion)));

            return(CompileDocumentationDirectory(_options.GetPathToDocumentationPagesDirectory(documentationVersion), documentationVersion));
        }