Пример #1
0
        public InsertPosition PosWithinRange(StringRange Range)
        {
            int pos  = this.Value - Range.Start;
            var rltv = this.Relative;

            return(new InsertPosition(rltv, pos));
        }
Пример #2
0
 public bool IsWithin(StringRange Range)
 {
     if ((this.Value >= Range.Start) && (this.Value <= Range.End))
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }