public static class ViewRequestDescriptor Factory used by generated Bridges to attach a ViewRequest member to its route.
Methods
Create
public static BridgeInteractionDescriptor Create<T>(string name, string contract, Func<object, ViewRequest<T>> getRequest, Func<T, string> encodeInput) Creates the descriptor of one view request of a ViewModel.
Parameters
nameThe request's member name on the page.
contractThe request's contract, which a page handler registers.
getRequestReads the request from the model.
encodeInputEncodes the request's input for the page.