To mark a value as a literal you can add the [<Literal>] attribute:

[<Literal>]
let Foo = "my.namespace.com"

[<ServiceContract(Namespace = Foo)>]
type X() = ...

By on 9/28/2008 9:54 AM ()

Ah, excellent, thanks!

By on 9/29/2008 1:31 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper