Class SyncAttribute
Automatically add this member variable or property to the list of synced bindings in CoherenceSync.
Variables and properties without this attribute can still be synced by selecting them manually in the bindings configuration window.
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)]
public sealed class SyncAttribute : Attribute
- Inheritance
-
SyncAttribute
Constructors
SyncAttribute()
public SyncAttribute()
SyncAttribute(string)
public SyncAttribute(string oldName = null)
Parameters
oldName
string
Properties
OldName
Used for migration purposes. Bindings whose name match OldName will be updated to the new target member.
public string OldName { get; }