Table of Contents

IsBindingValid

Methods
public static bool IsBindingValid(CoherenceSync sync, Binding binding, out string invalidReason)

Check if an existing synced member is still valid.

Parameters
Type Name Description
CoherenceSync sync
Binding binding

The Binding instance that represents a synced member.

string invalidReason

If the binding is invalid, this string holds the reason why.

Returns
Type Description
bool

true if the binding is valid; false otherwise.

Remarks

A binding is valid if:

  1. The target Component exists.
  2. The associated Descriptor for the given Component type exists.