/// <summary>
 /// Initializes a new instance of the <see cref="ContentDataInterceptorExtender"/> class.
 /// </summary>
 /// <param name="contentDataInterceptorHandler">The content data interceptor handler (The part of EpiServer interception components).</param>
 /// <param name="interceptorsRegistry">The additional interceptors registry.</param>
 public ContentDataInterceptorExtender(ContentDataInterceptorHandler contentDataInterceptorHandler, IContentDataInterceptonRegistry interceptorsRegistry)
     : base(contentDataInterceptorHandler)
 {
     if (interceptorsRegistry != null)
     {
         _customInterceptors = interceptorsRegistry.GetCustomInterceptors();
         _autoPropertyInterceptors = interceptorsRegistry.GetAutoPropertyInterceptors();
     }
     else
     {
         _customInterceptors = Enumerable.Empty<IInterceptor>();
         _autoPropertyInterceptors = Enumerable.Empty<IAutoPropertyInterceptor>();
     }
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ContentDataInterceptorExtender"/> class.
 /// </summary>
 /// <param name="contentDataInterceptorHandler">The content data interceptor handler (The part of EpiServer interception components).</param>
 /// <param name="interceptorsRegistry">The additional interceptors registry.</param>
 public ContentDataInterceptorExtender(ContentDataInterceptorHandler contentDataInterceptorHandler, IContentDataInterceptonRegistry interceptorsRegistry)
     : base(contentDataInterceptorHandler)
 {
     if (interceptorsRegistry != null)
     {
         _customInterceptors       = interceptorsRegistry.GetCustomInterceptors();
         _autoPropertyInterceptors = interceptorsRegistry.GetAutoPropertyInterceptors();
     }
     else
     {
         _customInterceptors       = Enumerable.Empty <IInterceptor>();
         _autoPropertyInterceptors = Enumerable.Empty <IAutoPropertyInterceptor>();
     }
 }