-
Notifications
You must be signed in to change notification settings - Fork 7
0. REstateHost & Agent
Ovan Crone edited this page Dec 18, 2017
·
3 revisions
The REstateHost static class is the entry-point for REstate to expose agents. A REstate Host is the application from which the REstate code is being called.
Agents contain almost all functionality for REstate. The default agent is accessed by calling REstateHost.Agent.
- Create Schematics
- Create a State Engine
- Provide access to Configuration
- Change scope between local, remote, or other agents, by the
.AsLocal()or.AsRemote()extension methods.
The .AsRemote() extension is only seen if you have referenced the REstate.Remote package.