ClassExtensionMethods
Class
Provides a set of extension methods for System.Collections.Generic collections.
Definition
Namespace:System.Collections.Generic
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
cs-api-definition
public static class ExtensionMethods
Inheritance: objectExtensionMethods
Methods
CastCovariant<TFrom, TTo>(IEnumerable<TFrom>)
Casts enumerable of TFrom to enumerable of TTo on platforms where covariance is not supported.
Declaration
cs-api-definition
public static IEnumerable<TTo> CastCovariant<TFrom, TTo>(this IEnumerable<TFrom> elements) where TFrom : class, TTo
Parameters
elements
IEnumerable<TFrom>
Returns
IEnumerable<TTo>