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 Hwop38, 05-04-2026, 07:02 PM
      0 responses
      175 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      331 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      253 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      356 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      183 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X