Empeld
Empeld plugin documentation.
pluginbase.Objects.Syncable.IValidator< in in T > Interface Template Reference

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

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

◆ Validate()

bool pluginbase.Objects.Syncable.IValidator< in 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

◆ ValidateBy

Which endpoint does the validation

The validate endpoint.


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