//----- convenience methods public void addPropertyGetter(Identifier ident, PropGetFunc func) { addPropertyGetter( ident, new Function_Native( new ParameterImpl[]{}, Bridge.stdn_Nullable_any, delegate(IScope scope) { return func(); }, null)); }
public void addBreeder(IInterface face, PropGetFunc func) { _breeders.Add( face, new Function_Native( new ParameterImpl[]{}, new NType(face), delegate(IScope scope) { return func(); }, null)); }