public FailoverFileStream(string[] fullnames, System.IO.FileMode fmode, System.IO.FileAccess faccess, System.IO.FileShare fshare, int fbuffersize, DiskCheck diskcheck) { if (null == fullnames || string.IsNullOrEmpty(fullnames[0])) { throw new FailoverFileStreamIOException("Invalid input fullnames paths"); } this.fullnames = fullnames; fcount = fullnames.Length; this.fmode = fmode; this.faccess = faccess; this.fshare = fshare; this.fbuffersize = fbuffersize; this.diskcheck = diskcheck; _firstopen(); }
public FailoverFileStream(string starfullnames, System.IO.FileMode fmode, System.IO.FileAccess faccess, System.IO.FileShare fshare, int fbuffersize, DiskCheck diskcheck) : this(starfullnames.Split('*'), fmode, faccess, fshare, fbuffersize, diskcheck) { }