I used to do similar things, but for task that have a very similar output/process, I tend to use a "DeleteOption" argument to keep the process centralised. I find it easier to then save the parameters with a DataContract.
I guess you use a dictionnary to select the correct function? I usually do this for very unrelated tasks:
IDictionnary <myEnum.MethodName, myIAction>
. Then it is as well quite easy to save it.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I used to do similar things, but for task that have a very similar output/process, I tend to use a "DeleteOption" argument to keep the process centralised. I find it easier to then save the parameters with a DataContract.
I guess you use a dictionnary to select the correct function? I usually do this for very unrelated tasks:
IDictionnary <myEnum.MethodName, myIAction>
. Then it is as well quite easy to save it.