Empeld
Empeld plugin documentation.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events
pluginbase.Objects.Syncable.IValidator< in T > Interface Template Reference

Interface for syncable objects that can have a validator attached to them More...

Inheritance diagram for pluginbase.Objects.Syncable.IValidator< in T >:
pluginbase.Objects.Syncable.Validators.ValidateVectorDeltaAttribute

Public Member Functions

bool Validate (T current, T proposed, DecodeContext context)
 Validate a change of a previous to a new proposed value More...
 

Properties

SyncableEndpoint ValidateBy [get]
 Which endpoint does the validation More...
 

Detailed Description

Interface for syncable objects that can have a validator attached to them

Member Function Documentation

bool pluginbase.Objects.Syncable.IValidator< in T >.Validate ( current,
proposed,
DecodeContext  context 
)

Validate a change of a previous to a new proposed value

Parameters
currentIf set to true current.
proposedIf set to true proposed.
contextIf set to true context.

Property Documentation

SyncableEndpoint pluginbase.Objects.Syncable.IValidator< in T >.ValidateBy
get

Which endpoint does the validation

The validate endpoint.


The documentation for this interface was generated from the following file: