Ejemplo n.º 1
0
        public static ContentCompilerResult CompileFromFile(string fileName, ModelCompilerOptions compilerOptions)
        {
            var modelCompiler = new ModelCompiler();

            return(modelCompiler.CompileFromFileInternal(fileName, compilerOptions));
        }
Ejemplo n.º 2
0
        public static ContentCompilerResult Compile(Stream modelStream, string fileName, ModelCompilerOptions compilerOptions)
        {
            var compiler = new ModelCompiler();

            return(compiler.CompileFromStream(modelStream, fileName, compilerOptions));
        }
Ejemplo n.º 3
0
 /// <summary>Compiles from file.</summary>
 /// <param name="fileName">Name of the file.</param>
 /// <param name="compilerOptions">The compiler options.</param>
 /// <returns>ContentCompilerResult.</returns>
 public static ContentCompilerResult CompileFromFile(string fileName, ModelCompilerOptions compilerOptions)
 {
     var modelCompiler = new ModelCompiler();
     return modelCompiler.CompileFromFileInternal(fileName, compilerOptions);
 }
Ejemplo n.º 4
0
 public static ContentCompilerResult Compile(Stream modelStream, string fileName, ModelCompilerOptions compilerOptions)
 {
     var compiler = new ModelCompiler();
     return compiler.CompileFromStream(modelStream, fileName, compilerOptions);
 }