Class ExtendedItemSet<TInner, TOuter>
Inheritance
System.Object
ExtendedItemSet<TInner, TOuter>
Implements
System.Collections.Generic.IList<TOuter>
System.Collections.Generic.ICollection<TOuter>
System.Collections.Generic.IEnumerable<TOuter>
System.Collections.Specialized.INotifyCollectionChanged
System.ComponentModel.INotifyPropertyChanged
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Xbim.Common.dll
Syntax
public class ExtendedItemSet<TInner, TOuter> : IItemSet<TOuter>, IList<TOuter>, ICollection<TOuter>, IEnumerable<TOuter>, INotifyCollectionChanged, INotifyPropertyChanged, IExpressEnumerable, IItemSet, IList, ICollection, IEnumerable
Type Parameters
Name |
Description |
TInner |
|
TOuter |
|
Constructors
|
Improve this Doc
View Source
ExtendedItemSet(IItemSet<TInner>, IItemSet<TOuter>, Func<TInner, TOuter>, Func<TOuter, TInner>)
Declaration
public ExtendedItemSet(IItemSet<TInner> innerSet, IItemSet<TOuter> extendedSet, Func<TInner, TOuter> transformOut, Func<TOuter, TInner> transformIn)
Parameters
Type |
Name |
Description |
IItemSet<TInner> |
innerSet |
|
IItemSet<TOuter> |
extendedSet |
|
System.Func<TInner, TOuter> |
transformOut |
|
System.Func<TOuter, TInner> |
transformIn |
|
Properties
|
Improve this Doc
View Source
IsFixedSize
Declaration
public bool IsFixedSize { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsSynchronized
Declaration
public bool IsSynchronized { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Item[Int32]
Declaration
public TOuter this[int index] { get; set; }
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Property Value
|
Improve this Doc
View Source
OwningEntity
Declaration
public IPersistEntity OwningEntity { get; }
Property Value
|
Improve this Doc
View Source
SyncRoot
Declaration
public object SyncRoot { get; }
Property Value
Type |
Description |
System.Object |
|
Methods
|
Improve this Doc
View Source
Add(TOuter)
Declaration
public void Add(TOuter item)
Parameters
Type |
Name |
Description |
TOuter |
item |
|
|
Improve this Doc
View Source
Add(Object)
Declaration
public int Add(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
AddRange(IEnumerable<TOuter>)
Declaration
public void AddRange(IEnumerable<TOuter> values)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<TOuter> |
values |
|
|
Improve this Doc
View Source
Contains(TOuter)
Declaration
public bool Contains(TOuter item)
Parameters
Type |
Name |
Description |
TOuter |
item |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Contains(Object)
Declaration
public bool Contains(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
CopyTo(TOuter[], Int32)
Declaration
public void CopyTo(TOuter[] array, int arrayIndex)
Parameters
Type |
Name |
Description |
TOuter[] |
array |
|
System.Int32 |
arrayIndex |
|
|
Improve this Doc
View Source
CopyTo(Array, Int32)
Declaration
public void CopyTo(Array array, int index)
Parameters
Type |
Name |
Description |
System.Array |
array |
|
System.Int32 |
index |
|
|
Improve this Doc
View Source
FirstOrDefault(Func<TOuter, Boolean>)
Declaration
public TOuter FirstOrDefault(Func<TOuter, bool> predicate)
Parameters
Type |
Name |
Description |
System.Func<TOuter, System.Boolean> |
predicate |
|
Returns
|
Improve this Doc
View Source
FirstOrDefault<TF>(Func<TF, Boolean>)
Declaration
public TF FirstOrDefault<TF>(Func<TF, bool> predicate)
where TF : TOuter
Parameters
Type |
Name |
Description |
System.Func<TF, System.Boolean> |
predicate |
|
Returns
Type Parameters
|
Improve this Doc
View Source
GetAt(Int32)
Declaration
public TOuter GetAt(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
|
Improve this Doc
View Source
GetEnumerator()
Declaration
public IEnumerator<TOuter> GetEnumerator()
Returns
Type |
Description |
System.Collections.Generic.IEnumerator<TOuter> |
|
|
Improve this Doc
View Source
IndexOf(TOuter)
Declaration
public int IndexOf(TOuter item)
Parameters
Type |
Name |
Description |
TOuter |
item |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
IndexOf(Object)
Declaration
public int IndexOf(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Insert(Int32, TOuter)
Declaration
public void Insert(int index, TOuter item)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
TOuter |
item |
|
|
Improve this Doc
View Source
Insert(Int32, Object)
Declaration
public void Insert(int index, object value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Object |
value |
|
|
Improve this Doc
View Source
Remove(TOuter)
Declaration
public bool Remove(TOuter item)
Parameters
Type |
Name |
Description |
TOuter |
item |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Remove(Object)
Declaration
public void Remove(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
|
Improve this Doc
View Source
Where<TW>(Func<TW, Boolean>)
Declaration
public IEnumerable<TW> Where<TW>(Func<TW, bool> predicate)
where TW : TOuter
Parameters
Type |
Name |
Description |
System.Func<TW, System.Boolean> |
predicate |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<TW> |
|
Type Parameters
Events
|
Improve this Doc
View Source
CollectionChanged
Declaration
public event NotifyCollectionChangedEventHandler CollectionChanged
Event Type
Type |
Description |
System.Collections.Specialized.NotifyCollectionChangedEventHandler |
|
|
Improve this Doc
View Source
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
Description |
System.ComponentModel.PropertyChangedEventHandler |
|
Explicit Interface Implementations
|
Improve this Doc
View Source
ICollection<TOuter>.Clear()
Declaration
void ICollection<TOuter>.Clear()
|
Improve this Doc
View Source
ICollection<TOuter>.Count
Declaration
int ICollection<TOuter>.Count { get; }
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
ICollection<TOuter>.IsReadOnly
Declaration
bool ICollection<TOuter>.IsReadOnly { get; }
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IList<TOuter>.RemoveAt(Int32)
Declaration
void IList<TOuter>.RemoveAt(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
|
Improve this Doc
View Source
ICollection.Count
Declaration
int ICollection.Count { get; }
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type |
Description |
System.Collections.IEnumerator |
|
|
Improve this Doc
View Source
IList.Clear()
Declaration
|
Improve this Doc
View Source
IList.IsReadOnly
Declaration
bool IList.IsReadOnly { get; }
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IList.Item[Int32]
Declaration
object IList.this[int index] { get; set; }
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
IList.RemoveAt(Int32)
Declaration
void IList.RemoveAt(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Implements
System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.Specialized.INotifyCollectionChanged
System.ComponentModel.INotifyPropertyChanged
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
Extension Methods