Table of Contents

Method Validate

Namespace
Skyline.DataMiner.Net.Ticketing.Validators
Assembly
SLNetTypes.dll

Validate(Ticket, object)

Verifies whether the specified object is of the expected type.

public virtual bool Validate(Ticket ticket, object obj)

Parameters

ticket Ticket

The ticket.

obj object

The item to validate.

Returns

bool

If obj is not null, true is returned if the type of obj equals the type of T; otherwise, false. If obj is null, true is returned if the type of T is either a reference type or a nullable type; otherwise, false.