public MyCustomRule() { this._taxonomyHelper = AppContainer.Current.Resolve<TaxonomyHelper>(); }
private void ResolveDependencies() { this._contentTypeHelper = AppContainer.Current.Resolve<ContentTypeHelper>(); this._taxonomyHelper = AppContainer.Current.Resolve<TaxonomyHelper>(); }
/// <summary> /// Resolve dependencies for Dynamite Helpers /// </summary> private void ResolveDependencies() { this.contentTypeHelper = AppContainer.Current.Resolve<ContentTypeHelper>(); this.taxonomyHelper = AppContainer.Current.Resolve<TaxonomyHelper>(); this.listHelper = AppContainer.Current.Resolve<ListHelper>(); this.contentOrganizerHelper = AppContainer.Current.Resolve<ContentOrganizerHelper>(); this.myCustomRule = AppContainer.Current.Resolve<MyCustomRule>(); }