/// <summary> /// Specifies the fallback <see cref="BaseImageLoader"/> that can be used if the image cannot be loaded from this <see cref="BaseImageLoader"/>. /// </summary> /// <param name="fallbackImageLoader"> /// The fallback image loader to use. /// </param> /// <returns> /// Returns instance of current <see cref="BaseImageLoader"/>. /// </returns> public BaseImageLoader AsFallbackUse(BaseImageLoader fallbackImageLoader) { if (fallbackImageLoader == null) { throw new ArgumentNullException("fallbackImageLoader"); } this.fallbackLoader = fallbackImageLoader; return(this); }
/// <summary> /// Specifies the fallback <see cref="BaseImageLoader"/> that can be used if the image cannot be loaded from this <see cref="BaseImageLoader"/>. /// </summary> /// <param name="fallbackImageLoader"> /// The fallback image loader to use. /// </param> /// <returns> /// Returns instance of current <see cref="BaseImageLoader"/>. /// </returns> public BaseImageLoader AsFallbackUse(BaseImageLoader fallbackImageLoader) { if (fallbackImageLoader == null) { throw new ArgumentNullException("fallbackImageLoader"); } this.fallbackLoader = fallbackImageLoader; return this; }