Method Validate
- Namespace
- Skyline.DataMiner.Net.Ticketing.Validators
- Assembly
- SLNetTypes.dll
Validate(Ticket, object)
Verifies whether the specified object is known by the corresponding generic enum.
public bool Validate(Ticket ticket, object obj)
Parameters
Returns
- bool
true
ifobj
is of type GenericEnumEntry<T> and this entry is defined in the generic enum; otherwise,false
.true
ifobj
is of typeT
and this value is defined in the generic enum; otherwise,false
.