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+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
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