Show / Hide Table of Contents

Class MvvmCollectionExtensions

Extensiones para todos los elementos de tipo ICollection<T> que incluyen funcionalidad asociada a la arquitectura MVVM.

Inheritance
object
MvvmCollectionExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: TheXDS.MCART.Types.Extensions
Assembly: MCART.Mvvm.dll
Syntax
public static class MvvmCollectionExtensions

Methods

| Edit this page View Source

ToObservable<T>(ICollection<T>)

Obtiene un ObservableCollectionWrap<T> que envuelve a la colección especificada.

Declaration
public static ObservableCollectionWrap<T> ToObservable<T>(this ICollection<T> collection)
Parameters
Type Name Description
ICollection<T> collection

Colección a envolver dentro del ObservableCollectionWrap<T>.

Returns
Type Description
ObservableCollectionWrap<T>

Un ObservableCollectionWrap<T> que envuelve a la colección para brindar notificaciones de cambio por medio de la interfaz INotifyCollectionChanged.

Type Parameters
Name Description
T

Tipo de elementos de la colección.

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX