-
Notifications
You must be signed in to change notification settings - Fork 260
/
ServiceRemotingExtensions.xml
103 lines (103 loc) · 8.96 KB
/
ServiceRemotingExtensions.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<Type Name="ServiceRemotingExtensions" FullName="Microsoft.ServiceFabric.Services.Remoting.Runtime.ServiceRemotingExtensions">
<TypeSignature Language="C#" Value="public static class ServiceRemotingExtensions" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit ServiceRemotingExtensions extends System.Object" />
<TypeSignature Language="DocId" Value="T:Microsoft.ServiceFabric.Services.Remoting.Runtime.ServiceRemotingExtensions" />
<TypeSignature Language="VB.NET" Value="Public Module ServiceRemotingExtensions" />
<TypeSignature Language="F#" Value="type ServiceRemotingExtensions = class" />
<AssemblyInfo>
<AssemblyName>Microsoft.ServiceFabric.Services.Remoting</AssemblyName>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>
This class adds extensions methods to create <see cref="T:Microsoft.ServiceFabric.Services.Remoting.Runtime.IServiceRemotingListener" />
for remoting methods of the service interfaces that are derived from
<see cref="T:Microsoft.ServiceFabric.Services.Remoting.IService" /> interface.
</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName="CreateServiceRemotingInstanceListeners<TStatelessService>">
<MemberSignature Language="C#" Value="public static System.Collections.Generic.IEnumerable<Microsoft.ServiceFabric.Services.Communication.Runtime.ServiceInstanceListener> CreateServiceRemotingInstanceListeners<TStatelessService> (this TStatelessService serviceImplementation) where TStatelessService : Microsoft.ServiceFabric.Services.Runtime.StatelessService, Microsoft.ServiceFabric.Services.Remoting.IService;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.Generic.IEnumerable`1<class Microsoft.ServiceFabric.Services.Communication.Runtime.ServiceInstanceListener> CreateServiceRemotingInstanceListeners<(class Microsoft.ServiceFabric.Services.Runtime.StatelessService, class Microsoft.ServiceFabric.Services.Remoting.IService) TStatelessService>(!!TStatelessService serviceImplementation) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.ServiceFabric.Services.Remoting.Runtime.ServiceRemotingExtensions.CreateServiceRemotingInstanceListeners``1(``0)" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function CreateServiceRemotingInstanceListeners(Of TStatelessService As {StatelessService, IService}) (serviceImplementation As TStatelessService) As IEnumerable(Of ServiceInstanceListener)" />
<MemberSignature Language="F#" Value="static member CreateServiceRemotingInstanceListeners : 'StatelessService -> seq<Microsoft.ServiceFabric.Services.Communication.Runtime.ServiceInstanceListener> (requires 'StatelessService :> Microsoft.ServiceFabric.Services.Runtime.StatelessService and 'StatelessService :> Microsoft.ServiceFabric.Services.Remoting.IService)" Usage="Microsoft.ServiceFabric.Services.Remoting.Runtime.ServiceRemotingExtensions.CreateServiceRemotingInstanceListeners serviceImplementation" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.ServiceFabric.Services.Remoting</AssemblyName>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IEnumerable<Microsoft.ServiceFabric.Services.Communication.Runtime.ServiceInstanceListener></ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="TStatelessService">
<Constraints>
<BaseTypeName>Microsoft.ServiceFabric.Services.Runtime.StatelessService</BaseTypeName>
<InterfaceName>Microsoft.ServiceFabric.Services.Remoting.IService</InterfaceName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Parameters>
<Parameter Name="serviceImplementation" Type="TStatelessService" RefType="this" />
</Parameters>
<Docs>
<typeparam name="TStatelessService">Type constraint on the service implementation. The service implementation must
derive from <see cref="T:System.Fabric.Query.StatelessService" /> and implement one or more
interfaces that derive from <see cref="T:Microsoft.ServiceFabric.Services.Remoting.IService" /> interface.</typeparam>
<param name="serviceImplementation">A stateless service implementation.</param>
<summary>
An extension method that creates an <see cref="T:Microsoft.ServiceFabric.Services.Remoting.Runtime.IServiceRemotingListener" />
for a stateless service implementation.
</summary>
<returns>A <see cref="T:Microsoft.ServiceFabric.Services.Remoting.Runtime.IServiceRemotingListener" /> communication
listener that remotes the interfaces deriving from <see cref="T:Microsoft.ServiceFabric.Services.Remoting.IService" /> interface.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CreateServiceRemotingReplicaListeners<TStatefulService>">
<MemberSignature Language="C#" Value="public static System.Collections.Generic.IEnumerable<Microsoft.ServiceFabric.Services.Communication.Runtime.ServiceReplicaListener> CreateServiceRemotingReplicaListeners<TStatefulService> (this TStatefulService serviceImplementation) where TStatefulService : Microsoft.ServiceFabric.Services.Runtime.StatefulServiceBase, Microsoft.ServiceFabric.Services.Remoting.IService;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.Generic.IEnumerable`1<class Microsoft.ServiceFabric.Services.Communication.Runtime.ServiceReplicaListener> CreateServiceRemotingReplicaListeners<(class Microsoft.ServiceFabric.Services.Runtime.StatefulServiceBase, class Microsoft.ServiceFabric.Services.Remoting.IService) TStatefulService>(!!TStatefulService serviceImplementation) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.ServiceFabric.Services.Remoting.Runtime.ServiceRemotingExtensions.CreateServiceRemotingReplicaListeners``1(``0)" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function CreateServiceRemotingReplicaListeners(Of TStatefulService As {StatefulServiceBase, IService}) (serviceImplementation As TStatefulService) As IEnumerable(Of ServiceReplicaListener)" />
<MemberSignature Language="F#" Value="static member CreateServiceRemotingReplicaListeners : 'StatefulService -> seq<Microsoft.ServiceFabric.Services.Communication.Runtime.ServiceReplicaListener> (requires 'StatefulService :> Microsoft.ServiceFabric.Services.Runtime.StatefulServiceBase and 'StatefulService :> Microsoft.ServiceFabric.Services.Remoting.IService)" Usage="Microsoft.ServiceFabric.Services.Remoting.Runtime.ServiceRemotingExtensions.CreateServiceRemotingReplicaListeners serviceImplementation" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.ServiceFabric.Services.Remoting</AssemblyName>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IEnumerable<Microsoft.ServiceFabric.Services.Communication.Runtime.ServiceReplicaListener></ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="TStatefulService">
<Constraints>
<BaseTypeName>Microsoft.ServiceFabric.Services.Runtime.StatefulServiceBase</BaseTypeName>
<InterfaceName>Microsoft.ServiceFabric.Services.Remoting.IService</InterfaceName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Parameters>
<Parameter Name="serviceImplementation" Type="TStatefulService" RefType="this" />
</Parameters>
<Docs>
<typeparam name="TStatefulService">Type constraint on the service implementation. The service implementation must
derive from <see cref="T:Microsoft.ServiceFabric.Services.Runtime.StatefulServiceBase" /> and implement one or more
interfaces that derive from <see cref="T:Microsoft.ServiceFabric.Services.Remoting.IService" /> interface.</typeparam>
<param name="serviceImplementation">A stateful service implementation.</param>
<summary>
An extension method that creates an <see cref="T:Microsoft.ServiceFabric.Services.Remoting.Runtime.IServiceRemotingListener" />
for a stateful service implementation.
</summary>
<returns>A <see cref="T:Microsoft.ServiceFabric.Services.Remoting.Runtime.IServiceRemotingListener" /> communication
listener that remotes the interfaces deriving from <see cref="T:Microsoft.ServiceFabric.Services.Remoting.IService" /> interface.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>