Ejemplo n.º 1
0
 /// <summary>
 /// Initialize a new instance of the <see cref="LanguageFilterClient"/> class.
 /// </summary>
 /// <param name="filterSettingsFunc">
 /// The function to execute to gain the settings object.
 /// </param>
 public LanguageFilterClient(Func <FilterSettings> filterSettingsFunc)
 {
     _filterSettings = filterSettingsFunc.Invoke();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initialize a new instance of the <see cref="LanguageFilterClient"/> class.
 /// </summary>
 /// <param name="filterSettings">The settings for the filter to use.</param>
 public LanguageFilterClient(FilterSettings filterSettings = null)
 {
     _filterSettings = filterSettings ?? new FilterSettings();
 }