コード例 #1
0
        public ContextScope CreateContextScope(CGFParserReporterContext.Type contextType, String filePath)
        {
            CGFParserReporterContext reporterContext = CGFParserReporterContext.CreateContext(contextType, filePath);
            ContextScope             contextScope    = new ContextScope(this, reporterContext);

            return(contextScope);
        }
コード例 #2
0
        public static CGFParserReporterContext CreateContext(CGFParserReporterContext.Type contextType, String contextName)
        {
            CGFParserReporterContext reporterContext = new CGFParserReporterContext();

            reporterContext.ContextType = contextType;
            reporterContext.ContextName = contextName;

            return(reporterContext);
        }