6 implementations of ShouldValidate
System.Windows.Forms.Primitives.TestUtilities (6)
Metafiles\Validators\ActionValidator.cs (1)
29
public bool
ShouldValidate
(ENHANCED_METAFILE_RECORD_TYPE recordType) => recordType == _recordType;
Metafiles\Validators\RepeatValidator.cs (1)
19
public bool
ShouldValidate
(ENHANCED_METAFILE_RECORD_TYPE recordType) => _validator.ShouldValidate(recordType);
Metafiles\Validators\SkipAllValidator.cs (1)
12
public bool
ShouldValidate
(ENHANCED_METAFILE_RECORD_TYPE recordType) => true;
Metafiles\Validators\SkipToValidator.cs (1)
14
public bool
ShouldValidate
(ENHANCED_METAFILE_RECORD_TYPE recordType) => true;
Metafiles\Validators\SkipTypesValidator.cs (1)
14
public bool
ShouldValidate
(ENHANCED_METAFILE_RECORD_TYPE recordType) => _skipTypes.Contains(recordType);
Metafiles\Validators\StateValidator.cs (1)
15
public abstract bool
ShouldValidate
(ENHANCED_METAFILE_RECORD_TYPE recordType);
3 references to ShouldValidate
System.Windows.Forms.Primitives.TestUtilities (3)
Metafiles\Validators\EmfValidator.cs (1)
25
if (currentValidator?.
ShouldValidate
(record.Type) ?? false)
Metafiles\Validators\RepeatValidator.cs (1)
19
public bool ShouldValidate(ENHANCED_METAFILE_RECORD_TYPE recordType) => _validator.
ShouldValidate
(recordType);
Metafiles\Validators\SkipToValidator.cs (1)
18
if (_validator.
ShouldValidate
(record.Type))