-
Notifications
You must be signed in to change notification settings - Fork 0
RemoteObjects
Äkwav edited this page Sep 26, 2019
·
1 revision
RemoteObjects are Part of Referenceables that but are fully changeable by themselfes. They allow you to easily register commands to a Referenceables CommandController and abstract the updating process.
RemoteString is simply derived from RemoteObject<string> and has no special commands. Therefor only get and set are available. The get command simply returns the Value of the string. The set command is Triggered by RemoteString.Set("") and routed to everybody interested in the object.
To use a RemoteObject you have to tell it the Id of the parent Referenceable containing it, and the nameof() the Property in the parent, so it can generate valid Commands.