示例#1
0
 public static void Replace(Hierarchy hierarchy, string sourceFileName, string destinationFileName, string destinationBackupFileName)
 {
     throw new NotImplementedException("KSPe.IO.File.Replace");
 }
示例#2
0
 public static string[] List(Hierarchy hierarchy, string mask = "*", bool include_subdirs = false, string subdir = null)
 {
     return(List(hierarchy.SolveFull(false, subdir ?? "."), mask, include_subdirs));
 }
示例#3
0
 public static void AppendAllText(Hierarchy hierarchy, string contents, string fn, params string[] fns)
 {
     throw new NotImplementedException("KSPe.IO.File.AppendAllText");
 }
示例#4
0
 public static void WriteAllLines(Hierarchy hierarchy, string[] contents, string fn, params string[] fns)
 {
     throw new NotImplementedException("KSPe.IO.File.WriteAllLines");
 }
示例#5
0
 public static void WriteAllText(Hierarchy hierarchy, string path, string contents)
 {
     throw new NotImplementedException("KSPe.IO.File.WriteAllText");
 }
示例#6
0
 public static string CalculateRelativePath(string fullDestinationPath)
 {
     return(Hierarchy.CalculateRelativePath(fullDestinationPath, Path.GetDirectoryName(Assembly.GetCallingAssembly().Location)));            //FIXME: This only works when KSPe is on the GameData/ !!
 }
示例#7
0
 public static void SetLastWriteTimeUtc(Hierarchy hierarchy, DateTime lastWriteTimeUtc, string fn, params string[] fns)
 {
     throw new NotImplementedException("KSPe.IO.File.SetLastWriteTimeUtc");
 }
示例#8
0
 public static SIO.FileStream OpenWrite(Hierarchy hierarchy, string fn, params string[] fns)
 {
     throw new NotImplementedException("KSPe.IO.File.OpenWrite");
 }
示例#9
0
 public static byte[] ReadAllBytes(Hierarchy hierarchy, string path)
 {
     path = hierarchy.SolveFull(false, path);
     return(SIO.File.ReadAllBytes(path));
 }
示例#10
0
 public static SIO.FileStream OpenRead(Hierarchy hierarchy, string path)
 {
     throw new NotImplementedException("KSPe.IO.File.OpenRead");
 }
示例#11
0
 public static SIO.StreamReader OpenText(Hierarchy hierarchy, string fn, params string[] fns)
 {
     throw new NotImplementedException("KSPe.IO.File.OpenText");
 }
示例#12
0
 public static SIO.FileStream Open(Hierarchy hierarchy, SIO.FileMode mode, SIO.FileAccess access, SIO.FileShare share, string fn, params string[] fns)
 {
     throw new NotImplementedException("KSPe.IO.File.Open");
 }
示例#13
0
 public static SIO.FileStream Open(Hierarchy hierarchy, string path, SIO.FileMode mode, SIO.FileAccess access)
 {
     throw new NotImplementedException("KSPe.IO.File.Open");
 }
示例#14
0
 public static void Replace(Hierarchy hierarchy, string sourceFileName, Hierarchy destHierarchy, string destinationFileName, string destinationBackupFileName, bool ignoreMetadataErrors)
 {
     throw new NotImplementedException("KSPe.IO.File.Replace");
 }
示例#15
0
 public static void SetCreationTime(Hierarchy hierarchy, DateTime creationTime, string fn, params string[] fns)
 {
     throw new NotImplementedException("KSPe.IO.File.SetCreationTime");
 }
示例#16
0
 public static string ReadAllText(Hierarchy hierarchy, string path)
 {
     path = hierarchy.SolveFull(false, path);
     return(SIO.File.ReadAllText(path));
 }
示例#17
0
 public static void SetLastAccessTime(Hierarchy hierarchy, string path, DateTime lastAccessTime)
 {
     throw new NotImplementedException("KSPe.IO.File.SetLastAccessTime");
 }
示例#18
0
        public static string ReadAllText(Hierarchy hierarchy, string fn, params string[] fns)
        {
            string path = hierarchy.SolveFull(false, fn, fns);

            return(SIO.File.ReadAllText(path));
        }
示例#19
0
 public static void SetLastWriteTimeUtc(Hierarchy hierarchy, string path, DateTime lastWriteTimeUtc)
 {
     throw new NotImplementedException("KSPe.IO.File.SetLastWriteTimeUtc");
 }
示例#20
0
 public static string ReadAllText(Hierarchy hierarchy, string path, System.Text.Encoding encoding)
 {
     path = hierarchy.SolveFull(false, path);
     return(SIO.File.ReadAllText(path, encoding));
 }
示例#21
0
 public static void WriteAllBytes(Hierarchy hierarchy, string path, byte[] bytes)
 {
     throw new NotImplementedException("KSPe.IO.File.WriteAllBytes");
 }
示例#22
0
        public static string ReadAllText(Hierarchy hierarchy, System.Text.Encoding encoding, string fn, params string[] fns)
        {
            string path = hierarchy.SolveFull(false, fn, fns);

            return(SIO.File.ReadAllText(path, encoding));
        }
示例#23
0
 public static void WriteAllLines(Hierarchy hierarchy, string path, string[] contents, System.Text.Encoding encoding)
 {
     throw new NotImplementedException("KSPe.IO.File.WriteAllLines");
 }
示例#24
0
 public static void SetAccessControl(Hierarchy hierarchy, System.Security.AccessControl.FileSecurity fileSecurity, string fn, params string[] fns)
 {
     throw new NotImplementedException("KSPe.IO.File.SetAttributes");
 }
示例#25
0
 public static void WriteAllText(Hierarchy hierarchy, string contents, System.Text.Encoding encoding, string fn, params string[] fns)
 {
     throw new NotImplementedException("KSPe.IO.File.WriteAllText");
 }
示例#26
0
 public static void SetAttributes(Hierarchy hierarchy, string path, SIO.FileAttributes fileAttributes)
 {
     throw new NotImplementedException("KSPe.IO.File.SetAttributes");
 }
示例#27
0
 public static string[] List(Hierarchy hierarchy, string mask = "*", bool include_subdirs = false, string fn = null, params string[] fns)
 {
     return(List(hierarchy.SolveFull(false, fn ?? ".", fns), mask, include_subdirs));
 }
示例#28
0
 public static void SetAttributes(Hierarchy hierarchy, SIO.FileAttributes fileAttributes, string fn, params string[] fns)
 {
     throw new NotImplementedException("KSPe.IO.File.SetAttributes");
 }
示例#29
0
 public static void AppendAllText(Hierarchy hierarchy, string path, string contents, System.Text.Encoding encoding)
 {
     throw new NotImplementedException("KSPe.IO.File.AppendAllText");
 }
示例#30
0
 public static void Movel(Hierarchy sourceHierarchy, string sourceFileName, Hierarchy destHierarchy, string destFileName)
 {
     throw new NotImplementedException("KSPe.IO.File.Move");
 }