Design Pattern Examples
Overview of object-oriented design patterns
FileEntry Class Reference

Represents a File entry. More...

Inheritance diagram for FileEntry:
Inheritance graph
Collaboration diagram for FileEntry:
Collaboration graph

Public Member Functions

 FileEntry (string name, long size, DateTime modDate)
 
- Public Member Functions inherited from FileDirEntry
 FileDirEntry ()
 Default constructor.
 

Additional Inherited Members

- Properties inherited from FileDirEntry
virtual FileDirTypes FileDirType [get, protected set]
 The type of this entry as represented by a value from the FileDirTypes enumeration.
 
virtual string Name [get, protected set]
 The name of this entry.
 
virtual long Length [get, protected set]
 The length in bytes of this entry. Directory entries are the sum of the length of all children.
 
virtual DateTime WhenModified [get, protected set]
 When this entry was last modified.
 
virtual ? FileDirEntry[] Children [get]
 The children of this entry. Is null if the entry can never have any children (that is, it isn't a container of other entries).
 

Detailed Description

Represents a File entry.

A File entry cannot have any children but does have an explicit size.

Definition at line 111 of file Composite_FileDirEntry.cs.

Constructor & Destructor Documentation

◆ FileEntry()

FileEntry ( string  name,
long  size,
DateTime  modDate 
)
inline

The documentation for this class was generated from the following file: