ModelItemDictionary Members

Include Protected Members
Include Inherited Members

Include .NET Framework Members
Include .NET Compact Framework Members
Include XNA Framework Members

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Derives from ModelItem and implements support for a dictionary of key/value pairs.

The ModelItemDictionary type exposes the following members.

Constructors

  Name Description
Protected method ModelItemDictionary Creates a new ModelItemDictionary.

Top

Methods

  Name Description
Public method Add Overloaded. Adds the value to the dictionary under the given key.
Public method BeginEdit Overloaded. Opens an editing scope for the designer.
Public method Clear Clears the contents of the dictionary.
Protected method Contains Determines whether the dictionary contains the given key/value pair.
Public method ContainsKey Overloaded. Determines whether the dictionary contains the given key.
Protected method CopyTo Copies an array of key/value pairs into the given dictionary.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetCurrentValue Returns the current value of the underlying model object the ModelItem is wrapping. (Inherited from ModelItem.)
Public method GetEnumerator Returns an enumerator for the items in the dictionary.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Remove Overloaded. Removes the item from the dictionary.
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)
Public method TryGetValue Overloaded. Retrieves the value for the given key, if possible.

Top

Extension Methods

  Name Description
Public Extension Method Aggregate<KeyValuePair<ModelItem, ModelItem>> Applies an accumulator function over a sequence. (Defined by Enumerable.)
Public Extension Method Aggregate<KeyValuePair<ModelItem, ModelItem>, TAccumulate> Applies an accumulator function over a sequence. The specified seed value is used as the initial accumulator value. (Defined by Enumerable.)
Public Extension Method Aggregate<KeyValuePair<ModelItem, ModelItem>, TAccumulate, TResult> Applies an accumulator function over a sequence. The specified seed value is used as the initial accumulator value, and the specified function is used to select the result value. (Defined by Enumerable.)
Public Extension Method All<KeyValuePair<ModelItem, ModelItem>> Determines whether all elements of a sequence satisfy a condition. (Defined by Enumerable.)
Public Extension Method Any<KeyValuePair<ModelItem, ModelItem>>() Overloaded. Determines whether a sequence contains any elements. (Defined by Enumerable.)
Public Extension Method Any<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Boolean>) Overloaded. Determines whether any element of a sequence satisfies a condition. (Defined by Enumerable.)
Public Extension Method AsEnumerable<KeyValuePair<ModelItem, ModelItem>> Returns the input typed as IEnumerable<T>. (Defined by Enumerable.)
Public Extension Method AsParallel This is the method to opt into Parallel LINQ. This method provides overloads to non-generic IEnumerables. (Defined by ParallelEnumerable.)
Public Extension Method AsParallel<KeyValuePair<ModelItem, ModelItem>> This is the method to opt into Parallel LINQ. (Defined by ParallelEnumerable.)
Public Extension Method AsQueryable Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method AsQueryable<KeyValuePair<ModelItem, ModelItem>> Converts a generic IEnumerable<T> to a generic IQueryable<T>. (Defined by Queryable.)
Public Extension Method Average<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Nullable<Decimal>>) Overloaded. Computes the average of a sequence of nullable Decimal values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Average<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Nullable<Double>>) Overloaded. Computes the average of a sequence of nullable Double values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Average<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Int32>) Overloaded. Computes the average of a sequence of Int32 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Average<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Nullable<Int32>>) Overloaded. Computes the average of a sequence of nullable Int32 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Average<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Int64>) Overloaded. Computes the average of a sequence of Int64 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Average<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Nullable<Int64>>) Overloaded. Computes the average of a sequence of nullable Int64 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Average<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Single>) Overloaded. Computes the average of a sequence of Single values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Average<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Nullable<Single>>) Overloaded. Computes the average of a sequence of nullable Single values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Average<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Double>) Overloaded. Computes the average of a sequence of Double values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Average<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Decimal>) Overloaded. Computes the average of a sequence of Decimal values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Cast<TResult> Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method Concat<KeyValuePair<ModelItem, ModelItem>> Concatenates two sequences. (Defined by Enumerable.)
Public Extension Method Contains<KeyValuePair<ModelItem, ModelItem>>(KeyValuePair<ModelItem, ModelItem>) Overloaded. Determines whether a sequence contains a specified element by using the default equality comparer. (Defined by Enumerable.)
Public Extension Method Contains<KeyValuePair<ModelItem, ModelItem>>(KeyValuePair<ModelItem, ModelItem>, IEqualityComparer<KeyValuePair<ModelItem, ModelItem>>) Overloaded. Determines whether a sequence contains a specified element by using a specified IEqualityComparer<T>. (Defined by Enumerable.)
Public Extension Method Count<KeyValuePair<ModelItem, ModelItem>>() Overloaded. Returns the number of elements in a sequence. (Defined by Enumerable.)
Public Extension Method Count<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Boolean>) Overloaded. Returns a number that represents how many elements in the specified sequence satisfy a condition. (Defined by Enumerable.)
Public Extension Method DefaultIfEmpty<KeyValuePair<ModelItem, ModelItem>>() Overloaded. Returns the elements of the specified sequence or the type parameter's default value in a singleton collection if the sequence is empty. (Defined by Enumerable.)
Public Extension Method DefaultIfEmpty<KeyValuePair<ModelItem, ModelItem>>(KeyValuePair<ModelItem, ModelItem>) Overloaded. Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty. (Defined by Enumerable.)
Public Extension Method Distinct<KeyValuePair<ModelItem, ModelItem>>() Overloaded. Returns distinct elements from a sequence by using the default equality comparer to compare values. (Defined by Enumerable.)
Public Extension Method Distinct<KeyValuePair<ModelItem, ModelItem>>(IEqualityComparer<KeyValuePair<ModelItem, ModelItem>>) Overloaded. Returns distinct elements from a sequence by using a specified IEqualityComparer<T> to compare values. (Defined by Enumerable.)
Public Extension Method ElementAt<KeyValuePair<ModelItem, ModelItem>> Returns the element at a specified index in a sequence. (Defined by Enumerable.)
Public Extension Method ElementAtOrDefault<KeyValuePair<ModelItem, ModelItem>> Returns the element at a specified index in a sequence or a default value if the index is out of range. (Defined by Enumerable.)
Public Extension Method Except<KeyValuePair<ModelItem, ModelItem>>(IEnumerable<KeyValuePair<ModelItem, ModelItem>>) Overloaded. Produces the set difference of two sequences by using the default equality comparer to compare values. (Defined by Enumerable.)
Public Extension Method Except<KeyValuePair<ModelItem, ModelItem>>(IEnumerable<KeyValuePair<ModelItem, ModelItem>>, IEqualityComparer<KeyValuePair<ModelItem, ModelItem>>) Overloaded. Produces the set difference of two sequences by using the specified IEqualityComparer<T> to compare values. (Defined by Enumerable.)
Public Extension Method FindParentModelItem Determines the parent model item, based on the specified item and parent type. (Defined by ModelItemExtensions.)
Public Extension Method First<KeyValuePair<ModelItem, ModelItem>>() Overloaded. Returns the first element of a sequence. (Defined by Enumerable.)
Public Extension Method First<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Boolean>) Overloaded. Returns the first element in a sequence that satisfies a specified condition. (Defined by Enumerable.)
Public Extension Method FirstOrDefault<KeyValuePair<ModelItem, ModelItem>>() Overloaded. Returns the first element of a sequence, or a default value if the sequence contains no elements. (Defined by Enumerable.)
Public Extension Method FirstOrDefault<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Boolean>) Overloaded. Returns the first element of the sequence that satisfies a condition or a default value if no such element is found. (Defined by Enumerable.)
Public Extension Method GetEditingContext Retrieves the editing context of the specified model item. (Defined by ModelItemExtensions.)
Public Extension Method GetModelPath Retrieves the path of the specified model item. (Defined by ModelItemExtensions.)
Public Extension Method GetParentEnumerator() Overloaded. Retrieves an enumerator that contains the parents of the specified model item. (Defined by ModelItemExtensions.)
Public Extension Method GetParentEnumerator(Func<ModelItem, Boolean>) Overloaded. Retrieves an enumerator that contains the parents of the specified model item. (Defined by ModelItemExtensions.)
Public Extension Method GetUniqueName Gets the unique name of an item based on the specified dictionary, default prefix, and name getter. (Defined by ModelItemExtensions.)
Public Extension Method GroupBy<KeyValuePair<ModelItem, ModelItem>, TKey>(Func<KeyValuePair<ModelItem, ModelItem>, TKey>) Overloaded. Groups the elements of a sequence according to a specified key selector function. (Defined by Enumerable.)
Public Extension Method GroupBy<KeyValuePair<ModelItem, ModelItem>, TKey>(Func<KeyValuePair<ModelItem, ModelItem>, TKey>, IEqualityComparer<TKey>) Overloaded. Groups the elements of a sequence according to a specified key selector function and compares the keys by using a specified comparer. (Defined by Enumerable.)
Public Extension Method GroupBy<KeyValuePair<ModelItem, ModelItem>, TKey, TElement>(Func<KeyValuePair<ModelItem, ModelItem>, TKey>, Func<KeyValuePair<ModelItem, ModelItem>, TElement>) Overloaded. Groups the elements of a sequence according to a specified key selector function and projects the elements for each group by using a specified function. (Defined by Enumerable.)
Public Extension Method GroupBy<KeyValuePair<ModelItem, ModelItem>, TKey, TResult>(Func<KeyValuePair<ModelItem, ModelItem>, TKey>, Func<TKey, IEnumerable<KeyValuePair<ModelItem, ModelItem>>, TResult>) Overloaded. Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. (Defined by Enumerable.)
Public Extension Method GroupBy<KeyValuePair<ModelItem, ModelItem>, TKey, TElement>(Func<KeyValuePair<ModelItem, ModelItem>, TKey>, Func<KeyValuePair<ModelItem, ModelItem>, TElement>, IEqualityComparer<TKey>) Overloaded. Groups the elements of a sequence according to a key selector function. The keys are compared by using a comparer and each group's elements are projected by using a specified function. (Defined by Enumerable.)
Public Extension Method GroupBy<KeyValuePair<ModelItem, ModelItem>, TKey, TResult>(Func<KeyValuePair<ModelItem, ModelItem>, TKey>, Func<TKey, IEnumerable<KeyValuePair<ModelItem, ModelItem>>, TResult>, IEqualityComparer<TKey>) Overloaded. Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. The keys are compared by using a specified comparer. (Defined by Enumerable.)
Public Extension Method GroupBy<KeyValuePair<ModelItem, ModelItem>, TKey, TElement, TResult>(Func<KeyValuePair<ModelItem, ModelItem>, TKey>, Func<KeyValuePair<ModelItem, ModelItem>, TElement>, Func<TKey, IEnumerable<TElement>, TResult>) Overloaded. Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. The elements of each group are projected by using a specified function. (Defined by Enumerable.)
Public Extension Method GroupBy<KeyValuePair<ModelItem, ModelItem>, TKey, TElement, TResult>(Func<KeyValuePair<ModelItem, ModelItem>, TKey>, Func<KeyValuePair<ModelItem, ModelItem>, TElement>, Func<TKey, IEnumerable<TElement>, TResult>, IEqualityComparer<TKey>) Overloaded. Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. Key values are compared by using a specified comparer, and the elements of each group are projected by using a specified function. (Defined by Enumerable.)
Public Extension Method GroupJoin<KeyValuePair<ModelItem, ModelItem>, TInner, TKey, TResult>(IEnumerable<TInner>, Func<KeyValuePair<ModelItem, ModelItem>, TKey>, Func<TInner, TKey>, Func<KeyValuePair<ModelItem, ModelItem>, IEnumerable<TInner>, TResult>) Overloaded. Correlates the elements of two sequences based on equality of keys and groups the results. The default equality comparer is used to compare keys. (Defined by Enumerable.)
Public Extension Method GroupJoin<KeyValuePair<ModelItem, ModelItem>, TInner, TKey, TResult>(IEnumerable<TInner>, Func<KeyValuePair<ModelItem, ModelItem>, TKey>, Func<TInner, TKey>, Func<KeyValuePair<ModelItem, ModelItem>, IEnumerable<TInner>, TResult>, IEqualityComparer<TKey>) Overloaded. Correlates the elements of two sequences based on key equality and groups the results. A specified IEqualityComparer<T> is used to compare keys. (Defined by Enumerable.)
Public Extension Method Intersect<KeyValuePair<ModelItem, ModelItem>>(IEnumerable<KeyValuePair<ModelItem, ModelItem>>) Overloaded. Produces the set intersection of two sequences by using the default equality comparer to compare values. (Defined by Enumerable.)
Public Extension Method Intersect<KeyValuePair<ModelItem, ModelItem>>(IEnumerable<KeyValuePair<ModelItem, ModelItem>>, IEqualityComparer<KeyValuePair<ModelItem, ModelItem>>) Overloaded. Produces the set intersection of two sequences by using the specified IEqualityComparer<T> to compare values. (Defined by Enumerable.)
Public Extension Method IsItemInFlowchart Verifies whether a specified item is in the specified flowchart. (Defined by ActivityDesignerHelper.)
Public Extension Method IsItemInSequence Verifies whether a specified item is in the specified sequence. (Defined by ActivityDesignerHelper.)
Public Extension Method Join<KeyValuePair<ModelItem, ModelItem>, TInner, TKey, TResult>(IEnumerable<TInner>, Func<KeyValuePair<ModelItem, ModelItem>, TKey>, Func<TInner, TKey>, Func<KeyValuePair<ModelItem, ModelItem>, TInner, TResult>) Overloaded. Correlates the elements of two sequences based on matching keys. The default equality comparer is used to compare keys. (Defined by Enumerable.)
Public Extension Method Join<KeyValuePair<ModelItem, ModelItem>, TInner, TKey, TResult>(IEnumerable<TInner>, Func<KeyValuePair<ModelItem, ModelItem>, TKey>, Func<TInner, TKey>, Func<KeyValuePair<ModelItem, ModelItem>, TInner, TResult>, IEqualityComparer<TKey>) Overloaded. Correlates the elements of two sequences based on matching keys. A specified IEqualityComparer<T> is used to compare keys. (Defined by Enumerable.)
Public Extension Method Last<KeyValuePair<ModelItem, ModelItem>>() Overloaded. Returns the last element of a sequence. (Defined by Enumerable.)
Public Extension Method Last<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Boolean>) Overloaded. Returns the last element of a sequence that satisfies a specified condition. (Defined by Enumerable.)
Public Extension Method LastOrDefault<KeyValuePair<ModelItem, ModelItem>>() Overloaded. Returns the last element of a sequence, or a default value if the sequence contains no elements. (Defined by Enumerable.)
Public Extension Method LastOrDefault<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Boolean>) Overloaded. Returns the last element of a sequence that satisfies a condition or a default value if no such element is found. (Defined by Enumerable.)
Public Extension Method LongCount<KeyValuePair<ModelItem, ModelItem>>() Overloaded. Returns an Int64 that represents the total number of elements in a sequence. (Defined by Enumerable.)
Public Extension Method LongCount<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Boolean>) Overloaded. Returns an Int64 that represents how many elements in a sequence satisfy a condition. (Defined by Enumerable.)
Public Extension Method Max<KeyValuePair<ModelItem, ModelItem>>() Overloaded. Returns the maximum value in a generic sequence. (Defined by Enumerable.)
Public Extension Method Max<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Nullable<Decimal>>) Overloaded. Invokes a transform function on each element of a sequence and returns the maximum nullable Decimal value. (Defined by Enumerable.)
Public Extension Method Max<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Nullable<Double>>) Overloaded. Invokes a transform function on each element of a sequence and returns the maximum nullable Double value. (Defined by Enumerable.)
Public Extension Method Max<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Int32>) Overloaded. Invokes a transform function on each element of a sequence and returns the maximum Int32 value. (Defined by Enumerable.)
Public Extension Method Max<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Nullable<Int32>>) Overloaded. Invokes a transform function on each element of a sequence and returns the maximum nullable Int32 value. (Defined by Enumerable.)
Public Extension Method Max<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Int64>) Overloaded. Invokes a transform function on each element of a sequence and returns the maximum Int64 value. (Defined by Enumerable.)
Public Extension Method Max<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Nullable<Int64>>) Overloaded. Invokes a transform function on each element of a sequence and returns the maximum nullable Int64 value. (Defined by Enumerable.)
Public Extension Method Max<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Single>) Overloaded. Invokes a transform function on each element of a sequence and returns the maximum Single value. (Defined by Enumerable.)
Public Extension Method Max<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Nullable<Single>>) Overloaded. Invokes a transform function on each element of a sequence and returns the maximum nullable Single value. (Defined by Enumerable.)
Public Extension Method Max<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Double>) Overloaded. Invokes a transform function on each element of a sequence and returns the maximum Double value. (Defined by Enumerable.)
Public Extension Method Max<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Decimal>) Overloaded. Invokes a transform function on each element of a sequence and returns the maximum Decimal value. (Defined by Enumerable.)
Public Extension Method Max<KeyValuePair<ModelItem, ModelItem>, TResult> Invokes a transform function on each element of a generic sequence and returns the maximum resulting value. (Defined by Enumerable.)
Public Extension Method Min<KeyValuePair<ModelItem, ModelItem>>() Overloaded. Returns the minimum value in a generic sequence. (Defined by Enumerable.)
Public Extension Method Min<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Nullable<Decimal>>) Overloaded. Invokes a transform function on each element of a sequence and returns the minimum nullable Decimal value. (Defined by Enumerable.)
Public Extension Method Min<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Nullable<Double>>) Overloaded. Invokes a transform function on each element of a sequence and returns the minimum nullable Double value. (Defined by Enumerable.)
Public Extension Method Min<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Int32>) Overloaded. Invokes a transform function on each element of a sequence and returns the minimum Int32 value. (Defined by Enumerable.)
Public Extension Method Min<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Nullable<Int32>>) Overloaded. Invokes a transform function on each element of a sequence and returns the minimum nullable Int32 value. (Defined by Enumerable.)
Public Extension Method Min<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Int64>) Overloaded. Invokes a transform function on each element of a sequence and returns the minimum Int64 value. (Defined by Enumerable.)
Public Extension Method Min<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Nullable<Int64>>) Overloaded. Invokes a transform function on each element of a sequence and returns the minimum nullable Int64 value. (Defined by Enumerable.)
Public Extension Method Min<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Single>) Overloaded. Invokes a transform function on each element of a sequence and returns the minimum Single value. (Defined by Enumerable.)
Public Extension Method Min<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Nullable<Single>>) Overloaded. Invokes a transform function on each element of a sequence and returns the minimum nullable Single value. (Defined by Enumerable.)
Public Extension Method Min<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Double>) Overloaded. Invokes a transform function on each element of a sequence and returns the minimum Double value. (Defined by Enumerable.)
Public Extension Method Min<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Decimal>) Overloaded. Invokes a transform function on each element of a sequence and returns the minimum Decimal value. (Defined by Enumerable.)
Public Extension Method Min<KeyValuePair<ModelItem, ModelItem>, TResult> Invokes a transform function on each element of a generic sequence and returns the minimum resulting value. (Defined by Enumerable.)
Public Extension Method OfType<TResult> Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Public Extension Method OrderBy<KeyValuePair<ModelItem, ModelItem>, TKey>(Func<KeyValuePair<ModelItem, ModelItem>, TKey>) Overloaded. Sorts the elements of a sequence in ascending order according to a key. (Defined by Enumerable.)
Public Extension Method OrderBy<KeyValuePair<ModelItem, ModelItem>, TKey>(Func<KeyValuePair<ModelItem, ModelItem>, TKey>, IComparer<TKey>) Overloaded. Sorts the elements of a sequence in ascending order by using a specified comparer. (Defined by Enumerable.)
Public Extension Method OrderByDescending<KeyValuePair<ModelItem, ModelItem>, TKey>(Func<KeyValuePair<ModelItem, ModelItem>, TKey>) Overloaded. Sorts the elements of a sequence in descending order according to a key. (Defined by Enumerable.)
Public Extension Method OrderByDescending<KeyValuePair<ModelItem, ModelItem>, TKey>(Func<KeyValuePair<ModelItem, ModelItem>, TKey>, IComparer<TKey>) Overloaded. Sorts the elements of a sequence in descending order by using a specified comparer. (Defined by Enumerable.)
Public Extension Method Reverse<KeyValuePair<ModelItem, ModelItem>> Inverts the order of the elements in a sequence. (Defined by Enumerable.)
Public Extension Method Select<KeyValuePair<ModelItem, ModelItem>, TResult>(Func<KeyValuePair<ModelItem, ModelItem>, TResult>) Overloaded. Projects each element of a sequence into a new form. (Defined by Enumerable.)
Public Extension Method Select<KeyValuePair<ModelItem, ModelItem>, TResult>(Func<KeyValuePair<ModelItem, ModelItem>, Int32, TResult>) Overloaded. Projects each element of a sequence into a new form by incorporating the element's index. (Defined by Enumerable.)
Public Extension Method SelectMany<KeyValuePair<ModelItem, ModelItem>, TResult>(Func<KeyValuePair<ModelItem, ModelItem>, IEnumerable<TResult>>) Overloaded. Projects each element of a sequence to an IEnumerable<T> and flattens the resulting sequences into one sequence. (Defined by Enumerable.)
Public Extension Method SelectMany<KeyValuePair<ModelItem, ModelItem>, TResult>(Func<KeyValuePair<ModelItem, ModelItem>, Int32, IEnumerable<TResult>>) Overloaded. Projects each element of a sequence to an IEnumerable<T>, and flattens the resulting sequences into one sequence. The index of each source element is used in the projected form of that element. (Defined by Enumerable.)
Public Extension Method SelectMany<KeyValuePair<ModelItem, ModelItem>, TCollection, TResult>(Func<KeyValuePair<ModelItem, ModelItem>, Int32, IEnumerable<TCollection>>, Func<KeyValuePair<ModelItem, ModelItem>, TCollection, TResult>) Overloaded. Projects each element of a sequence to an IEnumerable<T>, flattens the resulting sequences into one sequence, and invokes a result selector function on each element therein. The index of each source element is used in the intermediate projected form of that element. (Defined by Enumerable.)
Public Extension Method SelectMany<KeyValuePair<ModelItem, ModelItem>, TCollection, TResult>(Func<KeyValuePair<ModelItem, ModelItem>, IEnumerable<TCollection>>, Func<KeyValuePair<ModelItem, ModelItem>, TCollection, TResult>) Overloaded. Projects each element of a sequence to an IEnumerable<T>, flattens the resulting sequences into one sequence, and invokes a result selector function on each element therein. (Defined by Enumerable.)
Public Extension Method SequenceEqual<KeyValuePair<ModelItem, ModelItem>>(IEnumerable<KeyValuePair<ModelItem, ModelItem>>) Overloaded. Determines whether two sequences are equal by comparing the elements by using the default equality comparer for their type. (Defined by Enumerable.)
Public Extension Method SequenceEqual<KeyValuePair<ModelItem, ModelItem>>(IEnumerable<KeyValuePair<ModelItem, ModelItem>>, IEqualityComparer<KeyValuePair<ModelItem, ModelItem>>) Overloaded. Determines whether two sequences are equal by comparing their elements by using a specified IEqualityComparer<T>. (Defined by Enumerable.)
Public Extension Method Single<KeyValuePair<ModelItem, ModelItem>>() Overloaded. Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. (Defined by Enumerable.)
Public Extension Method Single<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Boolean>) Overloaded. Returns the only element of a sequence that satisfies a specified condition, and throws an exception if more than one such element exists. (Defined by Enumerable.)
Public Extension Method SingleOrDefault<KeyValuePair<ModelItem, ModelItem>>() Overloaded. Returns the only element of a sequence, or a default value if the sequence is empty; this method throws an exception if there is more than one element in the sequence. (Defined by Enumerable.)
Public Extension Method SingleOrDefault<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Boolean>) Overloaded. Returns the only element of a sequence that satisfies a specified condition or a default value if no such element exists; this method throws an exception if more than one element satisfies the condition. (Defined by Enumerable.)
Public Extension Method Skip<KeyValuePair<ModelItem, ModelItem>> Bypasses a specified number of elements in a sequence and then returns the remaining elements. (Defined by Enumerable.)
Public Extension Method SkipWhile<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Boolean>) Overloaded. Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. (Defined by Enumerable.)
Public Extension Method SkipWhile<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Int32, Boolean>) Overloaded. Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. The element's index is used in the logic of the predicate function. (Defined by Enumerable.)
Public Extension Method Sum<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Nullable<Decimal>>) Overloaded. Computes the sum of the sequence of nullable Decimal values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Sum<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Nullable<Double>>) Overloaded. Computes the sum of the sequence of nullable Double values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Sum<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Int32>) Overloaded. Computes the sum of the sequence of Int32 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Sum<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Nullable<Int32>>) Overloaded. Computes the sum of the sequence of nullable Int32 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Sum<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Int64>) Overloaded. Computes the sum of the sequence of Int64 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Sum<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Nullable<Int64>>) Overloaded. Computes the sum of the sequence of nullable Int64 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Sum<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Single>) Overloaded. Computes the sum of the sequence of Single values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Sum<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Nullable<Single>>) Overloaded. Computes the sum of the sequence of nullable Single values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Sum<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Double>) Overloaded. Computes the sum of the sequence of Double values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Sum<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Decimal>) Overloaded. Computes the sum of the sequence of Decimal values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method SwitchKeys(ModelItem, ModelItem) Overloaded. Replaces the specified old key with the specified new key in the specified dictionary. (Defined by ModelItemExtensions.)
Public Extension Method SwitchKeys(Object, Object, ModelItem%) Overloaded. Replaces the specified old key with the specified new key in the specified dictionary, and if applicable returns the item of the new key. (Defined by ModelItemExtensions.)
Public Extension Method Take<KeyValuePair<ModelItem, ModelItem>> Returns a specified number of contiguous elements from the start of a sequence. (Defined by Enumerable.)
Public Extension Method TakeWhile<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Boolean>) Overloaded. Returns elements from a sequence as long as a specified condition is true. (Defined by Enumerable.)
Public Extension Method TakeWhile<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Int32, Boolean>) Overloaded. Returns elements from a sequence as long as a specified condition is true. The element's index is used in the logic of the predicate function. (Defined by Enumerable.)
Public Extension Method ToArray<KeyValuePair<ModelItem, ModelItem>> Creates an array from a IEnumerable<T>. (Defined by Enumerable.)
Public Extension Method ToDictionary<KeyValuePair<ModelItem, ModelItem>, TKey>(Func<KeyValuePair<ModelItem, ModelItem>, TKey>) Overloaded. Creates a Dictionary<TKey, TValue> from an IEnumerable<T> according to a specified key selector function. (Defined by Enumerable.)
Public Extension Method ToDictionary<KeyValuePair<ModelItem, ModelItem>, TKey>(Func<KeyValuePair<ModelItem, ModelItem>, TKey>, IEqualityComparer<TKey>) Overloaded. Creates a Dictionary<TKey, TValue> from an IEnumerable<T> according to a specified key selector function and key comparer. (Defined by Enumerable.)
Public Extension Method ToDictionary<KeyValuePair<ModelItem, ModelItem>, TKey, TElement>(Func<KeyValuePair<ModelItem, ModelItem>, TKey>, Func<KeyValuePair<ModelItem, ModelItem>, TElement>) Overloaded. Creates a Dictionary<TKey, TValue> from an IEnumerable<T> according to specified key selector and element selector functions. (Defined by Enumerable.)
Public Extension Method ToDictionary<KeyValuePair<ModelItem, ModelItem>, TKey, TElement>(Func<KeyValuePair<ModelItem, ModelItem>, TKey>, Func<KeyValuePair<ModelItem, ModelItem>, TElement>, IEqualityComparer<TKey>) Overloaded. Creates a Dictionary<TKey, TValue> from an IEnumerable<T> according to a specified key selector function, a comparer, and an element selector function. (Defined by Enumerable.)
Public Extension Method ToList<KeyValuePair<ModelItem, ModelItem>> Creates a List<T> from an IEnumerable<T>. (Defined by Enumerable.)
Public Extension Method ToLookup<KeyValuePair<ModelItem, ModelItem>, TKey>(Func<KeyValuePair<ModelItem, ModelItem>, TKey>) Overloaded. Creates a Lookup<TKey, TElement> from an IEnumerable<T> according to a specified key selector function. (Defined by Enumerable.)
Public Extension Method ToLookup<KeyValuePair<ModelItem, ModelItem>, TKey>(Func<KeyValuePair<ModelItem, ModelItem>, TKey>, IEqualityComparer<TKey>) Overloaded. Creates a Lookup<TKey, TElement> from an IEnumerable<T> according to a specified key selector function and key comparer. (Defined by Enumerable.)
Public Extension Method ToLookup<KeyValuePair<ModelItem, ModelItem>, TKey, TElement>(Func<KeyValuePair<ModelItem, ModelItem>, TKey>, Func<KeyValuePair<ModelItem, ModelItem>, TElement>) Overloaded. Creates a Lookup<TKey, TElement> from an IEnumerable<T> according to specified key selector and element selector functions. (Defined by Enumerable.)
Public Extension Method ToLookup<KeyValuePair<ModelItem, ModelItem>, TKey, TElement>(Func<KeyValuePair<ModelItem, ModelItem>, TKey>, Func<KeyValuePair<ModelItem, ModelItem>, TElement>, IEqualityComparer<TKey>) Overloaded. Creates a Lookup<TKey, TElement> from an IEnumerable<T> according to a specified key selector function, a comparer and an element selector function. (Defined by Enumerable.)
Public Extension Method TryGetPropertyValue(ModelItem%, array<String[]) Overloaded. Attempts to retrieve the value of the specified item at the specified path. (Defined by ModelItemExtensions.)
Public Extension Method TryGetPropertyValue(ModelItemCollection%, array<String[]) Overloaded. Attempts to retrieve the value of the specified item at the specified path. (Defined by ModelItemExtensions.)
Public Extension Method TryGetPropertyValue(ModelItemDictionary%, array<String[]) Overloaded. Attempts to retrieve the value of the specified item at the specified path. (Defined by ModelItemExtensions.)
Public Extension Method TrySetPropertyValue Attempts to set the specified property value using the specified item, wrapped value, and path. (Defined by ModelItemExtensions.)
Public Extension Method Union<KeyValuePair<ModelItem, ModelItem>>(IEnumerable<KeyValuePair<ModelItem, ModelItem>>) Overloaded. Produces the set union of two sequences by using the default equality comparer. (Defined by Enumerable.)
Public Extension Method Union<KeyValuePair<ModelItem, ModelItem>>(IEnumerable<KeyValuePair<ModelItem, ModelItem>>, IEqualityComparer<KeyValuePair<ModelItem, ModelItem>>) Overloaded. Produces the set union of two sequences by using a specified IEqualityComparer<T>. (Defined by Enumerable.)
Public Extension Method Where<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Boolean>) Overloaded. Filters a sequence of values based on a predicate. (Defined by Enumerable.)
Public Extension Method Where<KeyValuePair<ModelItem, ModelItem>>(Func<KeyValuePair<ModelItem, ModelItem>, Int32, Boolean>) Overloaded. Filters a sequence of values based on a predicate. Each element's index is used in the logic of the predicate function. (Defined by Enumerable.)
Public Extension Method Zip<KeyValuePair<ModelItem, ModelItem>, TSecond, TResult> Merges two sequences by using the specified predicate function. (Defined by Enumerable.)

