-
Notifications
You must be signed in to change notification settings - Fork 255
/
ActorProxyEventExtensions.xml
138 lines (138 loc) · 9.5 KB
/
ActorProxyEventExtensions.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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<Type Name="ActorProxyEventExtensions" FullName="Microsoft.ServiceFabric.Actors.Client.ActorProxyEventExtensions">
<TypeSignature Language="C#" Value="public static class ActorProxyEventExtensions" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit ActorProxyEventExtensions extends System.Object" />
<TypeSignature Language="DocId" Value="T:Microsoft.ServiceFabric.Actors.Client.ActorProxyEventExtensions" />
<TypeSignature Language="VB.NET" Value="Public Module ActorProxyEventExtensions" />
<TypeSignature Language="F#" Value="type ActorProxyEventExtensions = class" />
<AssemblyInfo>
<AssemblyName>Microsoft.ServiceFabric.Actors</AssemblyName>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>
Contains extension methods related to actor events.
</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName="SubscribeAsync<TEvent>">
<MemberSignature Language="C#" Value="public static System.Threading.Tasks.Task SubscribeAsync<TEvent> (this Microsoft.ServiceFabric.Actors.IActorEventPublisher actorProxy, TEvent subscriber) where TEvent : Microsoft.ServiceFabric.Actors.IActorEvents;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Threading.Tasks.Task SubscribeAsync<(class Microsoft.ServiceFabric.Actors.IActorEvents) TEvent>(class Microsoft.ServiceFabric.Actors.IActorEventPublisher actorProxy, !!TEvent subscriber) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.ServiceFabric.Actors.Client.ActorProxyEventExtensions.SubscribeAsync``1(Microsoft.ServiceFabric.Actors.IActorEventPublisher,``0)" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function SubscribeAsync(Of TEvent As IActorEvents) (actorProxy As IActorEventPublisher, subscriber As TEvent) As Task" />
<MemberSignature Language="F#" Value="static member SubscribeAsync : Microsoft.ServiceFabric.Actors.IActorEventPublisher * 'Event -> System.Threading.Tasks.Task (requires 'Event :> Microsoft.ServiceFabric.Actors.IActorEvents)" Usage="Microsoft.ServiceFabric.Actors.Client.ActorProxyEventExtensions.SubscribeAsync (actorProxy, subscriber)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.ServiceFabric.Actors</AssemblyName>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="TEvent">
<Constraints>
<InterfaceName>Microsoft.ServiceFabric.Actors.IActorEvents</InterfaceName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Parameters>
<Parameter Name="actorProxy" Type="Microsoft.ServiceFabric.Actors.IActorEventPublisher" RefType="this" />
<Parameter Name="subscriber" Type="TEvent" />
</Parameters>
<Docs>
<typeparam name="TEvent">The type of the event interface.</typeparam>
<param name="actorProxy">The actor that publishes the event.</param>
<param name="subscriber">The subscriber that receives the events.</param>
<summary>
Subscribe to a published actor event.
</summary>
<returns>A task that represents the asynchronous operation of subscribing to a published actor event.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentException">
<para>When actorProxy is not of type <see cref="T:Microsoft.ServiceFabric.Actors.Client.ActorProxy" /></para>.
</exception>
</Docs>
</Member>
<Member MemberName="SubscribeAsync<TEvent>">
<MemberSignature Language="C#" Value="public static System.Threading.Tasks.Task SubscribeAsync<TEvent> (this Microsoft.ServiceFabric.Actors.IActorEventPublisher actorProxy, TEvent subscriber, TimeSpan resubscriptionInterval) where TEvent : Microsoft.ServiceFabric.Actors.IActorEvents;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Threading.Tasks.Task SubscribeAsync<(class Microsoft.ServiceFabric.Actors.IActorEvents) TEvent>(class Microsoft.ServiceFabric.Actors.IActorEventPublisher actorProxy, !!TEvent subscriber, valuetype System.TimeSpan resubscriptionInterval) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.ServiceFabric.Actors.Client.ActorProxyEventExtensions.SubscribeAsync``1(Microsoft.ServiceFabric.Actors.IActorEventPublisher,``0,System.TimeSpan)" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function SubscribeAsync(Of TEvent As IActorEvents) (actorProxy As IActorEventPublisher, subscriber As TEvent, resubscriptionInterval As TimeSpan) As Task" />
<MemberSignature Language="F#" Value="static member SubscribeAsync : Microsoft.ServiceFabric.Actors.IActorEventPublisher * 'Event * TimeSpan -> System.Threading.Tasks.Task (requires 'Event :> Microsoft.ServiceFabric.Actors.IActorEvents)" Usage="Microsoft.ServiceFabric.Actors.Client.ActorProxyEventExtensions.SubscribeAsync (actorProxy, subscriber, resubscriptionInterval)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.ServiceFabric.Actors</AssemblyName>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="TEvent">
<Constraints>
<InterfaceName>Microsoft.ServiceFabric.Actors.IActorEvents</InterfaceName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Parameters>
<Parameter Name="actorProxy" Type="Microsoft.ServiceFabric.Actors.IActorEventPublisher" RefType="this" />
<Parameter Name="subscriber" Type="TEvent" />
<Parameter Name="resubscriptionInterval" Type="System.TimeSpan" />
</Parameters>
<Docs>
<typeparam name="TEvent">The type of the event interface.</typeparam>
<param name="actorProxy">The actor that publishes the event.</param>
<param name="subscriber">The subscriber that receives the events.</param>
<param name="resubscriptionInterval">The time between re-subscription attempts.</param>
<summary>
Subscribe to a published actor event.
</summary>
<returns>A task that represents the asynchronous operation of subscribing to a published actor event.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentException">
<para>When actorProxy is not of type <see cref="T:Microsoft.ServiceFabric.Actors.Client.ActorProxy" /></para>.
</exception>
</Docs>
</Member>
<Member MemberName="UnsubscribeAsync<TEvent>">
<MemberSignature Language="C#" Value="public static System.Threading.Tasks.Task UnsubscribeAsync<TEvent> (this Microsoft.ServiceFabric.Actors.IActorEventPublisher actorProxy, TEvent subscriber);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Threading.Tasks.Task UnsubscribeAsync<TEvent>(class Microsoft.ServiceFabric.Actors.IActorEventPublisher actorProxy, !!TEvent subscriber) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.ServiceFabric.Actors.Client.ActorProxyEventExtensions.UnsubscribeAsync``1(Microsoft.ServiceFabric.Actors.IActorEventPublisher,``0)" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function UnsubscribeAsync(Of TEvent) (actorProxy As IActorEventPublisher, subscriber As TEvent) As Task" />
<MemberSignature Language="F#" Value="static member UnsubscribeAsync : Microsoft.ServiceFabric.Actors.IActorEventPublisher * 'Event -> System.Threading.Tasks.Task" Usage="Microsoft.ServiceFabric.Actors.Client.ActorProxyEventExtensions.UnsubscribeAsync (actorProxy, subscriber)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.ServiceFabric.Actors</AssemblyName>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="TEvent" />
</TypeParameters>
<Parameters>
<Parameter Name="actorProxy" Type="Microsoft.ServiceFabric.Actors.IActorEventPublisher" RefType="this" />
<Parameter Name="subscriber" Type="TEvent" />
</Parameters>
<Docs>
<typeparam name="TEvent">The type of the event interface.</typeparam>
<param name="actorProxy">The actor that publishes the event.</param>
<param name="subscriber">The subscriber that receives the event.</param>
<summary>
Unsubscribe from a published actor event.
</summary>
<returns>A task that represents the asynchronous operation of un-subscribing from a published actor event.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentException">
<para>When actorProxy is not of type <see cref="T:Microsoft.ServiceFabric.Actors.Client.ActorProxy" /></para>.
<para>When TEvent doesn't implement <see cref="T:Microsoft.ServiceFabric.Actors.IActorEvents" /></para></exception>
</Docs>
</Member>
</Members>
</Type>