System.Ext.Text
#1
Posted 21 August 2010 - 11:38 PM
#2
Posted 21 August 2010 - 11:53 PM
#3
Posted 22 August 2010 - 12:47 AM
#4
Posted 22 August 2010 - 12:54 AM
To add references to your project, click on the Project menu and then select the "Add Reference..." menu item.
.NET Micro Framework references should be automatically populated in the first tab, .NET.
The "le" and "be" folders are for "little endian" and "big endian" devices. Netduino is a "little endian" device.
Looking up the StringBuilder in System.Ext.Text, it is in MFDpwsExtensions.dll. It's a feature used with "web services for devices."
http://msdn.microsof...y/cc506612.aspx
From the .NET MF feature request posts, it looks like Microsoft may be moving StringBuilder to the main .NET MF assemblies in the next version of .NET MF. In the meantime, we've built a simple StringBuilder (not optimized by any means, but reasonably compatible with the desktop classes) if you'd like to play with one.
Chris
i'll add that assembly directly. did you check out the screenshot, for some reason there is no assemblies in the add references window. i also don't have docs, so i downloaded the 4.0 SDK and i'm installing that and then reinstalling the 4.1 on top, i suspect the 4.1 SDK install is missing pieces.
glad to hear they're moving stringbuilder into the main assemblies. it's a pretty common class.
#5
Posted 22 August 2010 - 01:04 AM
To add references to your project, click on the Project menu and then select the "Add Reference..." menu item.
.NET Micro Framework references should be automatically populated in the first tab, .NET.
The "le" and "be" folders are for "little endian" and "big endian" devices. Netduino is a "little endian" device.
Looking up the StringBuilder in System.Ext.Text, it is in MFDpwsExtensions.dll. It's a feature used with "web services for devices."
http://msdn.microsof...y/cc506612.aspx
From the .NET MF feature request posts, it looks like Microsoft may be moving StringBuilder to the main .NET MF assemblies in the next version of .NET MF. In the meantime, we've built a simple StringBuilder (not optimized by any means, but reasonably compatible with the desktop classes) if you'd like to play with one.
Chris
that dll has System.Ext.Xml, but not System.Ext.Text, fyi. if i can't find it, i'll probably just grab the mono implementation and drop it in.
#6
Posted 22 August 2010 - 06:29 PM
#7
Posted 22 August 2010 - 10:07 PM
any other ideas where that stringbuilder class might be? i'm porting the mono implementation, but it uses a load of internal string methods that i'm going to have to emulate to get it to work.
We did a quick implementation of StringBuilder, which I've posted here:
http://forums.netdui...gbuilder-class/
It's not performance-tuned, but it should maintain code compatibility with at least a subset of the desktop class.
Chris
#8
Posted 22 August 2010 - 11:56 PM
We did a quick implementation of StringBuilder, which I've posted here:
http://forums.netdui...gbuilder-class/
It's not performance-tuned, but it should maintain code compatibility with at least a subset of the desktop class.
Chris
ha! that looks damn near exactly like mine except, i did an isDirty and cache subsequent ToString() calls.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users