Top

Fields

  Name Description
Public fieldStatic member KeyProperty The DependencyProperty that represents the key in the key/value pair that is added to all items in the dictionary. The data type of the KeyProperty is ModelItem.

Top

Properties

  Name Description
Public property Attributes Returns the attributes declared on this item. (Inherited from ModelItem.)
Public property Content Returns the ContentPropertyAttribute of the item, or nulla null reference (Nothing in Visual Basic). (Inherited from ModelItem.)
Public property Count Returns the count of items in the dictionary.
Public property Events Returns the public events on this item. (Inherited from ModelItem.)
Protected property IsFixedSize Determines whether the dictionary is a fixed size.
Public property IsReadOnly Determines whether the dictionary cannot be modified.
Protected property IsSynchronized Gets a value that indicates whether access to the dictionary is synchronized (thread safe).
Public property Item Overloaded. Gets or sets the item at the specified key.
Public property ItemType Returns the type of object the item represents. (Inherited from ModelItem.)
Public property Keys Gets the keys of the collection. The keys are guaranteed to be in the same order as the values. The resulting collection is read-only.
Public property Name Represents the name or ID of the item. (Inherited from ModelItem.)
Public property Parent Returns the item that is the parent of this item. (Inherited from ModelItem.)
Public property Parents Returns all parents of this item. (Inherited from ModelItem.)
Public property Properties Returns the public properties on this item. (Inherited from ModelItem.)
Public property Root Returns the item that is the root of this tree. (Inherited from ModelItem.)
Public property Source Returns the property that provided this value. (Inherited from ModelItem.)
Public property Sources Returns all the properties that hold this value. (Inherited from ModelItem.)
Protected property SyncRoot Gets an object that can be used to synchronize access to this collection.
Public property Values Gets the values of the collection.
Public property View Returns the Visual or Visual3D representing the UI for this item. (Inherited from ModelItem.)

