E
Eric Newton
Calling NEW for a particular type but actually ending up giving the caller a
derived type based on the constructor call
The problem is trying to build an extensible framework that will return the
most specialized object even through a different project...
For instance, WebRequest privatized the constructor and said "use the static
Create method" but you can't override a static method like Create [that is,
if WebRequest is even inheritable ie not sealed]
derived type based on the constructor call
The problem is trying to build an extensible framework that will return the
most specialized object even through a different project...
For instance, WebRequest privatized the constructor and said "use the static
Create method" but you can't override a static method like Create [that is,
if WebRequest is even inheritable ie not sealed]