Exemplo n.º 1
0
        /// <summary>
        /// <para>Initializes a new instance of the <see cref="GoogleSsoChangePolicyDetails" />
        /// class.</para>
        /// </summary>
        /// <param name="newValue">New Google single sign-on policy.</param>
        /// <param name="previousValue">Previous Google single sign-on policy. Might be missing
        /// due to historical data gap.</param>
        public GoogleSsoChangePolicyDetails(EnableDisableChangePolicy newValue,
                                            EnableDisableChangePolicy previousValue = null)
        {
            if (newValue == null)
            {
                throw new sys.ArgumentNullException("newValue");
            }

            this.NewValue      = newValue;
            this.PreviousValue = previousValue;
        }
        /// <summary>
        /// <para>Initializes a new instance of the <see
        /// cref="MicrosoftOfficeAddinChangePolicyDetails" /> class.</para>
        /// </summary>
        /// <param name="newValue">New Microsoft Office addin policy.</param>
        /// <param name="previousValue">Previous Microsoft Office addin policy. Might be
        /// missing due to historical data gap.</param>
        public MicrosoftOfficeAddinChangePolicyDetails(EnableDisableChangePolicy newValue,
                                                       EnableDisableChangePolicy previousValue = null)
        {
            if (newValue == null)
            {
                throw new sys.ArgumentNullException("newValue");
            }

            this.NewValue      = newValue;
            this.PreviousValue = previousValue;
        }
Exemplo n.º 3
0
        /// <summary>
        /// <para>Initializes a new instance of the <see
        /// cref="SharedContentChangeDownloadsPolicyDetails" /> class.</para>
        /// </summary>
        /// <param name="targetIndex">Target asset index.</param>
        /// <param name="newValue">New downlaod policy.</param>
        /// <param name="originalFolderName">Original shared folder name.</param>
        /// <param name="sharedFolderType">Shared folder type. Might be missing due to
        /// historical data gap.</param>
        /// <param name="previousValue">Previous downlaod policy. Might be missing due to
        /// historical data gap.</param>
        public SharedContentChangeDownloadsPolicyDetails(long targetIndex,
                                                         EnableDisableChangePolicy newValue,
                                                         string originalFolderName = null,
                                                         string sharedFolderType   = null,
                                                         EnableDisableChangePolicy previousValue = null)
        {
            if (newValue == null)
            {
                throw new sys.ArgumentNullException("newValue");
            }

            this.TargetIndex        = targetIndex;
            this.NewValue           = newValue;
            this.OriginalFolderName = originalFolderName;
            this.SharedFolderType   = sharedFolderType;
            this.PreviousValue      = previousValue;
        }