3 implementations of CreateName
DesignSurfaceExt (1)
NameCreationServiceImp.cs (1)
14
public string
CreateName
(IContainer container, Type type)
System.Windows.Forms.Design (1)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (1)
1012
string INameCreationService.
CreateName
(IContainer? container, Type dataType)
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\DataGridViewAddColumnDialogTests.cs (1)
133
public string
CreateName
(IContainer? container, Type dataType) => throw new NotImplementedException();
13 references to CreateName
System.Windows.Forms.Design (5)
System\ComponentModel\Design\DesignerHost.cs (1)
403
name = nameCreate.
CreateName
(this, reflectType);
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (1)
2070
baseName = ns.
CreateName
(null, targetType);
System\Windows\Forms\Design\ListViewGroupCollectionEditor.cs (1)
42
listViewGroupName = nameService.
CreateName
(container, typeof(ListViewGroup));
System\Windows\Forms\Design\StandardMenuStripVerb.cs (1)
501
return nameCreationService.
CreateName
(_host.Container, itemType);
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
1668
defaultName = nameCreate.
CreateName
(container, componentType);
System.Windows.Forms.Design.Tests (8)
System\ComponentModel\Design\DesignerHostTests.cs (7)
245
.Setup(s => s.
CreateName
(It.IsAny<IContainer>(), It.IsAny<Type>()))
618
.Setup(s => s.
CreateName
(It.IsAny<IContainer>(), It.IsAny<Type>()))
641
mockNameCreationService.Verify(s => s.
CreateName
(host.Container, typeof(RootDesignerComponent)), Times.Once());
645
mockNameCreationService.Verify(s => s.
CreateName
(host.Container, typeof(RootDesignerComponent)), Times.Once());
674
.Setup(s => s.
CreateName
(It.IsAny<IContainer>(), It.IsAny<Type>()))
696
mockNameCreationService.Verify(s => s.
CreateName
(host.Container, typeof(RootDesignerComponent)), Times.Once());
700
mockNameCreationService.Verify(s => s.
CreateName
(host.Container, typeof(RootDesignerComponent)), Times.Once());
System\ComponentModel\Design\SiteNestedContainerTests.cs (1)
151
.Setup(s => s.
CreateName
(It.IsAny<IContainer>(), It.IsAny<Type>()))