Class ExtensionMethods
Inheritance
System.Object
ExtensionMethods
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Collections.Generic
Assembly: Telerik.Windows.Documents.dll
Syntax
public static class ExtensionMethods
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
|