public IEnumerable <int> RangeIndexScan(RangeIndexScanSpecification definition) { #region initial checks if (definition == null) { throw new ArgumentNullException("definition"); } #endregion var left = (IComparable)Convert.ChangeType(definition.LeftLimit, Type.GetType(definition.FullQualifiedTypeName, true, true)); var right = (IComparable)Convert.ChangeType(definition.RightLimit, Type.GetType(definition.FullQualifiedTypeName, true, true)); ReadOnlyCollection <AGraphElement> graphElements; return(_fallen8.RangeIndexScan(out graphElements, definition.IndexId, left, right, definition.IncludeLeft, definition.IncludeRight) ? CreateResult(graphElements, definition.ResultType) : Enumerable.Empty <Int32>()); }