Ejemplo n.º 1
0
		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);
		}
Ejemplo n.º 2
0
		public LoadException(LoadErrorType errorType, Loader loader, string message, Exception inner)
			: base(message, inner)
		{
			m_errorType = errorType;
			m_loader = loader;
		}
Ejemplo n.º 3
0
		public LoadException(LoadErrorType errorType, Loader loader)
		{
			m_errorType = errorType;
			m_loader = loader;
		}