Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mark Mitchell 35 posts 60 karma points
    Mar 22, 2013 @ 18:49
    Mark Mitchell
    0

    Replacement for umbraco.cms.businesslogic.media.Media.AfterSave and other "Obsolete" event handlers

    I am trying to update an older library to work with version 6.0.2.  The compiler tells me that:

    'umbraco.cms.businesslogic.media.Media' is obsolete: '"Obsolete, Use Umbraco.Core.Models.Media"

    but I can't find any event handler counterparts in Umbraco.Core.Models.Media.

    What is the reccomended method to use?

    Thanks!

    Mark

  • Kevin Jump 2310 posts 14695 karma points MVP 7x c-trib
    Mar 22, 2013 @ 22:28
    Kevin Jump
    1

    i think you should be looking at the services in Umbraco.Core.Services.MediaService there is Saving and Saved. 

     

Please Sign in or register to post replies

Write your reply to:

Draft