private void InitializeGridReference(SheetReference @ref, ISheet sheet) { @ref.SetEngine(_owner); ValidateSheet(sheet); @ref.Sheet = sheet; @ref.Validate(); @ref.ComputeHashCode(); }
private void InitializeParsedGridReference(SheetReference @ref, string s) { ReferenceParseProperties parseProps = SheetReference.CreateParseProperties(s); @ref.SetEngine(_owner); @ref.ProcessParseProperties(parseProps, _owner); @ref.Validate(); @ref.ComputeHashCode(); }