Before posting this question I spent almost 3 hours looking for the similar questions. the closest that I found was asking how to Prevent this. but I'm looking for a way to do it automatically.I have an interface which has been implemented in multiple classes. when I'm adding a another property to that interface I have to go and update all the references. I was wondering if there's anyway to auto-implement that field in all the classes/interfaces that have implemented that interface? similar to when you refactor a method name and all of its references will be updated with the new name!
let's say I add MyProperty
to an interface, the following is expected to be auto-generated in all its references.
public string MyProperty {get; set;}
Thank you