IsBindingValid
method in Coherence.Editor.CoherenceSyncUtils
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 |
Remarks
A binding is valid if:
- The target Component exists.
- The associated Descriptor for the given Component type exists.