Geeks With Blogs

dev.marzdog Mike Roberts Development (+) Blog April 2010 Entries
F# Simple Twitter Update
A short while ago I posted some code for a C# twitter update. I decided to move the same functionality / logic to F#. Here is what I came up with. 1: namespace Server.Actions 2: 3: open System 4: open System.IO 5: open System.Net 6: open System.Text 7: 8: type public TwitterUpdate() = 9: 10: //member variables 11: [<DefaultValue>] val mutable _body : string 12: [<DefaultValue>] val mutable _userName : string 13: [<DefaultValue>] val mutable _password : string 14: 15: //Properties ......

Posted On Wednesday, April 7, 2010 9:15 AM

Copyright © mroberts | Powered by: GeeksWithBlogs.net