Background
As part work to abstract a few classes to one interface, I've had to changes a file which makes use of one of these old classes to now point it to the interface fields.
The file previously would have looked something like this (simplified for example).
public class Foo{
public string RetrieveValue(MyModel model)
{
return model.Area.Street.Flat;
}
public string RetrieveOtherValue(MyModel model)
{
return model.Area.Shop;
}
}
But would now look like this.
public class Foo{
public string RetrieveValue(MyModel model)
{
return model.Base_Area.Base_Street.Base_Flat;
}
public string RetrieveOtherValue(MyModel model)
{
return model.Base_Area.Base_Shop;
}
}
Question
Can I check easily that the only change here was the inclusion of Base_
in various places?
It's easy to see on this scale with a diff tool, but the file big enough that I don't trust just eyeballing it. My source control in use is git but I'm happy to use other tools if necessary.
Ideally I'd like to ignore all sorts of whitespace, too.