Show / Hide Table of Contents

Class ArrayExtensions

A static helper class to provide functions for arrays.

Inheritance
System.Object
ArrayExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fusee.Engine.Imp.Graphics.Blazor
Assembly: Fusee.Engine.Imp.Graphics.Blazor.dll
Syntax
public static class ArrayExtensions

Methods

ToArray<T>(IList, Func<Object, T>)

Casts an array to an array of the given type T.

Declaration
public static T[] ToArray<T>(this IList array, Func<object, T> cast)
Parameters
Type Name Description
System.Collections.IList array

The array to parse.

System.Func<System.Object, T> cast

The cast to make.

Returns
Type Description
T[]
Type Parameters
Name Description
T

The given type to cast to.

Generated by DocFX
GitHub Repo
Back to top