Exemplo n.º 1
0
        public void AddMethod(System.Reflection.MethodInfo methodInfo, LNGMapAttribute attribute)
        {
            var tmpMethod = new StillOneScriptCore.EntityModel.LngObjectsModel.Support.Internal._P_NativeClassMethod(methodInfo, this.Environment);

            tmpMethod.AssignFeatures(attribute.Features);
            tmpMethod.AssignSecondaryFeatures(attribute.SecondaryFeatures);

            this.AddMethod(tmpMethod);
        }
        public void AddMethod(System.Reflection.MethodInfo methodInfo, LNGMapAttribute attribute)
        {
            var tmpMethod = new _P_NativeInstanceMethod(mObject, methodInfo, this.Environment);

            tmpMethod.AssignFeatures(attribute.Features);
            tmpMethod.AssignSecondaryFeatures(attribute.SecondaryFeatures);

            this.AddMethod(tmpMethod);
        }