MtBaseJsonConverterTCheckState Method

Once the reader is done reading, we check the state of the item, whether it is valid.
In most cases this will invoke a method from ModelValidatorsExtensions that returns the boolean result and sets state.

Definition

Namespace: MobileTrack.Common.Services.JsonConverters.BusinessObjects
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
protected abstract bool CheckState(
	T item,
	out ValidationModel state
)

Parameters

item  T
Item that needs to be checked
state  ValidationModel
the state of the object. Ok means it's good to go.

Return Value

Boolean
if item is in a valid state.

See Also