5 types derived from DesignerOptionService
DesignSurfaceExt (4)
DesignerOptionServiceExt.cs (4)
9
internal sealed class DesignerOptionServiceExt4SnapLines :
DesignerOptionService
28
internal sealed class DesignerOptionServiceExt4Grid :
DesignerOptionService
52
internal sealed class DesignerOptionServiceExt4GridWithoutSnapping :
DesignerOptionService
76
internal sealed class DesignerOptionServiceExt4NoGuides :
DesignerOptionService
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\WindowsFormsDesignerOptionService.cs (1)
13
public class WindowsFormsDesignerOptionService :
DesignerOptionService
50 references to DesignerOptionService
DesignSurfaceExt (24)
DesignSurfaceExt.cs (24)
34
DesignerOptionService
opsService = serviceProvider.GetService(typeof(
DesignerOptionService
)) as
DesignerOptionService
;
37
serviceProvider.RemoveService(typeof(
DesignerOptionService
));
40
DesignerOptionService
opsService2 = new DesignerOptionServiceExt4SnapLines();
41
serviceProvider.AddService(typeof(
DesignerOptionService
), opsService2);
47
DesignerOptionService
opsService = serviceProvider.GetService(typeof(
DesignerOptionService
)) as
DesignerOptionService
;
50
serviceProvider.RemoveService(typeof(
DesignerOptionService
));
53
DesignerOptionService
opsService2 = new DesignerOptionServiceExt4Grid(gridSize);
54
serviceProvider.AddService(typeof(
DesignerOptionService
), opsService2);
60
DesignerOptionService
opsService = serviceProvider.GetService(typeof(
DesignerOptionService
)) as
DesignerOptionService
;
63
serviceProvider.RemoveService(typeof(
DesignerOptionService
));
66
DesignerOptionService
opsService2 = new DesignerOptionServiceExt4GridWithoutSnapping(gridSize);
67
serviceProvider.AddService(typeof(
DesignerOptionService
), opsService2);
73
DesignerOptionService
opsService = serviceProvider.GetService(typeof(
DesignerOptionService
)) as
DesignerOptionService
;
76
serviceProvider.RemoveService(typeof(
DesignerOptionService
));
79
DesignerOptionService
opsService2 = new DesignerOptionServiceExt4NoGuides();
80
serviceProvider.AddService(typeof(
DesignerOptionService
), opsService2);
netstandard (1)
netstandard.cs (1)
238
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Design.
DesignerOptionService
))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
224
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Design.
DesignerOptionService
))]
System.ComponentModel.TypeConverter (2)
System\ComponentModel\Design\DesignerOptionService.cs (2)
117
private readonly
DesignerOptionService
_service;
125
internal DesignerOptionCollection(
DesignerOptionService
service, DesignerOptionCollection? parent, string name, object? value)
System.Windows.Forms.Design (8)
System\ComponentModel\Design\DesignerActionUIService.cs (2)
75
if (_serviceProvider.GetService(typeof(
DesignerOptionService
)) is
DesignerOptionService
opts)
System\ComponentModel\Design\Serialization\ComponentCache.cs (1)
28
if (manager.TryGetService(out
DesignerOptionService
? options))
System\Windows\Forms\Design\Behavior\SelectionManager.cs (2)
81
DesignerOptionService
? options = _designerHost.GetService<
DesignerOptionService
>();
System\Windows\Forms\Design\DesignerUtils.cs (2)
352
if (provider.TryGetService(out
DesignerOptionService
? options))
371
if (provider.TryGetService(out
DesignerOptionService
? designerOptionService))
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
397
if (GetService(typeof(
DesignerOptionService
)) is WindowsFormsDesignerOptionService dos)
System.Windows.Forms.Design.Tests (14)
Mocks\MockSite.cs (1)
61
.Setup(s => s.GetService(typeof(
DesignerOptionService
)))
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationServiceTests.cs (2)
316
.Setup(p => p.GetService(typeof(
DesignerOptionService
)))
338
mockServiceProvider.Verify(p => p.GetService(typeof(
DesignerOptionService
)), Times.Once());
System\Windows\Forms\Design\WindowsFormsDesignerOptionServiceTests.cs (10)
33
DesignerOptionService
.DesignerOptionCollection childCollection = Assert.IsType<
DesignerOptionService
.DesignerOptionCollection>(Assert.Single(service.Options));
56
DesignerOptionService
.DesignerOptionCollection childCollection = Assert.IsType<
DesignerOptionService
.DesignerOptionCollection>(Assert.Single(service.Options));
73
DesignerOptionService
.DesignerOptionCollection childCollection = Assert.IsType<
DesignerOptionService
.DesignerOptionCollection>(Assert.Single(service.Options));
80
DesignerOptionService
.DesignerOptionCollection otherChildCollection = Assert.IsType<
DesignerOptionService
.DesignerOptionCollection>(Assert.Single(service.Options));
96
DesignerOptionService
.DesignerOptionCollection childCollection = Assert.IsType<
DesignerOptionService
.DesignerOptionCollection>(Assert.Single(service.Options));
TestControlDesigner.Mocks.cs (1)
93
.Setup(s => s.GetService(typeof(
DesignerOptionService
)))