Changes between Version 21 and Version 22 of WikiStart

Show
Ignore:
Timestamp:
04/12/15 11:59:06 (10 years ago)
Author:
smagi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v21 v22  
    5656 
    5757You can easily generate a URL from a continuation with its arguments like so: 
    58 {{{ 
    59 var url = Continuation.ToUrl<SomePage, int, string>( 
    60               3.AsParam(), "hello world!".AsParam()); 
    61 }}} 
    62 The first type argument, {{{SomePage}}}, is the continuation type. The subsequent type arguments are the type arguments to IContinuation<...>. Another method of generating a URL that requires fewer type annotations: 
    6358{{{ 
    6459var url = Continuation.Params(3.AsParam(), "hello world!".AsParam());