This page has been moved to the wiki. See the latest version at Modding:Updating deprecated SMAPI code.