port code from java testevencampaign class to dotnet testevent campaign class