public void InitializeUserId(string userId) { if (string.IsNullOrEmpty(userId)) { throw new ArgumentException("userId"); } this.userId = userId; }