Welcome to Macrobject Community
Login
|
Register
|
Faq
Macrobject Community
Macrobject Software Knowledge Management and Collaboration Platform
Search
Forums
Home
Extending built-in classes
Started by wasuplee123 at 07-21-2008 4:26 PM. Topic has 1 replies.
Macrobject Comm...
»
Developing Tool...
»
Nuva Language
»
Extending built-in classes
Search
07-21-2008, 4:26 PM
wasuplee123
Joined on 06-04-2008
Posts 8
Extending built-in classes
Is there any way to extend types such as the string type?
for example, right now you can use the Contains method like this:
var strVar = "test";
strVar.Contains("t");
Can I define my own methods for strings? (e.g. If I want a method called MyMethod):
strVar.MyMethod();
I believe JavaScript allows you to do this as well as the latest version of the .NET framework.
Report
07-22-2008, 1:43 AM
Bill
Joined on 06-28-2008
Posts 15
Re: Extending built-in classes
This feature is in our developing plan, but it is not implemented in Nuva yet.
Report
Macrobject Comm...
»
Developing Tool...
»
Nuva Language
»
Extending built-in classes
(please select)
Forums Home
|- Search Forums
|- Active Topics
|- Unanswered Posts
User Options
|- Sign In
|- Create a New Account
|- Forgot Password
Order and Registration Issues
|- Registration Issues
Help Authoring Tools
|- Word-2-CHM Converter
|- Word-2-Web Converter
|- CHM-2-Word Converter
|- CHM-2-HTML Converter
|- CHM-2-Web Converter
Developing Tools
|- Obfuscator.NET
|- OQL.NET Object Query Language
|- NObject O/R Mapping Framework
|- DObject O/R Mapping Suite
|- Nuva Language
|- CodeAuto Code Generator
|- CodeAuto Studio
Miscellaneous
|- Miscellaneous