public void deleteElement(int index) { if (index >= 0 && index <= BinFiles.Count && BinFiles != null && BinFiles.Count != 0) { BinFiles.RemoveAt(index); } }
public void addNewElement(string filepath) { FileInfo fileInf = new FileInfo(filepath); if (fileInf.Exists) { BinFiles.Add(new BinaryNode(fileInf.FullName, fileInf.Length.ToString(), fileInf.CreationTime.ToString())); } }
public void Dispose() { XdbFiles.Clear(); BinFiles.Clear(); }