Please have a look at Working with Task Baseline where you can find the usage of TaskBaseline and feel free to write us back if it can fulfill your requirements or not. We will be more than happy to assist you more if required.
I already took a look at this site. There is no sample code for creating a baseline at the project level or at the task level. Can you provide an example of this or is this something that can only be done with the project scheduling engine in Project Pro. Project Pro lets you save about 10 baselines, but I am unsure if your wrapper does this and if it does, does it call on project pro to do the work or do you replicate that logic in the wrapper class you provide? Thanks.