I want to make a call to the parent function from its overidden function, i isolated my problem in the following code:
class SomeClass{
[type]GetType(){
write-host 'hooked'
return $BaseClass.GetType() # how do i call the BaseClass GetType function??
}
}
SomeClass::new().GetType()
i am expecting an output like this:
hooked
IsPublic IsSerial Name BaseType
-------- -------- ---- --------
True True SomeClass System.Object