public override void DependencyRegistration(IRegistrationControl control)
        {
            control.RegisterType <IUmbracoVersion, UmbracoVersion>();

            if (ApplicationContext.Current == null || ApplicationContext.Current.Services == null)
            {
                control.NotNow();
                return;
            }
            control.RegisterInstance <IContentService, IContentService>(ApplicationContext.Current.Services.ContentService);
            control.RegisterInstance <IContentTypeService, IContentTypeService>(ApplicationContext.Current.Services.ContentTypeService);

            UmbracoAddon.VersionSpecificTypesConfiguredInIOCContainer = true;
        }
		public override void DependencyRegistration(IRegistrationControl control)
		{
			control.RegisterType<IUmbracoVersion, UmbracoVersion>();

			if (ApplicationContext.Current == null || ApplicationContext.Current.Services == null)
			{
				control.NotNow();
				return;
			}
			control.RegisterInstance<IContentService, IContentService>(ApplicationContext.Current.Services.ContentService);
			control.RegisterInstance<IContentTypeService, IContentTypeService>(ApplicationContext.Current.Services.ContentTypeService);

			UmbracoAddon.VersionSpecificTypesConfiguredInIOCContainer = true;
		}