/// <summary> /// Creates a documents window. /// </summary> /// <param name="lowerBoundary">The lower boundary.</param> /// <param name="upperBoundary">The upper boundary.</param> /// <returns>A documents window.</returns> public static DocumentsWindow Create(KeywordDocumentsWindowBoundary lowerBoundary, int upperBoundary) { return(new DocumentsWindow(lowerBoundary, new PositionDocumentsWindowBoundary(upperBoundary))); }
/// <summary> /// Creates a documents window. /// </summary> /// <param name="lowerBoundary">The lower boundary.</param> /// <param name="upperBoundary">The upper boundary.</param> /// <returns>A documents window.</returns> public static DocumentsWindow Create(KeywordDocumentsWindowBoundary lowerBoundary, KeywordDocumentsWindowBoundary upperBoundary) { return(new DocumentsWindow(lowerBoundary, upperBoundary)); }
/// <summary> /// Creates a documents window. /// </summary> /// <param name="lowerBoundary">The lower boundary.</param> /// <param name="upperBoundary">The upper boundary.</param> /// <returns>A documents window.</returns> public static DocumentsWindow Create(int lowerBoundary, KeywordDocumentsWindowBoundary upperBoundary) { return(new DocumentsWindow(new PositionDocumentsWindowBoundary(lowerBoundary), upperBoundary)); }