/// <summary> /// Gets the filter info finder. /// </summary> /// <returns></returns> protected virtual IFilterInfoFinder GetFilterInfoFinder() { if (_filterInfoFinder == null) { lock (_lock) if (_filterInfoFinder == null) { try { _filterInfoFinder = ServiceLocator.Resolve <IFilterInfoFinder>(); } catch (ServiceLocatorResolutionException) { _filterInfoFinder = new ServiceLocatorFilterInfoFinder(ServiceLocator); } } } return(_filterInfoFinder); }
/// <summary> /// Gets the filter info finder. /// </summary> /// <returns></returns> protected virtual IFilterInfoFinder GetFilterInfoFinder() { if (_filterInfoFinder == null) lock (_lock) if (_filterInfoFinder == null) try { _filterInfoFinder = ServiceLocator.Resolve<IFilterInfoFinder>(); } catch (ServiceLocatorResolutionException) { _filterInfoFinder = new ServiceLocatorFilterInfoFinder(ServiceLocator); } return _filterInfoFinder; }