Praeclarum.StringRange.Contains C# (CSharp) Метод

Contains() публичный Метод

public Contains ( StringRange other ) : bool
other StringRange
Результат bool
		public bool Contains (StringRange other)
		{
			var end = Location + Length;
			var oend = other.Location + other.Length;

			return
				Location <= other.Location && other.Location < end &&
				Location <= oend && oend < end;
		}