Example #1
0
    public static FSharpAcceptanceTestV2Assembly Create(string code, params string[] references)
    {
        var assembly = new FSharpAcceptanceTestV2Assembly();

        assembly.Compile(code, references);
        return(assembly);
    }
    public static FSharpAcceptanceTestV2Assembly Create(string code, params string[] references)
    {
        var basePath = Path.GetDirectoryName(Assembly.GetCallingAssembly().Location);
        var assembly = new FSharpAcceptanceTestV2Assembly(basePath);

        assembly.Compile(code, references);
        return(assembly);
    }
 public static FSharpAcceptanceTestV2Assembly Create(string code, params string[] references)
 {
     var assembly = new FSharpAcceptanceTestV2Assembly();
     assembly.Compile(code, references);
     return assembly;
 }