Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
It is sealed for this, so that it is not inherited. Wrapper is not a way to inherit. You can completely reproduce the class interface on the wrapper (even better if PathFigureCollection has a declared interface - implement it) and use this wrapper instead of PathFigureCollection.
Something like this:
public class PathFigureCollectionWrapper
{
private PathFigureCollection _pfc;
public PathFigureCollectionWrapper(PathFigureCollection pfc)
{
_pfc = pfc;
}
public int Method()
{
return _pfc.Method();
}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question