예제 #1
0
 public static SettingsTask AngleSharpDiffingSettings(
     this SettingsTask settings,
     Action <IDiffingStrategyCollection> options)
 {
     settings.CurrentSettings.AngleSharpDiffingSettings(options);
     return(settings);
 }
예제 #2
0
 public static SettingsTask PhashCompareSettings(
     this SettingsTask settings,
     float threshold = 0.999f,
     float sigma     = 3.5f,
     float gamma     = 1f,
     int angles      = 180)
 {
     Guard.AgainstNull(settings, nameof(settings));
     PhashCompareSettings(threshold, sigma, gamma, angles, settings.CurrentSettings.Context);
     return(settings);
 }
 public static SettingsTask SchemaSettings(
     this SettingsTask settings,
     bool storedProcedures           = true,
     bool tables                     = true,
     bool views                      = true,
     bool userDefinedFunctions       = true,
     bool synonyms                   = true,
     Func <string, bool>?includeItem = null)
 {
     Guard.AgainstNull(settings, nameof(settings));
     settings.CurrentSettings.SchemaSettings(
         storedProcedures,
         tables,
         views,
         userDefinedFunctions,
         synonyms,
         includeItem);
     return(settings);
 }
예제 #4
0
 public static SettingsTask GetParameters(this SettingsTask settings, MethodInfo methodInfo)
 {
     settings.CurrentSettings.GetParameters(methodInfo);
     return(settings);
 }
예제 #5
0
 public static SettingsTask UseParameters(this SettingsTask settings, params object?[] parameters)
 {
     settings.CurrentSettings.UseParameters(parameters);
     return(settings);
 }