Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bool Property With RefreshProperties.All Does Not Work In Strat Analyzer Optimization

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Bool Property With RefreshProperties.All Does Not Work In Strat Analyzer Optimization

    When a strategy has a bool NinjaScriptProperty property that is marked with "[RefreshProperties(RefreshProperties.All)]" attribute, it does not work correctly when in optimization mode on the strategy analyzer.

    In the other modes, it works correctly, and triggers the properties to be re-parsed and trigger any configured TypeConverter.

    However, in the optimization mode, this is not happening. Not sure how it is implemented, but this attribute needs to be respected or propagated to any nested property.

    This is important so the UI is consistent for the user in all modes.

    #2
    Actually, you can remove this. If it triggered, you would not be able to know if the value is set to the Both option.

    Comment


      #3
      Hello aslane,

      Thanks for the post and update.

      It looks like you resolved the question however if you are seeing a problem surrounding refreshing the properties could you attach a small sample that includes a couple properties that exhibit the problem? I can make a report about that if you are seeing some inconsistency.

      I look forward to being of further assistance.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      72 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      43 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      25 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      28 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      60 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X