Top

Events

  Name Description
Public event CollectionChanged Raised when the contents of this collection change.
Public event PropertyChanged Implements INotifyPropertyChanged. Use this event to listen for changes to the model. This is also used by the data binding features of WPF. (Inherited from ModelItem.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICollection<KeyValuePair<ModelItem, ModelItem>>.Add
Explicit interface implemetationPrivate method ICollection<KeyValuePair<ModelItem, ModelItem>>.Contains
Explicit interface implemetationPrivate method ICollection<KeyValuePair<ModelItem, ModelItem>>.CopyTo
Explicit interface implemetationPrivate method ICollection.CopyTo Copies the elements of the [T:System.Collections. ICollection] to an array, starting at a particular array index.
Explicit interface implemetationPrivate property ICollection.Count Gets the number of elements contained in the ICollection.
Explicit interface implemetationPrivate property ICollection.IsSynchronized Gets a value that indicates whether access to the ICollection is synchronized (thread safe).
Explicit interface implemetationPrivate method ICollection<KeyValuePair<ModelItem, ModelItem>>.Remove
Explicit interface implemetationPrivate property ICollection.SyncRoot Gets an object that can be used to synchronize access to the ICollection.
Explicit interface implemetationPrivate method IDictionary.Add Adds an element with the provided key and value to the IDictionary object.
Explicit interface implemetationPrivate method IDictionary.Clear Removes all elements from the IDictionary object.
Explicit interface implemetationPrivate method IDictionary.Contains Determines whether the IDictionary object contains an element with the specified key.
Explicit interface implemetationPrivate method IDictionary.GetEnumerator Returns the IDictionaryEnumerator object for the IDictionary object.
Explicit interface implemetationPrivate property IDictionary.IsFixedSize Gets a value that indicates whether the IDictionary object has a fixed size.
Explicit interface implemetationPrivate property IDictionary.IsReadOnly Gets a value that indicates whether the IDictionary object is read-only.
Explicit interface implemetationPrivate property IDictionary.Item Gets or sets the element with the specified key.
Explicit interface implemetationPrivate property IDictionary.Keys Gets an ICollection object that contains the keys of the IDictionary object.
Explicit interface implemetationPrivate method IDictionary.Remove Removes the element with the specified key from the IDictionary.
Explicit interface implemetationPrivate property IDictionary.Values Gets an ICollection object that contains the values in the IDictionary object.
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Returns an enumerator that iterates through a collection.

Top

See Also

Reference

ModelItemDictionary Class

System.Activities.Design.Model Namespace