[Extension()] public static bool TryGetSourceFileContent( ICodeBase codeBase, IAbsoluteFilePath sourceFilePath, out string sourceFileContent, out string failureReason )
Parameters
- codeBase
- The code base that contains the source file.
- sourceFilePath
- The source file absolute path obtained from ICodeElement.ICodeElement.SourceDecls or from ICodeBase.ICodeBase.SourceFiles.
- sourceFileContent
- If this method succeeds and returns true, contains source file content.
- failureReason
- If this method fails and returns false, contains a plain-english description of the failure.