Acrolinx.Sdk.Sidebar.Documents.Range.Includes C# (CSharp) 메소드

Includes() 정적인 개인적인 메소드

static private Includes ( IRange range, IRange maybeIncludedRange ) : bool
range IRange
maybeIncludedRange IRange
리턴 bool
        internal static bool Includes(IRange range, IRange maybeIncludedRange)
        {
            Contract.Requires(range != null);
            Contract.Requires(maybeIncludedRange != null);

            return range.Start <= maybeIncludedRange.Start && maybeIncludedRange.End <= range.End;
        }