-
Notifications
You must be signed in to change notification settings - Fork 112
/
ISpaPrerenderer.xml
74 lines (74 loc) · 4.9 KB
/
ISpaPrerenderer.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<Type Name="ISpaPrerenderer" FullName="Microsoft.AspNetCore.SpaServices.Prerendering.ISpaPrerenderer">
<TypeSignature Language="C++ CLI" Value="public interface class ISpaPrerenderer" />
<TypeSignature Language="C#" Value="public interface ISpaPrerenderer" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract ISpaPrerenderer" />
<TypeSignature Language="DocId" Value="T:Microsoft.AspNetCore.SpaServices.Prerendering.ISpaPrerenderer" />
<TypeSignature Language="VB.NET" Value="Public Interface ISpaPrerenderer" />
<TypeSignature Language="F#" Value="type ISpaPrerenderer = interface" />
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.SpaServices</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
<AssemblyVersion>2.2.0.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.0.3.0</AssemblyVersion>
<AssemblyVersion>3.1.12.0</AssemblyVersion>
<AssemblyVersion>3.1.18.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces />
<Attributes>
<Attribute FrameworkAlternate="aspnetcore-3.0;aspnetcore-3.1">
<AttributeName Language="C#">[System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>
Represents a service that can perform server-side prerendering for
JavaScript-based Single Page Applications. This is an alternative
to using the 'asp-prerender-module' tag helper.
</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName="RenderToString">
<MemberSignature Language="C#" Value="public System.Threading.Tasks.Task<Microsoft.AspNetCore.SpaServices.Prerendering.RenderToStringResult> RenderToString (string moduleName, string exportName = default, object customDataParameter = default, int timeoutMilliseconds = 0);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class Microsoft.AspNetCore.SpaServices.Prerendering.RenderToStringResult> RenderToString(string moduleName, string exportName, object customDataParameter, int32 timeoutMilliseconds) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.AspNetCore.SpaServices.Prerendering.ISpaPrerenderer.RenderToString(System.String,System.String,System.Object,System.Int32)" />
<MemberSignature Language="VB.NET" Value="Public Function RenderToString (moduleName As String, Optional exportName As String = Nothing, Optional customDataParameter As Object = Nothing, Optional timeoutMilliseconds As Integer = 0) As Task(Of RenderToStringResult)" />
<MemberSignature Language="F#" Value="abstract member RenderToString : string * string * obj * int -> System.Threading.Tasks.Task<Microsoft.AspNetCore.SpaServices.Prerendering.RenderToStringResult>" Usage="iSpaPrerenderer.RenderToString (moduleName, exportName, customDataParameter, timeoutMilliseconds)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.SpaServices</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
<AssemblyVersion>2.2.0.0</AssemblyVersion>
<AssemblyVersion>3.0.3.0</AssemblyVersion>
<AssemblyVersion>3.1.18.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Microsoft.AspNetCore.SpaServices.Prerendering.RenderToStringResult></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="moduleName" Type="System.String" />
<Parameter Name="exportName" Type="System.String" />
<Parameter Name="customDataParameter" Type="System.Object" />
<Parameter Name="timeoutMilliseconds" Type="System.Int32" />
</Parameters>
<Docs>
<param name="moduleName">The JavaScript module that exports a prerendering function.</param>
<param name="exportName">The name of the export from the JavaScript module, if it is not the default export.</param>
<param name="customDataParameter">An optional JSON-serializable object to pass to the JavaScript prerendering function.</param>
<param name="timeoutMilliseconds">If specified, the prerendering task will time out after this duration if not already completed.</param>
<summary>
Invokes JavaScript code to perform server-side prerendering for a
Single-Page Application. This is an alternative to using the
'asp-prerender-module' tag helper.
</summary>
<returns />
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>