Defines a Cascade Origin, with methods to process requests, manage authentication, and interact with model types in the Cascade framework. More...
Public Member Functions | |
| Task< OpResponse > | ProcessRequest (RequestOp request, bool connectionOnline) |
| Receives a request and returns a response eg. from a server. | |
| Task | EnsureAuthenticated (Type? type=null) |
| Ensures that the session is authenticated, potentially for a specific type. | |
| Type | LookupModelType (string typeName) |
| Retrieves the model type based on the provided type name. | |
| string | NewGuid () |
| Generates a new GUID as a string. | |
| IEnumerable< Type > | ListModelTypes () |
| Lists all the model types registered. | |
Properties | |
| CascadeDataLayer | Cascade [get, set] |
| CascadeDataLayer reference. | |
| long | NowMs [get] |
| Current time in milliseconds since 1970. | |
Defines a Cascade Origin, with methods to process requests, manage authentication, and interact with model types in the Cascade framework.
| Task Buzzware.Cascade.ICascadeOrigin.EnsureAuthenticated | ( | Type? | type = null | ) |
Ensures that the session is authenticated, potentially for a specific type.
| type | The type for which authentication is being ensured. Defaults to null. |
Implemented in Buzzware.Cascade.Testing.MockOrigin.
| IEnumerable< Type > Buzzware.Cascade.ICascadeOrigin.ListModelTypes | ( | ) |
Lists all the model types registered.
Implemented in Buzzware.Cascade.Testing.MockOrigin.
| Type Buzzware.Cascade.ICascadeOrigin.LookupModelType | ( | string | typeName | ) |
Retrieves the model type based on the provided type name.
| typeName | The name of the type to be looked up. |
Implemented in Buzzware.Cascade.Testing.MockOrigin, and Buzzware.Cascade.Testing.MockOrigin2.
| string Buzzware.Cascade.ICascadeOrigin.NewGuid | ( | ) |
Generates a new GUID as a string.
Implemented in Buzzware.Cascade.Testing.MockOrigin.
| Task< OpResponse > Buzzware.Cascade.ICascadeOrigin.ProcessRequest | ( | RequestOp | request, |
| bool | connectionOnline ) |
Receives a request and returns a response eg. from a server.
| request | The request operation to be processed. |
| connectionOnline | Indicates whether the connection is currently online. |
Implemented in Buzzware.Cascade.Testing.MockOrigin, and Buzzware.Cascade.Testing.MockOrigin2.
|
getset |
CascadeDataLayer reference.
Implemented in Buzzware.Cascade.Testing.MockOrigin.
|
get |
Current time in milliseconds since 1970.
Implemented in Buzzware.Cascade.Testing.MockOrigin.