Example #1
0
 internal ObjectTypeDef(LayeTypeDef type)
 {
     type.PutInstanceProperty("hashCode", LayeProperty.FromGet((LayeCallback)IPropertyGet__hashCode));
     type.PutAsCast(LayeBool.TYPE, (LayeCallback)As__Bool);
     type.PutInstanceMethod("toString", (LayeCallback)IMethod__toString);
     type.PutInfix("==", (LayeCallback)Infix__equalTo);
     type.PutInfix("!=", (LayeCallback)Infix__notEqualTo);
     type.PutInfix("<>", (LayeCallback)Infix__Concat);
     type.PutInfix("<;", (LayeCallback)((state, ths, args) => ths));
     type.PutInfix(";>", (LayeCallback)((state, ths, args) => args[0]));
     type.PutInfix(";", (LayeCallback)((state, ths, args) => args[0]));
 }