private void RegisterScoped(ContentFactory factory)
 {
     if (string.IsNullOrEmpty(this.ContentType))
     {
         factory.RegisterScopedContent(this.Type);
     }
     else
     {
         factory.RegisterScopedContent(this.ContentType, this.Type);
     }
 }