I was able to do this for a new code module by declaring the variable in the constructor, but since the user code actions use partial classes, I am not sure how I would be able to get a variable created within that user code action to be accessible by other recordings.
I have attempted to include the following in the partial class:
Code: Select all
public partial class ChangeSortOrder
{
public int newSortOrder {
get { return newSortOrder; }
set{ newSortOrder = value; }
}
Any way that I can achieve this?