Hi all,
Chasing some opinions on what I am trying to do.
I am creating some base classes that are to be used within and external to AutoCAD. Which of the below options would be best practice/give best flexibility?
Option 1
Reference in base class and create extension methods for AutoCAD.
Option 2
Derive a class from the base class and add in all the AutoCAD functionality
Option 3
Have virtual methods in the base class and override them in the derived class in AutoCAD
Option 4
Something completely different that I haven't considered.
Happy to hear all thoughts on this.
Cheers,
Brent
Chasing some opinions on what I am trying to do.
I am creating some base classes that are to be used within and external to AutoCAD. Which of the below options would be best practice/give best flexibility?
Option 1
Reference in base class and create extension methods for AutoCAD.
Option 2
Derive a class from the base class and add in all the AutoCAD functionality
Option 3
Have virtual methods in the base class and override them in the derived class in AutoCAD
Option 4
Something completely different that I haven't considered.
Happy to hear all thoughts on this.
Cheers,
Brent