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 CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
24 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
25 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|
||
|
Started by CaptainJack, 03-25-2026, 09:53 PM
|
0 responses
30 views
0 likes
|
Last Post
by CaptainJack
03-25-2026, 09:53 PM
|
||
|
Started by CaptainJack, 03-25-2026, 09:51 PM
|
0 responses
18 views
0 likes
|
Last Post
by CaptainJack
03-25-2026, 09:51 PM
|
||
|
Started by Mindset, 03-23-2026, 11:13 AM
|
0 responses
27 views
0 likes
|
Last Post
by Mindset
03-23-2026, 11:13 AM
|

Comment