26 references to DataSourceDescriptor
System.Windows.Forms.Design (26)
System\Windows\Forms\Design\DataSourceDescriptorCollection.cs (8)
14
public int Add(
DataSourceDescriptor
value)
19
public int IndexOf(
DataSourceDescriptor
value)
24
public void Insert(int index,
DataSourceDescriptor
value)
29
public bool Contains(
DataSourceDescriptor
value)
34
public void CopyTo(
DataSourceDescriptor
[] array, int index)
39
public void Remove(
DataSourceDescriptor
value)
44
public
DataSourceDescriptor
this[int index]
48
return (
DataSourceDescriptor
)List[index]!;
System\Windows\Forms\Design\DataSourceProviderService.cs (2)
18
public abstract bool InvokeConfigureDataSource(IWin32Window parentWindow, FormStartPosition startPosition,
DataSourceDescriptor
dataSourceDescriptor);
20
public abstract object AddDataSourceInstance(IDesignerHost? host,
DataSourceDescriptor
dataSourceDescriptor);
System\Windows\Forms\Design\DesignBindingPicker.cs (16)
944
bool addMembers = (_selectedItem is not null && _selectedItem.DataSource is
DataSourceDescriptor
);
999
foreach (
DataSourceDescriptor
dataSourceDescriptor in dataSources)
1011
private void AddProjectDataSource(TreeNodeCollection nodes,
DataSourceDescriptor
descriptor)
1035
if (_selectedItem.DataSource is
DataSourceDescriptor
&& _selectedItem.DataSource is
DataSourceDescriptor
dataSourceDescriptor &&
1059
if (projectDataSourceNode.DataSource is not
DataSourceDescriptor
dataSourceDescriptor)
1150
DataSourceDescriptor
dataSourceDescriptor,
1172
DataSourceDescriptor
dataSourceDescriptor,
1234
DataSourceDescriptor
dataSourceDescriptor,
1328
private BindingSource? CreateNewBindingSource(
DataSourceDescriptor
dataSourceDescriptor, string dataMember)
1416
private object? GetProjectDataSourceInstance(
DataSourceDescriptor
dataSourceDescriptor)
1701
DataSourceDescriptor
newProjectDataSource = newProjectDataSources.DataSources[0];
2338
if (DataSource is
DataSourceDescriptor
)
2579
DataSourceDescriptor
? dataSourceDescriptor = DataSource as
DataSourceDescriptor
;
2655
if (DataSource is not
DataSourceDescriptor
dataSourceDescriptor)