예제 #1
0
 public string GetFileContents(string fileName)
 {
     return(IO.File.ReadAllText(StaticServer.MapPath("~/bam/less/" + fileName)));
 }
예제 #2
0
 public bool DoesFileExist(string fileName)
 {
     return(IO.File.Exists(StaticServer.MapPath("~/bam/less/" + fileName)));
 }
예제 #3
0
 public byte[] GetBinaryFileContents(string fileName)
 {
     return(IO.File.ReadAllBytes(StaticServer.MapPath("~/bam/less/" + fileName)));
 }