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 Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
672 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
379 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
111 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
577 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
582 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment