/// <summary>
        /// <para>Initializes a new instance of the <see cref="GroupRemoveMemberDetails" />
        /// class.</para>
        /// </summary>
        /// <param name="groupInfo">Group details.</param>
        public GroupRemoveMemberDetails(GroupLogInfo groupInfo)
        {
            if (groupInfo == null)
            {
                throw new sys.ArgumentNullException("groupInfo");
            }

            this.GroupInfo = groupInfo;
        }
        /// <summary>
        /// <para>Initializes a new instance of the <see cref="GroupDescriptionUpdatedDetails"
        /// /> class.</para>
        /// </summary>
        /// <param name="groupInfo">Group details.</param>
        public GroupDescriptionUpdatedDetails(GroupLogInfo groupInfo)
        {
            if (groupInfo == null)
            {
                throw new sys.ArgumentNullException("groupInfo");
            }

            this.GroupInfo = groupInfo;
        }
Ejemplo n.º 3
0
        /// <summary>
        /// <para>Initializes a new instance of the <see cref="GroupChangeMemberRoleDetails" />
        /// class.</para>
        /// </summary>
        /// <param name="groupInfo">Group details.</param>
        /// <param name="isGroupOwner">Is group owner.</param>
        public GroupChangeMemberRoleDetails(GroupLogInfo groupInfo,
                                            bool isGroupOwner)
        {
            if (groupInfo == null)
            {
                throw new sys.ArgumentNullException("groupInfo");
            }

            this.GroupInfo    = groupInfo;
            this.IsGroupOwner = isGroupOwner;
        }
        /// <summary>
        /// <para>Initializes a new instance of the <see cref="GroupDeleteDetails" />
        /// class.</para>
        /// </summary>
        /// <param name="groupInfo">Group details.</param>
        /// <param name="isAdminManaged">Is admin managed group. Might be missing due to
        /// historical data gap.</param>
        public GroupDeleteDetails(GroupLogInfo groupInfo,
                                  bool?isAdminManaged = null)
        {
            if (groupInfo == null)
            {
                throw new sys.ArgumentNullException("groupInfo");
            }

            this.GroupInfo      = groupInfo;
            this.IsAdminManaged = isAdminManaged;
        }
        /// <summary>
        /// <para>Initializes a new instance of the <see cref="GroupRenameDetails" />
        /// class.</para>
        /// </summary>
        /// <param name="groupInfo">Group details.</param>
        /// <param name="previousValue">Previous display name.</param>
        public GroupRenameDetails(GroupLogInfo groupInfo,
                                  string previousValue)
        {
            if (groupInfo == null)
            {
                throw new sys.ArgumentNullException("groupInfo");
            }

            if (previousValue == null)
            {
                throw new sys.ArgumentNullException("previousValue");
            }

            this.GroupInfo     = groupInfo;
            this.PreviousValue = previousValue;
        }
Ejemplo n.º 6
0
        /// <summary>
        /// <para>Initializes a new instance of the <see cref="GroupAddExternalIdDetails" />
        /// class.</para>
        /// </summary>
        /// <param name="groupInfo">Group details.</param>
        /// <param name="newValue">Current external id.</param>
        public GroupAddExternalIdDetails(GroupLogInfo groupInfo,
                                         string newValue)
        {
            if (groupInfo == null)
            {
                throw new sys.ArgumentNullException("groupInfo");
            }

            if (newValue == null)
            {
                throw new sys.ArgumentNullException("newValue");
            }

            this.GroupInfo = groupInfo;
            this.NewValue  = newValue;
        }
Ejemplo n.º 7
0
        /// <summary>
        /// <para>Initializes a new instance of the <see cref="GroupJoinPolicyUpdatedDetails"
        /// /> class.</para>
        /// </summary>
        /// <param name="groupInfo">Group details.</param>
        /// <param name="joinPolicy">Group join policy.</param>
        /// <param name="isAdminManaged">Is admin managed group. Might be missing due to
        /// historical data gap.</param>
        public GroupJoinPolicyUpdatedDetails(GroupLogInfo groupInfo,
                                             GroupJoinPolicy joinPolicy,
                                             bool?isAdminManaged = null)
        {
            if (groupInfo == null)
            {
                throw new sys.ArgumentNullException("groupInfo");
            }

            if (joinPolicy == null)
            {
                throw new sys.ArgumentNullException("joinPolicy");
            }

            this.GroupInfo      = groupInfo;
            this.JoinPolicy     = joinPolicy;
            this.IsAdminManaged = isAdminManaged;
        }
Ejemplo n.º 8
0
        /// <summary>
        /// <para>Initializes a new instance of the <see
        /// cref="GroupChangeManagementTypeDetails" /> class.</para>
        /// </summary>
        /// <param name="groupInfo">Group details.</param>
        /// <param name="newValue">New group management type.</param>
        /// <param name="previousValue">Previous group management type. Might be missing due to
        /// historical data gap.</param>
        public GroupChangeManagementTypeDetails(GroupLogInfo groupInfo,
                                                GroupManagementType newValue,
                                                GroupManagementType previousValue = null)
        {
            if (groupInfo == null)
            {
                throw new sys.ArgumentNullException("groupInfo");
            }

            if (newValue == null)
            {
                throw new sys.ArgumentNullException("newValue");
            }

            this.GroupInfo     = groupInfo;
            this.NewValue      = newValue;
            this.PreviousValue = previousValue;
        }
Ejemplo n.º 9
0
        /// <summary>
        /// <para>Initializes a new instance of the <see cref="GroupChangeExternalIdDetails" />
        /// class.</para>
        /// </summary>
        /// <param name="groupInfo">Group details.</param>
        /// <param name="newValue">Current external id.</param>
        /// <param name="previousValue">Old external id.</param>
        public GroupChangeExternalIdDetails(GroupLogInfo groupInfo,
                                            string newValue,
                                            string previousValue)
        {
            if (groupInfo == null)
            {
                throw new sys.ArgumentNullException("groupInfo");
            }

            if (newValue == null)
            {
                throw new sys.ArgumentNullException("newValue");
            }

            if (previousValue == null)
            {
                throw new sys.ArgumentNullException("previousValue");
            }

            this.GroupInfo     = groupInfo;
            this.NewValue      = newValue;
            this.PreviousValue = previousValue;
        }
Ejemplo n.º 10
0
 /// <summary>
 /// <para>Initializes a new instance of the <see cref="Group" /> class.</para>
 /// </summary>
 /// <param name="value">The value</param>
 public Group(GroupLogInfo value)
 {
     this.Value = value;
 }