1
+ using System . Reflection ;
2
+ using System . Threading . Tasks ;
3
+ using WampSharp . V2 . CalleeProxy ;
4
+ using WampSharp . V2 . Client ;
5
+
6
+ namespace WampSharp . V2 . MetaApi
7
+ {
8
+ //------------------------------------------------------------------------------
9
+ // <auto-generated>
10
+ // This code was generated by a tool.
11
+ //
12
+ // Changes to this file may cause incorrect behavior and will be lost if
13
+ // the code is regenerated.
14
+ // </auto-generated>
15
+ //------------------------------------------------------------------------------
16
+ internal class WampRegistrationDescriptorProxyProxy : CalleeProxyBase , global ::WampSharp . V2 . MetaApi . IWampRegistrationDescriptorProxy
17
+ {
18
+ private static readonly MethodInfo mMethod0 = GetMethodInfo ( ( global ::WampSharp . V2 . MetaApi . IWampRegistrationDescriptorProxy instance ) => instance . GetAllRegistrationsAsync ( ) ) ;
19
+ private static readonly MethodInfo mMethod1 = GetMethodInfo ( ( global ::WampSharp . V2 . MetaApi . IWampRegistrationDescriptorProxy instance ) => instance . LookupRegistrationIdAsync ( default ( string ) , default ( global ::WampSharp . V2 . Core . Contracts . RegisterOptions ) ) ) ;
20
+ private static readonly MethodInfo mMethod2 = GetMethodInfo ( ( global ::WampSharp . V2 . MetaApi . IWampRegistrationDescriptorProxy instance ) => instance . GetBestMatchingRegistrationIdAsync ( default ( string ) ) ) ;
21
+ private static readonly MethodInfo mMethod3 = GetMethodInfo ( ( global ::WampSharp . V2 . MetaApi . IWampRegistrationDescriptorProxy instance ) => instance . GetRegistrationDetailsAsync ( default ( long ) ) ) ;
22
+ private static readonly MethodInfo mMethod4 = GetMethodInfo ( ( global ::WampSharp . V2 . MetaApi . IWampRegistrationDescriptorProxy instance ) => instance . GetCalleesIdsAsync ( default ( long ) ) ) ;
23
+ private static readonly MethodInfo mMethod5 = GetMethodInfo ( ( global ::WampSharp . V2 . MetaApi . IWampRegistrationDescriptorProxy instance ) => instance . CountCalleesAsync ( default ( long ) ) ) ;
24
+ private static readonly MethodInfo mMethod6 = GetMethodInfo ( ( global ::WampSharp . V2 . MetaApi . IWampRegistrationDescriptorProxy instance ) => instance . GetAllRegistrations ( ) ) ;
25
+ private static readonly MethodInfo mMethod7 = GetMethodInfo ( ( global ::WampSharp . V2 . MetaApi . IWampRegistrationDescriptorProxy instance ) => instance . LookupRegistrationId ( default ( string ) , default ( global ::WampSharp . V2 . Core . Contracts . RegisterOptions ) ) ) ;
26
+ private static readonly MethodInfo mMethod8 = GetMethodInfo ( ( global ::WampSharp . V2 . MetaApi . IWampRegistrationDescriptorProxy instance ) => instance . GetBestMatchingRegistrationId ( default ( string ) ) ) ;
27
+ private static readonly MethodInfo mMethod9 = GetMethodInfo ( ( global ::WampSharp . V2 . MetaApi . IWampRegistrationDescriptorProxy instance ) => instance . GetRegistrationDetails ( default ( long ) ) ) ;
28
+ private static readonly MethodInfo mMethod10 = GetMethodInfo ( ( global ::WampSharp . V2 . MetaApi . IWampRegistrationDescriptorProxy instance ) => instance . GetCalleesIds ( default ( long ) ) ) ;
29
+ private static readonly MethodInfo mMethod11 = GetMethodInfo ( ( global ::WampSharp . V2 . MetaApi . IWampRegistrationDescriptorProxy instance ) => instance . CountCallees ( default ( long ) ) ) ;
30
+
31
+ public WampRegistrationDescriptorProxyProxy
32
+ ( IWampRealmProxy realmProxy ,
33
+ ICalleeProxyInterceptor interceptor )
34
+ : base ( realmProxy , interceptor )
35
+ {
36
+ }
37
+
38
+ public Task < global ::WampSharp . V2 . MetaApi . AvailableGroups > GetAllRegistrationsAsync ( )
39
+ {
40
+ return SingleInvokeAsync < global ::WampSharp . V2 . MetaApi . AvailableGroups > ( mMethod0 ) ;
41
+ }
42
+
43
+ public Task < global ::System . Nullable < long > > LookupRegistrationIdAsync ( string procedureUri , global ::WampSharp . V2 . Core . Contracts . RegisterOptions options )
44
+ {
45
+ return SingleInvokeAsync < global ::System . Nullable < long > > ( mMethod1 , procedureUri , options ) ;
46
+ }
47
+
48
+ public Task < global ::System . Nullable < long > > GetBestMatchingRegistrationIdAsync ( string procedureUri )
49
+ {
50
+ return SingleInvokeAsync < global ::System . Nullable < long > > ( mMethod2 , procedureUri ) ;
51
+ }
52
+
53
+ public Task < global ::WampSharp . V2 . MetaApi . RegistrationDetails > GetRegistrationDetailsAsync ( long registrationId )
54
+ {
55
+ return SingleInvokeAsync < global ::WampSharp . V2 . MetaApi . RegistrationDetails > ( mMethod3 , registrationId ) ;
56
+ }
57
+
58
+ public Task < long [ ] > GetCalleesIdsAsync ( long registrationId )
59
+ {
60
+ return SingleInvokeAsync < long [ ] > ( mMethod4 , registrationId ) ;
61
+ }
62
+
63
+ public Task < long > CountCalleesAsync ( long registrationId )
64
+ {
65
+ return SingleInvokeAsync < long > ( mMethod5 , registrationId ) ;
66
+ }
67
+
68
+ public global ::WampSharp . V2 . MetaApi . AvailableGroups GetAllRegistrations ( )
69
+ {
70
+ return SingleInvokeSync < global ::WampSharp . V2 . MetaApi . AvailableGroups > ( mMethod6 ) ;
71
+ }
72
+
73
+ public global ::System . Nullable < long > LookupRegistrationId ( string procedureUri , global ::WampSharp . V2 . Core . Contracts . RegisterOptions options )
74
+ {
75
+ return SingleInvokeSync < global ::System . Nullable < long > > ( mMethod7 , procedureUri , options ) ;
76
+ }
77
+
78
+ public global ::System . Nullable < long > GetBestMatchingRegistrationId ( string procedureUri )
79
+ {
80
+ return SingleInvokeSync < global ::System . Nullable < long > > ( mMethod8 , procedureUri ) ;
81
+ }
82
+
83
+ public global ::WampSharp . V2 . MetaApi . RegistrationDetails GetRegistrationDetails ( long registrationId )
84
+ {
85
+ return SingleInvokeSync < global ::WampSharp . V2 . MetaApi . RegistrationDetails > ( mMethod9 , registrationId ) ;
86
+ }
87
+
88
+ public long [ ] GetCalleesIds ( long registrationId )
89
+ {
90
+ return SingleInvokeSync < long [ ] > ( mMethod10 , registrationId ) ;
91
+ }
92
+
93
+ public long CountCallees ( long registrationId )
94
+ {
95
+ return SingleInvokeSync < long > ( mMethod11 , registrationId ) ;
96
+ }
97
+ }
98
+ }
0 commit comments