I made my own Test_class and put it to separate .cs file
And I'd like to check MashineID in constructor.
[COLOR=Blue]using [/COLOR]NinjaTrader.Cbi; [COLOR=Blue]namespace [/COLOR]i_Lib_Test { [COLOR=RoyalBlue][COLOR=Blue]public class[/COLOR] [/COLOR]Test_class { [COLOR=Blue]public [/COLOR]Test_class( NinjaTrader.Cbi.License licenseObject ) { } } }
Test_class tc = new Test_class( this.Cbi.License ); Test_class tc = new Test_class( NinjaTrader.Cbi.License ); Test_class tc = new Test_class( License );
(I'm sure using just Licenes.MashineID string as argument is useless, am I wrong?).
Comment