Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Serialization issues in NT8.03

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

    Serialization issues in NT8.03

    Hey guys - I am running into compilation problems after upgrading to NT8.03. Here's some of the affected code:

    Code:
    [XmlIgnore]
    		[NinjaScriptProperty]
    		[Display(ResourceType = typeof(Custom.Resource), Name = "NlblBrush", Order = 4, GroupName = "NinjaScriptParameters")]
    		public Brush NlblBrush { get; set; }
    
    		[Browsable(false)]
    		public string NlblBrushSerialize
    		{
    			get { return Serialize.Brush2String(NlblBrush); }
    			set { NlblBrush = Serialize.String2Brush(value); }
    		}
    Error message:

    NinjaScript File Error Code Line Column
    NetLines.cs 'NinjaTrader.Gui.Serialize' does not contain a definition for 'Brush2String' CS0117 243 27

    This worked fine in NT8.02 and clearly I'm missing some change in v.03. Any pointers would be appreciated. Thanks in advance.

    #2
    Originally posted by molecool View Post
    'NinjaTrader.Gui.Serialize' does not contain a definition for 'Brush2String'
    Code Breaking Changes between B2 and B3..

    http://ninjatrader.com/support/helpGuides/nt8/en-us/?8_0_0_3.htm

    Brush2String() - Renamed to BrushToString()
    String2Brush() - Renamed to StringToBrush()



    -=Edge=-
    NinjaTrader Ecosystem Vendor - High Tech Trading Analysis

    Comment


      #3
      Originally posted by -=Edge=- View Post
      Code Breaking Changes between B2 and B3..

      http://ninjatrader.com/support/helpGuides/nt8/en-us/?8_0_0_3.htm

      Brush2String() - Renamed to BrushToString()
      String2Brush() - Renamed to StringToBrush()



      Round2TickSize busted too?

      hopefully just depricated...

      Comment


        #4
        Originally posted by sledge View Post
        Round2TickSize busted too?
        That changed between B1 and B2..




        -=Edge=-
        NinjaTrader Ecosystem Vendor - High Tech Trading Analysis

        Comment


          #5
          Originally posted by sledge View Post
          Round2TickSize busted too?

          hopefully just depricated...
          Nope. We got 'em all!

          ref: http://ninjatrader.com/support/forum...d.php?p=414133

          Comment


            #6
            Haven't had time to devote to check with my .NET 4.0x framework $PATH laptop issues over last weekend...

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by hdge4u, 04-29-2024, 12:23 PM
            5 responses
            28 views
            0 likes
            Last Post MisterTee  
            Started by llanqui, 01-25-2024, 06:15 PM
            9 responses
            64 views
            0 likes
            Last Post MisterTee  
            Started by tradingnasdaqprueba, 05-07-2024, 03:42 AM
            16 responses
            65 views
            0 likes
            Last Post tradingnasdaqprueba  
            Started by Vulgoth_t_Destroyer, 05-09-2022, 04:45 PM
            55 responses
            5,458 views
            0 likes
            Last Post BartMan
            by BartMan
             
            Started by DawnTreader, 05-08-2024, 05:58 PM
            16 responses
            52 views
            0 likes
            Last Post DawnTreader  
            Working...
            X