Jaa


StackedMemory Class

Definition

Stack implements of IMemory. Memory variables have a hierarchical relationship.

public class StackedMemory : System.Collections.Generic.Stack<AdaptiveExpressions.Memory.IMemory>, AdaptiveExpressions.Memory.IMemory
type StackedMemory = class
    inherit Stack<IMemory>
    interface IMemory
Public Class StackedMemory
Inherits Stack(Of IMemory)
Implements IMemory
Inheritance
StackedMemory
Implements

Constructors

StackedMemory()

Methods

SetValue(String, Object)

Set value to a given path.

TryGetValue(String, Object)

Try get value from a given path.

Version()

Get the version of the current StackedMemory.

Wrap(IMemory)

Wrap an object implementes IMemory interface into a StackedMemory object.

Extension Methods

RandomNext(IMemory, Int32, Int32, Nullable<Int32>)

Generator random seed and value from properties. If value is not null, the mock random value result would be: min + (value % (max - min)). Else if seed is not null, the seed of the random would be fixed.

Applies to