private ExactMatchSettings(ExactMatchSettings other) { if (other != null) { MinDiffIntensity = other.MinDiffIntensity; MinDiffHeight = other.MinDiffHeight; MinDiffWidth = other.MinDiffWidth; MatchThreshold = other.MatchThreshold; } }
/// <summary> /// Encapsulates match settings for a test. /// </summary> /// <param name="matchLevel">The match level to use. If null, will take the value from <see cref="EyesBaseConfig.DefaultMatchSettings"/>.</param> /// <param name="exact">The parameters for the "Exact" match settings.</param> public ImageMatchSettings(MatchLevel?matchLevel = null, ExactMatchSettings exact = null) { MatchLevel = matchLevel; Exact = exact; }