13 implementations of Validate
System.Windows.Forms.Primitives.TestUtilities (13)
Metafiles\Validators\BackgroundModeValidator.cs (1)
12
public void
Validate
(DeviceContextState state) => Assert.Equal(_backgroundMode, state.BackgroundMode);
Metafiles\Validators\BrushColorValidator.cs (1)
14
public void
Validate
(DeviceContextState state) => Assert.Equal((COLORREF)_brushColor, state.SelectedBrush.lbColor);
Metafiles\Validators\BrushStyleValidator.cs (1)
12
public void
Validate
(DeviceContextState state) => Assert.Equal(_brushStyle, state.SelectedBrush.lbStyle);
Metafiles\Validators\BrushValidator.cs (1)
21
public void
Validate
(DeviceContextState state)
Metafiles\Validators\ClippingValidator.cs (1)
13
public void
Validate
(DeviceContextState state)
Metafiles\Validators\FontFaceNameValidator.cs (1)
15
public void
Validate
(DeviceContextState state) => Assert.Equal(_fontFaceName, state.SelectedFont.FaceName.ToString());
Metafiles\Validators\PenColorValidator.cs (1)
14
public void
Validate
(DeviceContextState state) => Assert.Equal((COLORREF)_penColor, state.SelectedPen.elpColor);
Metafiles\Validators\PenStyleValidator.cs (1)
12
public void
Validate
(DeviceContextState state) => Assert.Equal(_penStyle, state.SelectedPen.elpPenStyle);
Metafiles\Validators\PenValidator.cs (1)
23
public void
Validate
(DeviceContextState state)
Metafiles\Validators\PenWidthValidator.cs (1)
12
public void
Validate
(DeviceContextState state) => Assert.Equal(_penWidth, (int)state.SelectedPen.elpWidth);
Metafiles\Validators\Rop2Validator.cs (1)
12
public void
Validate
(DeviceContextState state) => Assert.Equal(_rop2Mode, state.Rop2Mode);
Metafiles\Validators\TextColorValidator.cs (1)
14
public void
Validate
(DeviceContextState state) => Assert.Equal((COLORREF)_textColor, state.TextColor);
Metafiles\Validators\TransformValidator.cs (1)
14
public void
Validate
(DeviceContextState state) => Assert.Equal(_transform, state.Transform);
1 reference to Validate
System.Windows.Forms.Primitives.TestUtilities (1)
Metafiles\Validators\StateValidator.cs (1)
28
validator.
Validate
(state);