I have the PersonBaseClass and the EmployeeClass that derives from it. Now I'd like to define a method body as a comment in the BaseClass that when I use Resharper's "Implement Members" (or manually implement them) it also puts it in the method body.
Something (roughly) like that:
public abstract class PersonBaseClass : DependencyObject
{
//<methodComment>
// object connectionString;
// _configurations.TryGetValue("ConnectionString", out connectionString);
//</methodComment>
protected abstract void InstanceOnPersonChanged(object sender, EventArgs eventArgs);
}
That when implemented will look like that:
public class EmployeeClass : PersonBaseClass
{
protected override void InstanceOnPersonChanged(object sender, EventArgs eventArgs)
{
// object connectionString;
// _configurations.TryGetValue("ConnectionString", out connectionString);
}
}
Is that already possible somehow ? Couldn't get this to work with GhostDoc.
Edit: It would be useful as I want to have the BaseClass in a library and the implementation of it usually looks the same every time.