Of course, many of us know where and how to define partial classes. but the template that this represented was useful as a reference.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
UserDefinedMethods.cs ?
Collapse
X
-
Ah - sorry yes meant to include that in code breaking.
After review, we found that everyone sharing the same "UserDefinedMethod.cs" partial was more problematic than advantageous (conflicts between PCs, devs overwriting each others partials when distributing, etc), and that anyone who wanted this sort of functionality can write their own partial.
Perhaps, I can write in a request to add a partial class generator to the NinjaScript wizard, unless you have other ideas - I'll be happy to pass that along.MatthewNinjaTrader Product Management
-
Well, yes that works too. I presume you mean that multiple folks simply ignored your very dire warnings not to distribute UserDefinedMethods.cs, and why, and did it anyway?Originally posted by NinjaTrader_Matthew View PostAh - sorry yes meant to include that in code breaking.
After review, we found that everyone sharing the same "UserDefinedMethod.cs" partial was more problematic than advantageous (conflicts between PCs, devs overwriting each others partials when distributing, etc), and that anyone who wanted this sort of functionality can write their own partial.
Perhaps, I can write in a request to add a partial class generator to the NinjaScript wizard, unless you have other ideas - I'll be happy to pass that along.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CaptainJack, 05-29-2026, 05:09 AM
|
0 responses
428 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 05:09 AM
|
||
|
Started by CaptainJack, 05-29-2026, 12:02 AM
|
0 responses
279 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 12:02 AM
|
||
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
241 views
1 like
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
327 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
290 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|

Comment