I´m creating a plugin (sync and post-operation) that will be run perhaps 100 days per day. It contains approx 15 methods.
I´m struggling to understand if it best if my methods are Static or instance methods in this case?
Thanks in advance!
Hello,
I would say you should use instance methods but in the case of plugins, it should not matter. Anyway, it's up to you to decide. You can check the following - docs.microsoft.com/.../static-classes-and-static-class-members
Hi Kranis,
It's prefered to writhe the execute methods as a stateless operation.
Take a look here: docs.microsoft.com/.../develop-iplugin-implementations-stateless
Daivat Vartak (v-9d...
225
Super User 2025 Season 1
Eugen Podkorytov
106
Muhammad Shahzad Sh...
106
Most Valuable Professional