Click or drag to resize
RandomEnum Class
A static class of extension methods for randomly selecting items from enumeration types.
Inheritance Hierarchy
SystemObject
  Experilous.MakeItRandomRandomEnum

Namespace: Experilous.MakeItRandom
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public static class RandomEnum

The RandomEnum type exposes the following members.

Methods
  NameDescription
Public methodStatic memberMakeEnumGeneratorTEnum
Returns an enum generator which will return random enumeration items from TEnum, uniformly distributed either by unique value or by name.
Public methodStatic memberMakeWeightedEnumGeneratorTEnum(IRandom, FuncString, Byte)
Returns a weighted enum generator which will return random enumeration items from TEnum, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedEnumGeneratorTEnum(IRandom, FuncString, Double)
Returns a weighted enum generator which will return random enumeration items from TEnum, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedEnumGeneratorTEnum(IRandom, FuncString, Int16)
Returns a weighted enum generator which will return random enumeration items from TEnum, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedEnumGeneratorTEnum(IRandom, FuncString, Int32)
Returns a weighted enum generator which will return random enumeration items from TEnum, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedEnumGeneratorTEnum(IRandom, FuncString, Int64)
Returns a weighted enum generator which will return random enumeration items from TEnum, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedEnumGeneratorTEnum(IRandom, FuncString, SByte)
Returns a weighted enum generator which will return random enumeration items from TEnum, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedEnumGeneratorTEnum(IRandom, FuncString, Single)
Returns a weighted enum generator which will return random enumeration items from TEnum, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedEnumGeneratorTEnum(IRandom, FuncString, UInt16)
Returns a weighted enum generator which will return random enumeration items from TEnum, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedEnumGeneratorTEnum(IRandom, FuncString, UInt32)
Returns a weighted enum generator which will return random enumeration items from TEnum, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedEnumGeneratorTEnum(IRandom, FuncString, UInt64)
Returns a weighted enum generator which will return random enumeration items from TEnum, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedEnumGeneratorTEnum(IRandom, FuncTEnum, Byte)
Returns a weighted enum generator which will return random enumeration items from TEnum, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedEnumGeneratorTEnum(IRandom, FuncTEnum, Double)
Returns a weighted enum generator which will return random enumeration items from TEnum, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedEnumGeneratorTEnum(IRandom, FuncTEnum, Int16)
Returns a weighted enum generator which will return random enumeration items from TEnum, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedEnumGeneratorTEnum(IRandom, FuncTEnum, Int32)
Returns a weighted enum generator which will return random enumeration items from TEnum, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedEnumGeneratorTEnum(IRandom, FuncTEnum, Int64)
Returns a weighted enum generator which will return random enumeration items from TEnum, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedEnumGeneratorTEnum(IRandom, FuncTEnum, SByte)
Returns a weighted enum generator which will return random enumeration items from TEnum, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedEnumGeneratorTEnum(IRandom, FuncTEnum, Single)
Returns a weighted enum generator which will return random enumeration items from TEnum, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedEnumGeneratorTEnum(IRandom, FuncTEnum, UInt16)
Returns a weighted enum generator which will return random enumeration items from TEnum, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedEnumGeneratorTEnum(IRandom, FuncTEnum, UInt32)
Returns a weighted enum generator which will return random enumeration items from TEnum, non-uniformly distributed according to the weights provided by weightsAccessor.
Public methodStatic memberMakeWeightedEnumGeneratorTEnum(IRandom, FuncTEnum, UInt64)
Returns a weighted enum generator which will return random enumeration items from TEnum, non-uniformly distributed according to the weights provided by weightsAccessor.
Top
See Also