Class ExtensionMethods
Inheritance
System.Object
ExtensionMethods
Namespace: System.Collections.Generic
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public static class ExtensionMethods : Object
Methods
CastCovariant<TFrom, TTo>(IEnumerable<TFrom>)
Casts enumerable of TFrom to enumerable of TTo on platforms where covariance is not supported.
Declaration
public static IEnumerable<TTo> CastCovariant<TFrom, TTo>(this IEnumerable<TFrom> elements)
where TFrom : class, TTo
Parameters
System.Collections.Generic.IEnumerable<TFrom>
elements
|
Returns
System.Collections.Generic.IEnumerable<TTo>
|
Type Parameters
TFrom
|
TTo
|