Exemplo n.º 1
0
        internal MemoryStreamFile(MemoryFolder parent, string name)
            : base(parent, name)
        {
            _content = new MemoryStream();

            Attributes = FileAttributes.Normal
                         & FileAttributes.NotContentIndexed;
        }
Exemplo n.º 2
0
        protected MemoryItem(MemoryFolder parent, string name)
        {
            Parent = parent;
            Name   = name;

            CreationTime   = DateTime.Now;
            LastAccessTime = DateTime.Now;
            LastWriteTime  = DateTime.Now;
        }
Exemplo n.º 3
0
 internal MemoryFolder(MemoryFolder parent, string name)
     : base(parent, name)
     => Attributes = FileAttributes.Directory;
Exemplo n.º 4
0
 public MemDrive(MemoryFolder root)
 => _root = root;