public HCParser(FdoCache cache, string dataDir) { m_cache = cache; m_retriever = new M3ParserModelRetriever(m_cache); m_patr = new PatrParser { CommentChar = '|', CodePage = Encoding.UTF8.CodePage }; m_loader = new XmlLoader { XmlResolver = new XmlFwResolver(dataDir), QuitOnError = false }; m_outputDirectory = Path.GetTempPath(); m_projectName = ParserHelper.ConvertNameToUseAnsiCharacters(cache.ProjectId.Name); m_transformer = new M3ToHCTransformer(m_projectName); }
public LoadException(LoadErrorType errorType, Loader loader, string message, Exception inner) : base(message, inner) { m_errorType = errorType; m_loader = loader; }
public LoadException(LoadErrorType errorType, Loader loader) { m_errorType = errorType; m_loader = loader; }