1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Inspecting Custom Module Class

Inspecting Custom Module Class

2 posts, 1 answered
  1. Keyra
    Keyra avatar
    6 posts
    Registered:
    16 Aug 2012
    12 Feb 2013
    Link to this post

    How would I go about inspecting (using .Net Reflector for example) the dynamic classes generated from using the "Module Builder" feature?  

    For example, I created a Module "Spotlights" with a content-type of "Spotlight".  Is it possible to open the following in Reflector?

    Telerik.Sitefinity.DynamicTypes.Model.Spotlights.Spotlight


  2. Stefani Tacheva
    Stefani Tacheva avatar
    718 posts
    Registered:
    31 May 2017
    15 Feb 2013
    Link to this post
    Hello Daniel,

    When you create a dynamic module, the data for the items is in the database and all other information is in the configuration files. The dynamic modules do not have their own class, because they are dynamically created. If you are trying to decompile the dll you will not have the ability, because there is no such dll for the module.

    Furthermore, the .NET Reflector is debugging into the source of all the .NET code, however you are not able to see the code of a class that does not exist physically.

    All the best,
    Stefani Tacheva
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
    Answered
2 posts, 1 answered