2 implementations of CreateName
DesignSurfaceExt (1)
NameCreationServiceImp.cs (1)
17public string CreateName(IContainer container, Type type)
System.Windows.Forms.Design (1)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (1)
1012string INameCreationService.CreateName(IContainer? container, Type dataType)
13 references to CreateName
System.Windows.Forms.Design (5)
System\ComponentModel\Design\DesignerHost.cs (1)
403name = nameCreate.CreateName(this, reflectType);
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (1)
2070baseName = ns.CreateName(null, targetType);
System\Windows\Forms\Design\ListViewGroupCollectionEditor.cs (1)
42listViewGroupName = nameService.CreateName(container, typeof(ListViewGroup));
System\Windows\Forms\Design\StandardMenuStripVerb.cs (1)
501return nameCreationService.CreateName(_host.Container, itemType);
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
1668defaultName = nameCreate.CreateName(container, componentType);
System.Windows.Forms.Design.Tests (8)
System\ComponentModel\Design\DesignerHostTests.cs (7)
243.Setup(s => s.CreateName(It.IsAny<IContainer>(), It.IsAny<Type>())) 616.Setup(s => s.CreateName(It.IsAny<IContainer>(), It.IsAny<Type>())) 639mockNameCreationService.Verify(s => s.CreateName(host.Container, typeof(RootDesignerComponent)), Times.Once()); 643mockNameCreationService.Verify(s => s.CreateName(host.Container, typeof(RootDesignerComponent)), Times.Once()); 672.Setup(s => s.CreateName(It.IsAny<IContainer>(), It.IsAny<Type>())) 694mockNameCreationService.Verify(s => s.CreateName(host.Container, typeof(RootDesignerComponent)), Times.Once()); 698mockNameCreationService.Verify(s => s.CreateName(host.Container, typeof(RootDesignerComponent)), Times.Once());
System\ComponentModel\Design\SiteNestedContainerTests.cs (1)
149.Setup(s => s.CreateName(It.IsAny<IContainer>(), It.IsAny<Type>()))