13 implementations of IListSource
System.Data (2)
fx\src\data\System\Data\DataSet.cs (1)
46public class DataSet : MarshalByValueComponent, System.ComponentModel.IListSource, IXmlSerializable, ISupportInitializeNotification, ISerializable {
fx\src\data\System\Data\DataTable.cs (1)
39public class DataTable : MarshalByValueComponent, System.ComponentModel.IListSource, ISupportInitializeNotification, ISerializable, IXmlSerializable{
System.Data.Entity (4)
System\Data\Objects\DataClasses\EntityCollection.cs (1)
30public sealed class EntityCollection<TEntity> : RelatedEnd, ICollection<TEntity>, IListSource
System\Data\Objects\ObjectQuery.cs (1)
26public abstract class ObjectQuery : IEnumerable, IQueryable, IOrderedQueryable, IListSource
System\Data\Objects\ObjectQuery_TResultType.cs (1)
28public partial class ObjectQuery<T> : ObjectQuery, IEnumerable<T>, IQueryable<T>, IOrderedQueryable<T>, IListSource
System\Data\Objects\ObjectResult.cs (1)
21public abstract class ObjectResult : IEnumerable, IDisposable, IListSource
System.Data.Linq (4)
DataContext.cs (1)
1106public sealed class Table<TEntity> : IQueryable<TEntity>, IQueryProvider, IEnumerable<TEntity>, IQueryable, IEnumerable, ITable, IListSource, ITable<TEntity>
DataQuery.cs (1)
15internal sealed class DataQuery<T> : IOrderedQueryable<T>, IQueryProvider, IEnumerable<T>, IOrderedQueryable, IEnumerable, IListSource {
SqlClient\SqlProvider.cs (1)
1915class SingleResult<T> : ISingleResult<T>, IDisposable, IListSource {
Types.cs (1)
150public sealed class EntitySet<TEntity> : IList, IList<TEntity>, IListSource
System.Web (3)
UI\DataSourceControl.cs (1)
37public abstract class DataSourceControl : Control, IDataSource, IListSource {
UI\WebControls\SiteMapDataSource.cs (1)
27public class SiteMapDataSource : HierarchicalDataSourceControl, IDataSource, IListSource {
UI\WebControls\XmlDataSource.cs (1)
43public class XmlDataSource : HierarchicalDataSourceControl, IDataSource, IListSource {
76 references to IListSource
PresentationFramework (7)
src\Framework\MS\Internal\Data\DefaultValueConverter.cs (3)
142if (typeof(IListSource).IsAssignableFrom(sourceType) && 670IListSource ils = o as IListSource;
src\Framework\MS\Internal\Data\ViewManager.cs (2)
531IListSource ils = collection as IListSource;
src\Framework\System\Windows\Data\CollectionViewSource.cs (2)
140o is IListSource || 148o is IListSource);
System.Data (4)
fx\src\data\System\Data\DataSet.cs (2)
553bool System.ComponentModel.IListSource.ContainsListCollection { 1356IList System.ComponentModel.IListSource.GetList() {
fx\src\data\System\Data\DataTable.cs (2)
2736bool System.ComponentModel.IListSource.ContainsListCollection { 2928IList System.ComponentModel.IListSource.GetList() {
System.Data.Entity (8)
System\Data\Objects\DataClasses\EntityCollection.cs (2)
151bool IListSource.ContainsListCollection 188IList IListSource.GetList()
System\Data\Objects\DataRecordObjectView.cs (1)
76typeof(IListSource).IsAssignableFrom(type))
System\Data\Objects\ObjectQuery.cs (2)
144bool IListSource.ContainsListCollection 244IList IListSource.GetList()
System\Data\Objects\ObjectQuery_TResultType.cs (1)
101return ((IListSource)this.GetResults(null)).GetList();
System\Data\Objects\ObjectResult.cs (2)
38bool IListSource.ContainsListCollection 55IList IListSource.GetList()
System.Data.Linq (8)
DataContext.cs (2)
1191bool IListSource.ContainsListCollection { 1197IList IListSource.GetList() {
DataQuery.cs (2)
74bool IListSource.ContainsListCollection { 78IList IListSource.GetList() {
SqlClient\SqlProvider.cs (2)
1951IList IListSource.GetList() { 1958bool IListSource.ContainsListCollection {
Types.cs (2)
643bool IListSource.ContainsListCollection { 649IList IListSource.GetList() {
System.Web (13)
UI\DataSourceControl.cs (2)
242bool IListSource.ContainsListCollection { 253IList IListSource.GetList() {
UI\DataSourceHelper.cs (2)
24IListSource listSource = dataSource as IListSource;
UI\HtmlControls\HtmlSelect.cs (1)
121if ((value == null) || (value is IListSource) || (value is IEnumerable)) {
UI\WebControls\BaseDataList.cs (1)
228if ((value == null) || (value is IListSource) || (value is IEnumerable)) {
UI\WebControls\DataBoundControl.cs (1)
458(dataSource is IListSource) ||
UI\WebControls\ReadOnlyDataSource.cs (1)
31Debug.Assert(dataSource == null || (dataSource is IEnumerable || dataSource is IDataSource || dataSource is IListSource), "Expected dataSource to be either null, an IEnumerable, an IDataSource, or an IListSource.");
UI\WebControls\Repeater.cs (1)
247if ((value == null) || (value is IListSource) || (value is IEnumerable)) {
UI\WebControls\SiteMapDataSource.cs (2)
408bool IListSource.ContainsListCollection { 419IList IListSource.GetList() {
UI\WebControls\XmlDataSource.cs (2)
710bool IListSource.ContainsListCollection { 721IList IListSource.GetList() {
System.Web.DataVisualization (5)
Common\General\Chart.cs (5)
677else if (dataSource is IListSource ) 679if (((IListSource)dataSource).ContainsListCollection && ((IListSource)dataSource).GetList().Count > 0) 681dataSource = ((IListSource)dataSource).GetList()[0] as IEnumerable; 685dataSource = ((IListSource)dataSource).GetList();
System.Web.Entity (2)
System\Data\WebControls\EntityDataSourceQueryBuilder.cs (1)
76return (IEnumerable)(((IListSource)(queryT)).GetList());
System\Data\WebControls\EntityDataSourceViewSchema.cs (1)
131typeof(IListSource).IsAssignableFrom(type))
System.Web.Mobile (2)
UI\MobileControls\DataSourceHelper.cs (2)
40IListSource listSource = dataSource as IListSource;
System.Windows.Forms (21)
winforms\Managed\System\WinForms\BindingContext.cs (1)
346if (dataSource is IList || dataSource is IListSource) {
winforms\Managed\System\WinForms\BindingSource.cs (5)
263AttributeProvider(typeof(IListSource)), 822else if (typeof(IListSource).IsAssignableFrom(type)) { 823list = (CreateInstanceOfType(type) as IListSource).GetList(); 1256if (list is IListSource) { 1257bindingList = (list as IListSource).GetList();
winforms\Managed\System\WinForms\ComboBox.cs (1)
473AttributeProvider(typeof(IListSource)),
winforms\Managed\System\WinForms\CurrencyManager.cs (2)
192if (tempList is IListSource) { 193tempList = ((IListSource)tempList).GetList();
winforms\Managed\System\WinForms\DataGrid.cs (2)
1437AttributeProvider(typeof(IListSource)), 1446if (value != null && !(value is IList || value is IListSource))
winforms\Managed\System\WinForms\DataGridView.cs (1)
2412AttributeProvider(typeof(IListSource)),
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (1)
180if (value != null && !(value is IList || value is IListSource))
winforms\Managed\System\WinForms\DataGridViewComboBoxColumn.cs (1)
112AttributeProvider(typeof(IListSource)),
winforms\Managed\System\WinForms\ErrorProvider.cs (1)
344AttributeProvider(typeof(IListSource)),
winforms\Managed\System\WinForms\ListBindingHelper.cs (4)
38if (list is IListSource) { 39return (list as IListSource).GetList(); 238if ((list is Type) && (typeof(IListSource).IsAssignableFrom(list as Type))) { 508typeof(IListSource).IsAssignableFrom(type)) {
winforms\Managed\System\WinForms\ListControl.cs (2)
74AttributeProvider(typeof(IListSource)), 82if (value != null && !(value is IList || value is IListSource))
System.Windows.Forms.DataVisualization (6)
Common\General\Chart.cs (5)
677else if (dataSource is IListSource ) 679if (((IListSource)dataSource).ContainsListCollection && ((IListSource)dataSource).GetList().Count > 0) 681dataSource = ((IListSource)dataSource).GetList()[0] as IEnumerable; 685dataSource = ((IListSource)dataSource).GetList();
WinForm\ChartWinControl.cs (1)
1008AttributeProvider(typeof(IListSource))