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 argusthome, Yesterday, 10:06 AM
|
0 responses
22 views
0 likes
|
Last Post
by argusthome
Yesterday, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
19 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
14 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
10 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
41 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment