Class ExtendedSingleSet<TInner, TOuter>
Inheritance
System.Object
ExtendedSingleSet<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.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 ExtendedSingleSet<TInner, TOuter> : IItemSet<TOuter>, IList<TOuter>, ICollection<TOuter>, IEnumerable<TOuter>, INotifyCollectionChanged, INotifyPropertyChanged, IExpressEnumerable, IEnumerable, IItemSet
Type Parameters
Name |
Description |
TInner |
|
TOuter |
|
Constructors
|
Improve this Doc
View Source
ExtendedSingleSet(Func<TInner>, Action<TInner>, IItemSet<TOuter>, Func<TInner, TOuter>, Func<TOuter, TInner>)
Declaration
public ExtendedSingleSet(Func<TInner> getter, Action<TInner> setter, IItemSet<TOuter> extended, Func<TInner, TOuter> toOut, Func<TOuter, TInner> toIn)
Parameters
Type |
Name |
Description |
System.Func<TInner> |
getter |
|
System.Action<TInner> |
setter |
|
IItemSet<TOuter> |
extended |
|
System.Func<TInner, TOuter> |
toOut |
|
System.Func<TOuter, TInner> |
toIn |
|
Properties
|
Improve this Doc
View Source
Count
Declaration
public int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
IsReadOnly
Declaration
public bool IsReadOnly { 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
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
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
Clear()
Declaration
|
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
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
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
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
Remove(TOuter)
Declaration
public bool Remove(TOuter item)
Parameters
Type |
Name |
Description |
TOuter |
item |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
RemoveAt(Int32)
Declaration
public void RemoveAt(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
|
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
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type |
Description |
System.Collections.IEnumerator |
|
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.IEnumerable
Extension Methods