Пример #1
0
        /// <summary>
        /// Registers the extension.
        /// </summary>
        /// <param name="extension">The extension.</param>
        public void RegisterExtension(IAnkhRevisionProvider extension)
        {
            if (extension == null)
                throw new ArgumentNullException("extension");

            _providers.Add(extension);
        }
Пример #2
0
        /// <summary>
        /// Registers the extension.
        /// </summary>
        /// <param name="extension">The extension.</param>
        public void RegisterExtension(IAnkhRevisionProvider extension)
        {
            if (extension == null)
            {
                throw new ArgumentNullException("extension");
            }

            _providers.Add(extension);
        }