Table of Contents

Class ExceptionEventComment

Namespace
Geotab.Checkmate.ObjectModel.Exceptions
Assembly
Geotab.Checkmate.ObjectModel.dll

A class representing a user comment on an ExceptionEvent instance.

public class ExceptionEventComment : Entity, IEntity, IComparable, IIdentifiable, IDateTimeProvider
Inheritance
ExceptionEventComment
Implements
Inherited Members

Constructors

ExceptionEventComment()

Initializes a new instance of the ExceptionEventComment class.

public ExceptionEventComment()

ExceptionEventComment(Id?)

Initializes a new instance of the ExceptionEventComment class.

public ExceptionEventComment(Id? id)

Parameters

id Id

The optional ID of the ExceptionEventComment.

Properties

DateTime

Gets or sets the time when the comment was created.

public DateTime? DateTime { get; set; }

Property Value

DateTime?

The creation date of the comment.

ExceptionEvent

Gets or sets the ExceptionEvent that this comment is in relation to.

public ExceptionEvent? ExceptionEvent { get; set; }

Property Value

ExceptionEvent

The ExceptionEvent that this comment is in relation to.

Text

Gets or sets the text body of the comment.

public string? Text { get; set; }

Property Value

string

The text body of the comment.

User

Gets or sets the User who created the comment.

public User? User { get; set; }

Property Value

User

The User.

Methods

Clone()

Creates a new object that is a copy of the current instance.

public override IEntity Clone()

Returns

IEntity

A new object that is a copy of this instance.

ToString()

Returns a string that represents this instance.

public override string ToString()

Returns

string

A string that represents this instance.