Ejemplo n.º 1
0
        public static Context CreateContext(this Range cell)
        {
            var definedIn = new ParserSheetReference(cell.Worksheet.Parent.Name, cell.Worksheet.Name);

            return(new Context(definedIn, NamedRanges(cell.Application)));
        }
Ejemplo n.º 2
0
 public Context(ParserSheetReference definedIn, ISet <NamedRangeDef> namedRanges = null)
 {
     DefinedIn   = definedIn;
     NamedRanges = namedRanges ?? new HashSet <NamedRangeDef>();
 }