Table of Contents

Class UserModifiedInfo

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

A class representing extra data to be stored with a NotificationUserModifiedData and serialized into the Info column of the 'notificationdata' table.

public class UserModifiedInfo : IEquatable<UserModifiedInfo>
Inheritance
UserModifiedInfo
Implements
Derived
Inherited Members

Constructors

UserModifiedInfo(string, string)

Initializes a new instance of the UserModifiedInfo class.

public UserModifiedInfo(string modifiedUser, string modifiedByUserName)

Parameters

modifiedUser string

The Name of the User who was modified.

modifiedByUserName string

The Name of the administrator User who changed modifiedUser.

Exceptions

ArgumentNullException

Thrown if either modifiedUser or modifiedByUserName is null or empty.

Properties

ModifiedByUserName

Gets the username of the User which was responsible for changing the ModifiedUserName.

public string ModifiedByUserName { get; }

Property Value

string

The username of the User which was responsible for changing the ModifiedUserName.

ModifiedUserName

Gets the username of the User which was modified.

public string ModifiedUserName { get; }

Property Value

string

The username of the User which was modified.

Methods

Equals(UserModifiedInfo?)

Checks for equality with another instance of UserModifiedInfo.

public virtual bool Equals(UserModifiedInfo? other)

Parameters

other UserModifiedInfo

Other instance to compare with.

Returns

bool

true if instances are equivalent.

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int