internal LinkChangeGroup(string groupName, LinkChangeGroupStatus status, bool isConflicted, long internalId, int age, int numOfTranslationRetries) { if (internalId <= 0) { throw new ArgumentOutOfRangeException("internalId", "internalId must be a positive integer"); } Initialize(groupName, status, isConflicted, internalId, age, numOfTranslationRetries); }
private void Initialize(string groupName, LinkChangeGroupStatus status, bool isConflicted, long internalId, int age, int numOfTranslationRetries) { if (string.IsNullOrEmpty(groupName)) { throw new ArgumentNullException("groupName"); } m_actions = new List <LinkChangeAction>(); Status = status; IsConflicted = isConflicted; InternalId = internalId; GroupName = groupName; Age = age; TranslationRetries = numOfTranslationRetries; }
public LinkChangeGroup(string groupName, LinkChangeGroupStatus status, bool isConflicted) { Initialize(groupName, status, isConflicted, INVALID_INTERNAL_ID, 0, 0); }