...
No Format |
---|
[Serializable] public class MyOption : Option { ... } |
Release 1.1 Ported to C#
Version 1.1 of the CLI library has been ported to C# (\[http://code.lostcreations.com/wiki/lib/CLI Homepage\]) and is available at http://code.lostcreations.com/browser/trunk/lib/csharp/Cli/. You can download the sources from the subversion repository with the following command: Wiki Markup
No Format |
---|
svn co http://svn.lostcreations.com/code/trunk/lib/csharp/Cli/ |
...
- In Java, the method substring is defined as func(int begin, int end) where end is exclusive and the length to splice is a result of end - begin. In .NET Substring is func(int begin, int length) where length is inclusive. Instead of changing your math I instead created a static class called JavaPorts and have created the method JavaPorts.Substring( string value, int beginIndex, int endIndex ) that functions as Java's substring.
There has only been minimal bug testing performed on the port, as it was ported to serve a particular need. Please \[http://code.lostcreations.com/newticket?id=code/newticket&owner=akutz&priority=minor&component=CLI submit bug reports\] as you find them, or \[http://code.lostcreations.com/report/16 view a list of outstanding issues\]. Wiki Markup