public void AddMapping(MappingLocation documentLocation, MappingLocation generatedLocation)
 {
     Mappings.Add(new LineMapping
     {
         DocumentLocation = documentLocation,
         GeneratedLocation = generatedLocation
     });
 }
Beispiel #2
0
 public void AddMapping(MappingLocation documentLocation, MappingLocation generatedLocation)
 {
     Mappings.Add(new LineMapping
     {
         DocumentLocation  = documentLocation,
         GeneratedLocation = generatedLocation
     });
 }
Beispiel #3
0
        public override bool Equals(object obj)
        {
            MappingLocation other = obj as MappingLocation;

            return(AbsoluteIndex == other.AbsoluteIndex &&
                   ContentLength == other.ContentLength &&
                   LineIndex == other.LineIndex &&
                   CharacterIndex == other.CharacterIndex);
        }
Beispiel #4
0
 public LineMapping(MappingLocation documentLocation, MappingLocation generatedLocation)
 {
     DocumentLocation = documentLocation;
     GeneratedLocation = generatedLocation;
 }
Beispiel #5
0
 public LineMapping(MappingLocation documentLocation, MappingLocation generatedLocation)
 {
     DocumentLocation  = documentLocation;
     GeneratedLocation = generatedLocation;
 }
 public void AddMapping(MappingLocation documentLocation, MappingLocation generatedLocation)
 {
     Mappings.Add(new LineMapping(documentLocation, generatedLocation));
 }