Table of Contents

Class TextTemplate

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

Stores custom text notifications.

public class TextTemplate : NotificationBinaryFile, IEntity, IComparable, IIdentifiable
Inheritance
TextTemplate
Implements
Derived
Inherited Members

Constructors

TextTemplate()

Initializes a new instance of the TextTemplate class.

public TextTemplate()

TextTemplate(Id?, string?, string?)

Initializes a new instance of the TextTemplate class.

public TextTemplate(Id? id, string? name, string? text)

Parameters

id Id

The Id.

name string

The name of the template.

text string

The text.

TextTemplate(string?, string?)

Initializes a new instance of the TextTemplate class.

public TextTemplate(string? name, string? text = null)

Parameters

name string

The name of the template.

text string

The text.

Properties

Text

Gets or sets the text.

public virtual string? Text { get; set; }

Property Value

string

string

Type

Gets or sets the type of the binary data for notifications.

public override NotificationBinaryFileType? Type { get; set; }

Property Value

NotificationBinaryFileType?

NotificationBinaryFileType

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.