Show / Hide Table of Contents

Class CollectionBinding

Denotes a helper class to create bindings between collections

Inheritance
object
CollectionBinding
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: NMF.Expressions
Assembly: NMF.Expressions.Utilities.dll
Syntax
public static class CollectionBinding

Methods

| Edit this page View Source

Create<T>(IEnumerableExpression<T>, ICollection<T>)

Creates a binding between the given collections

Declaration
public static IDisposable Create<T>(IEnumerableExpression<T> sourceCollection, ICollection<T> targetCollection)
Parameters
Type Name Description
IEnumerableExpression<T> sourceCollection

The source collection

ICollection<T> targetCollection

The target collection

Returns
Type Description
IDisposable

An object that can be disposed to revoke the binding

Type Parameters
Name Description
T

The type of the elements

| Edit this page View Source

Create<T>(IEnumerableExpression<T>, ICollection<T>, bool)

Creates a binding between the given collections

Declaration
public static IDisposable Create<T>(IEnumerableExpression<T> sourceCollection, ICollection<T> targetCollection, bool force)
Parameters
Type Name Description
IEnumerableExpression<T> sourceCollection

The source collection

ICollection<T> targetCollection

The target collection

bool force

True, if the contents of the target collection should be forced to the source collection at start

Returns
Type Description
IDisposable

An object that can be disposed to revoke the binding

Type Parameters
Name Description
T

The type of the elements

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