Arraybracket.Bundling.Tests.ScriptDependencyOrdererTests.TestBase._WriteFile C# (CSharp) 메소드

_WriteFile() 보호된 메소드

protected _WriteFile ( string name, string content ) : string
name string
content string
리턴 string
        protected string _WriteFile(string name, string content)
        {
            var path = Path.GetFullPath(Path.Combine(_ContentPath, name));
            Directory.CreateDirectory(Path.GetDirectoryName(path));
            File.WriteAllText(path, content);
            return path;
        }