CloudServiceConfigurationMaker to customize .cscfg#156
CloudServiceConfigurationMaker to customize .cscfg#156smoothdeveloper wants to merge 2 commits intombraceproject:masterfrom
Conversation
…ild own cloud service configuration
…is expecting a function to generate the .cscfg as a string)
|
LGTM. Thoughts @eiriktsarpalis ? |
|
Could you possibly replace the |
public interface ICloudServiceConfigurationMaker{
string BuildConfiguration();
}and if None is passed, we use the original function (like I'm doing now with What if I'm doing an overload? the interface idea is not really F# friendly (despite object expression, this will be noisy in F#) Shouldn't we pester roslyn/C# team so they introduce DU the way F# has them and also start to support FSharpFunc as first class way to compile their lambda? 😄 |
|
Note that all optional parameters are using FSharpOption which currently is not too C# friendly neither (without additional helpers). |
|
@smoothdeveloper If the builder function does not take any parameters (as that |
See #155