public ContextScope CreateContextScope(CGFParserReporterContext.Type contextType, String filePath) { CGFParserReporterContext reporterContext = CGFParserReporterContext.CreateContext(contextType, filePath); ContextScope contextScope = new ContextScope(this, reporterContext); return(contextScope); }
public static CGFParserReporterContext CreateContext(CGFParserReporterContext.Type contextType, String contextName) { CGFParserReporterContext reporterContext = new CGFParserReporterContext(); reporterContext.ContextType = contextType; reporterContext.ContextName = contextName; return(reporterContext); }