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