WebPart Module
Types
| Type | Description |
Functions and values
| Function or value | Description |
|
|
|
|
Full Usage:
cnst x arg2
Parameters:
't
arg1 : 'u
Returns: 't
Modifiers: inline Type parameters: 't, 'u |
|
|
|
Full Usage:
concatenate first second arg3
Parameters:
'a -> 'b option
second : 'a -> 'b option
arg2 : 'a
Returns: 'b option
Modifiers: inline Type parameters: 'a, 'b |
|
Full Usage:
cond item f g arg4
Parameters:
Choice<'T, 'a>
f : 'T -> 'U -> 'V
g : 'U -> 'V
arg3 : 'U
Returns: 'V
|
|
|
|
|
Inject a webPart
+------------+ +--------------+
| url "/a" +----------+ +---------+ cont1 |
+------------+ | | +--------------+
| |
+-------------+ | +----------+ | +--------------+
| url "/b" +---------+-------+ injected +----+---------+ cont2 |
+-------------+ | +----------+ | +--------------+
| |
+-------------+ | | +--------------+
| url "/b" +---------+ +---------+ cont3 |
+-------------+ +--------------+
|
|
|
|
|
|
|
Full Usage:
warbler f arg2
Parameters:
't -> 't -> 'u
arg1 : 't
Returns: 'u
Modifiers: inline Type parameters: 't, 'u |
Which bird? A Warbler!
Pipe the request through to a bird that can peck at it.
Put another way, using 'warbler' lets you look at the first parameter and
then make a decision about what thing to return (it's most likely a
WebPart you'll be returning). (Remember, WebPart is
HttpContext -> Async
|