Ejemplo n.º 1
0
    public static FSharpAcceptanceTestV2Assembly Create(string code, params string[] references)
    {
        var assembly = new FSharpAcceptanceTestV2Assembly();

        assembly.Compile(code, references);
        return(assembly);
    }
Ejemplo n.º 2
0
    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;
 }