Esempio n. 1
0
        /// <summary>
        /// Marks the <see cref="RegistryEntryDocument"/> as complete.
        /// </summary>
        /// <param name="instance">The instance.</param>
        /// <param name="registryEntryDocument">The target.</param>
        public static void MarkRegistryEntryDocumentAsComplete(this IFunctionManager instance,
                                                               RegistryEntryDocument registryEntryDocument)
        {
            if (instance == null)
            {
                throw new ArgumentNullException("instance");
            }

            if (registryEntryDocument == null)
            {
                throw new ArgumentNullException("registryEntryDocument");
            }

            instance.MarkRegistryEntryDocumentAsComplete(registryEntryDocument.RegistryEntryId,
                                                         registryEntryDocument.DocumentDescriptionId);
        }