// use the factory to create an instance of this type private ActivityIdHelper(GetCurrentDelegate getCurrentDel, SetAndDestroyDelegate setAndDestroyDel, SetAndPreserveDelegate setAndPreserveDel) { _getCurrentDel = getCurrentDel; _setAndDestroyDel = setAndDestroyDel; _setAndPreserveDel = setAndPreserveDel; }