Skip to main content

DataAtom<T>

A class in Root.Township, Alta.Intelligence.

An atom carrying a value (for example a position) in the unused Prolog-like logic engine.

Constructors​

MemberWhat it is
DataAtom(string name, T data)Creates a DataAtom from name and data.

Properties​

MemberWhat it is
T Data { get; set; }The value this atom carries.

Methods​

MemberWhat it is
static DataAtom<T> op_Implicit(string name)Lets a string become a DataAtom of that name with a default value, or a value become one named "Data".
static DataAtom<T> op_Implicit(T value)Lets a string become a DataAtom of that name with a default value, or a value become one named "Data".