Hello, I am trying to create an event that gets raised every time a
particular method is called. The method is abstract in the base. The
implementations of this method are numerous. So, for example, here is
some psuedo-code that shows my situation:
public class Base
{
public abstract void Save();
}
public class Inheritor : Base
{
public override void Save()
{
//Save something
}
}
What I am trying to accomplish is triggering an event every time a
save method is called from any child class. Is this possible? For some
reason I am hitting a mental block!
Thanks in advance!