Skip to content
jackbrookes edited this page Jun 1, 2018 · 10 revisions

UXF.Extensions

Useful methods


Fields

rng: Random number generator with seed based on current time.

Properties

None

Methods

UXF.Extensions.Clone``1(System.Collections.Generic.IList{``0})

Clones a list and all items inside Parameters listToClone:

UXF.Extensions.GetSafeFilename(System.String)

Modify a string to remove any unsafe characters Parameters filename:

UXF.Extensions.Shuffle``1(System.Collections.Generic.IList{``0},System.Random)

Shuffles a list in-place with a given random number generator. Parameters list: List to shuffle rng: Random number generator via which the shuffling occurs

UXF.Extensions.Shuffle``1(System.Collections.Generic.IList{``0})

Shuffles a list in-place with the current time based random number generator. Parameters list: List to shuffle

UXF.Extensions.CombinePaths(System.String,System.String[])

Combine many path parts into a single path. Parameters path1: Base path paths: Array of subsequent paths


Note: This file was automatically generated

๐Ÿง  Core topics

โ“ More help


๐Ÿ‘ฉโ€๐Ÿ’ป Programming reference

Unit tests

Clone this wiki locally