NTP Analyzer  0.8.2
Analyze the operation of time servers
Ntp.Analyzer.Objects.NamedObject Class Reference
Inheritance diagram for Ntp.Analyzer.Objects.NamedObject:
Collaboration diagram for Ntp.Analyzer.Objects.NamedObject:

Public Attributes

virtual string DisplayName => Name
 

Protected Member Functions

 NamedObject (string name)
 
 NamedObject (int id, string name)
 
- Protected Member Functions inherited from Ntp.Analyzer.Objects.PersistentObject
 PersistentObject (int id)
 Initializes a new instance of the PersistentObject class. More...
 
 PersistentObject ()
 Initializes a new instance of the PersistentObject class. More...
 

Properties

string Name [get, set]
 
- Properties inherited from Ntp.Analyzer.Objects.PersistentObject
int Id [get, private set]
 Gets the identifier. More...
 
bool NewObject [get, protected set]
 Gets a value indicating whether this PersistentObject is a new object which does not yet exists in the peristing storage (database etc). More...
 

Additional Inherited Members

- Public Member Functions inherited from Ntp.Analyzer.Objects.PersistentObject
override bool Equals (object obj)
 
override int GetHashCode ()
 
void SetId (int id)
 Sets the identifier after the object have been stored in persistent storage. More...
 
override string ToString ()
 Returns a string that represents the current PersistentObject. More...
 

Detailed Description

Definition at line 24 of file NamedObject.cs.

Constructor & Destructor Documentation

Ntp.Analyzer.Objects.NamedObject.NamedObject ( string  name)
inlineprotected

Definition at line 26 of file NamedObject.cs.

27  {
28  Name = name;
29  }
Ntp.Analyzer.Objects.NamedObject.NamedObject ( int  id,
string  name 
)
inlineprotected

Definition at line 31 of file NamedObject.cs.

32  : base(id)
33  {
34  Name = name;
35  }

Member Data Documentation

virtual string Ntp.Analyzer.Objects.NamedObject.DisplayName => Name

Property Documentation


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