Show / Hide Table of Contents

Class ObservableListWrap<T>

Envuelve una lista genérica para proveerla de notificación de cambios en el contenido de la colección.

Inheritance
object
NotifyPropertyChangeBase
NotifyPropertyChanged
ObservableWrapBase
ObservableWrap<T, IList<T>>
ObservableListWrap<T>
Implements
INotifyPropertyChangeBase
IRefreshable
INotifyPropertyChanged
INotifyCollectionChanged
IList<T>
ICollection<T>
IEnumerable<T>
IEnumerable
Inherited Members
ObservableWrap<T, IList<T>>.UnderlyingCollection
ObservableWrap<T, IList<T>>.Count
ObservableWrap<T, IList<T>>.IsReadOnly
ObservableWrap<T, IList<T>>.Add(T)
ObservableWrap<T, IList<T>>.Clear()
ObservableWrap<T, IList<T>>.CopyTo(T[], int)
ObservableWrap<T, IList<T>>.Remove(T)
ObservableWrap<T, IList<T>>.GetEnumerator()
ObservableWrap<T, IList<T>>.OnGetEnumerator()
ObservableWrap<T, IList<T>>.Refresh()
ObservableWrap<T, IList<T>>.Substitute(IList<T>)
ObservableWrap<T, IList<T>>.Replace(IList<T>)
ObservableWrap<T, IList<T>>.Contains(T)
ObservableWrapBase.CollectionChanged
ObservableWrapBase.RaiseCollectionChanged(NotifyCollectionChangedEventArgs)
ObservableWrapBase.GetEnumerator()
ObservableWrapBase.OnGetEnumerator()
ObservableWrapBase.IndexOf(object)
ObservableWrapBase.RefreshItem(object)
ObservableWrapBase.Contains(object)
NotifyPropertyChanged.PropertyChanged
NotifyPropertyChanged.Notify(params string[])
NotifyPropertyChanged.Notify(string)
NotifyPropertyChanged.RaisePropertyChangeEvent(in string, in PropertyChangeNotificationType)
NotifyPropertyChanged.OnDoChange<T>(ref T, T, string)
NotifyPropertyChangeBase.OnInitialize(NotifyPropertyChangeBase.IPropertyBroadcastSetup)
NotifyPropertyChangeBase.Refresh()
NotifyPropertyChangeBase.Subscribe(PropertyInfo, PropertyChangeObserver)
NotifyPropertyChangeBase.Subscribe(PropertyChangeObserver)
NotifyPropertyChangeBase.Subscribe(Expression<Func<object>>, PropertyChangeObserver)
NotifyPropertyChangeBase.Unsubscribe(PropertyChangeObserver)
NotifyPropertyChangeBase.Unsubscribe(PropertyInfo)
NotifyPropertyChangeBase.Unsubscribe(Expression<Func<object>>)
NotifyPropertyChangeBase.Change<T>(ref T, T, string)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: TheXDS.MCART.Types
Assembly: MCART.Mvvm.dll
Syntax
public class ObservableListWrap<T> : ObservableWrap<T, IList<T>>, INotifyPropertyChangeBase, IRefreshable, INotifyPropertyChanged, INotifyCollectionChanged, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
Type Parameters
Name Description
T

Tipo de elementos de la lista.

Constructors

| Edit this page View Source

ObservableListWrap()

Inicializa una nueva instancia de la clase ObservableListWrap<T>.

Declaration
public ObservableListWrap()
| Edit this page View Source

ObservableListWrap(IList<T>)

Inicializa una nueva instancia de la clase ObservableListWrap<T>.

Declaration
public ObservableListWrap(IList<T> collection)
Parameters
Type Name Description
IList<T> collection

Properties

| Edit this page View Source

this[int]

Permite acceder de forma indexada al contenido de este ObservableListWrap<T>.

Declaration
public T this[int index] { get; set; }
Parameters
Type Name Description
int index

Índice del elemento a obtener o establecer.

Property Value
Type Description
T

El elemento encontrado en el índice especificado dentro de la colección.

Methods

| Edit this page View Source

Contains(T)

Determina si la secuencia subyacente contiene al elemento especificado.

Declaration
public override bool Contains(T item)
Parameters
Type Name Description
T item

Elemento a buscar dentro de la secuencia.

Returns
Type Description
bool

true si la secuencia contiene al elemento especificado, false en caso contrario.

Overrides
ObservableWrap<T, IList<T>>.Contains(T)
| Edit this page View Source

IndexOf(T)

Determina el índice de un elemento específico dentro del ObservableListWrap<T>.

Declaration
public int IndexOf(T item)
Parameters
Type Name Description
T item

Elemento del cual obtener el índice.

Returns
Type Description
int

El índice del elemento especificado.

| Edit this page View Source

Insert(int, T)

Inserta un elemento dentro de este ObservableListWrap<T> en un índice específico.

Declaration
public void Insert(int index, T item)
Parameters
Type Name Description
int index

Posición en la cual insertar el nuevo elemento.

T item

Elemento a insertar en el índice especificado.

| Edit this page View Source

RemoveAt(int)

Quita el elemento de este ObservableListWrap<T> en el índice especificado.

Declaration
public void RemoveAt(int index)
Parameters
Type Name Description
int index

Índice del elemento a remover.

Implements

INotifyPropertyChangeBase
IRefreshable
INotifyPropertyChanged
INotifyCollectionChanged
IList<T>
ICollection<T>
IEnumerable<T>
IEnumerable

Extension Methods

CollectionExtensions.AddRangeAsync<T>(ICollection<T>, IAsyncEnumerable<T>)
CollectionExtensions.AddRange<T>(ICollection<T>, IEnumerable<T>)
CollectionExtensions.PopFirst<T>(ICollection<T>)
CollectionExtensions.Pop<T>(ICollection<T>)
CollectionExtensions.Push<TItem, TCollection>(ICollection<TCollection>)
CollectionExtensions.Push<TItem, TCollection>(ICollection<TCollection>, TItem)
CollectionExtensions.RemoveAll<T>(ICollection<T>)
CollectionExtensions.RemoveAll<T>(ICollection<T>, in Action<T>)
CollectionExtensions.RemoveAll<T>(ICollection<T>, in Predicate<T>)
CollectionExtensions.RemoveAll<T>(ICollection<T>, in Predicate<T>?, in Action<T>?)
CollectionExtensions.RemoveOf<TItem, TRemove>(ICollection<TItem>)
MvvmCollectionExtensions.ToObservable<T>(ICollection<T>)
CollectionHelpers.WithIndex<T>(IEnumerable<T>)
EnumerableExtensions.AreAllEqual<T>(IEnumerable<T>)
EnumerableExtensions.AreAllEqual<T, TProp>(IEnumerable<T>, Func<T, TProp>)
EnumerableExtensions.Copy<T>(IEnumerable<T>)
EnumerableExtensions.ExceptFor<T>(IEnumerable<T>, params T[])
EnumerableExtensions.FindIndexOf<T>(IEnumerable<T>, T)
EnumerableExtensions.FirstOf<T>(IEnumerable<T>, Type)
EnumerableExtensions.IsPropertyEqual<T>(IEnumerable<T>, Func<T, object>)
EnumerableExtensions.IsQuorum<T>(IEnumerable<T>, int, out T)
EnumerableExtensions.NonDefaults<T>(IEnumerable<T?>)
EnumerableExtensions.OfType<T>(IEnumerable<T>, Type)
EnumerableExtensions.OrNull<T>(IEnumerable<T>)
EnumerableExtensions.PickAsync<T>(IEnumerable<T>)
EnumerableExtensions.Pick<T>(IEnumerable<T>)
EnumerableExtensions.Pick<T>(IEnumerable<T>, in Random)
EnumerableExtensions.Quorum<T>(IEnumerable<T>, int)
EnumerableExtensions.Range<T>(IEnumerable<T>, int, int)
EnumerableExtensions.Rotate<T>(IEnumerable<T>, int)
EnumerableExtensions.SelectAsync<TIn, TOut>(IEnumerable<TIn>, Func<TIn, Task<TOut>>)
EnumerableExtensions.Shift<T>(IEnumerable<T>, int)
EnumerableExtensions.Shuffled<T>(IEnumerable<T>)
EnumerableExtensions.Shuffled<T>(IEnumerable<T>, in int)
EnumerableExtensions.Shuffled<T>(IEnumerable<T>, in int, in int)
EnumerableExtensions.Shuffled<T>(IEnumerable<T>, in int, in int, in int, in Random)
EnumerableExtensions.ToExtendedListAsync<T>(IEnumerable<T>)
EnumerableExtensions.ToExtendedList<T>(IEnumerable<T>)
EnumerableExtensions.ToListAsync<T>(IEnumerable<T>)
EnumerableExtensions.YieldAsync<T>(IEnumerable<T>, Func<T, Task>)
ListExtensions.ApplyRotate<T>(IList<T>, in int)
ListExtensions.ApplyShift<T>(IList<T>, in int)
ListExtensions.Shuffle<T>(IList<T>)
ListExtensions.Shuffle<T>(IList<T>, int, int, in int, Random)
ListExtensions.Shuffle<T>(IList<T>, in int)
ListExtensions.Shuffle<T>(IList<T>, in int, in int)
ListExtensions.Shuffle<T>(IList<T>, in int, in int, in int)
ListExtensions.Swap<T>(IList<T>, in int, in int)
ListExtensions.Swap<T>(IList<T>, T, T)
CollectionHelpers.ToTypes(IEnumerable)
EnumerableExtensions.Contains(IEnumerable, object?)
EnumerableExtensions.ContainsAll(IEnumerable, IEnumerable)
EnumerableExtensions.ContainsAll(IEnumerable, params object?[])
EnumerableExtensions.ContainsAny(IEnumerable, IEnumerable)
EnumerableExtensions.ContainsAny(IEnumerable, params object?[])
EnumerableExtensions.Count(IEnumerable)
EnumerableExtensions.FirstOf<T>(IEnumerable)
EnumerableExtensions.GroupByType(IEnumerable)
EnumerableExtensions.IsAnyOf(IEnumerable, Type)
EnumerableExtensions.IsAnyOf<T>(IEnumerable)
EnumerableExtensions.ItemsEqual(IEnumerable, IEnumerable)
EnumerableExtensions.NotNull(IEnumerable?)
EnumerableExtensions.NullCount(IEnumerable)
EnumerableExtensions.ToGeneric(IEnumerable)
Objects.ShallowCopyTo(object, object, Type)
ObjectExtensions.FieldsOf<T>(object)
ObjectExtensions.GetAttribute<T>(object)
ObjectExtensions.GetAttributes<T>(object)
ObjectExtensions.HasAttrValue<TAttribute, TValue>(object, out TValue)
ObjectExtensions.HasAttribute<T>(object)
ObjectExtensions.HasAttribute<T>(object, out T?)
ObjectExtensions.HasAttributes<T>(object, out IEnumerable<T>?)
ObjectExtensions.Is(object?, object?)
ObjectExtensions.IsEither(object, IEnumerable)
ObjectExtensions.IsEither(object, params object[])
ObjectExtensions.IsNeither(object, IEnumerable)
ObjectExtensions.IsNeither(object, params object[])
ObjectExtensions.IsNot(object?, object?)
ObjectExtensions.PropertiesOf<T>(object)
ObjectExtensions.WhichAre(object, IEnumerable<object>)
ObjectExtensions.WhichAre(object, params object[])
Common.IfNotNull<T>(T?, Action<T>)
Objects.Itself<T>(T)
Objects.ShallowClone<T>(T)
Objects.ShallowCopyTo<T>(T, T)
ObservingCommandBuilder.Create<T>(T, Action)
ObservingCommandBuilder.Create<T>(T, Action<object?>)
ObservingCommandBuilder.Create<T>(T, Func<object?, Task>)
ObservingCommandBuilder.Create<T>(T, Func<Task>)
CollectionExtensions.PushInto<TItem, TCollection>(TItem, ICollection<TCollection>)
DictionaryExtensions.PushInto<TKey, TValue>(TValue, TKey, IDictionary<TKey, TValue>)
EnumerableExtensions.Locked<T>(T, Action<T>)
EnumerableExtensions.Locked<T, TResult>(T, Func<T, TResult>)
NotifyPropertyChangeBaseExtensions.Subscribe<T>(T, Expression<Func<T, object?>>, PropertyChangeObserver)
NotifyPropertyChangeBaseExtensions.Unsubscribe<T>(T, Expression<Func<T, object?>>)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX