Show / Hide Table of Contents

Enum ColonOperatorBehaviour

Defines behaviour of the colon ':' operator in CLR callbacks. Default behaviour is for ':' being treated the same as a '.' if the functions is implemented on the CLR side (e.g. in C#).

Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public enum ColonOperatorBehaviour

TreatAsColon

The colon is treated in the same as the Lua colon operator works.

TreatAsDot

The colon is treated the same as the dot ('.') operator.

TreatAsDotOnUserData

The colon is treated the same as the dot ('.') operator if the first argument is userdata, as a Lua colon operator otherwise.

Back to top Built by Itinero, MIT licensed.