Exemple #1
0
 static public CallbackProxy<TProxyInterface, TCallback> Create<TProxyInterface, TCallback>(DbusEndpointUriComponents dbusEndpointUri, string relativeAddress)
     where TProxyInterface : class
     where TCallback : class, new()
 {
     System.Uri uriEndpoint = dbusEndpointUri.CreateUri(relativeAddress);
     return Create<TProxyInterface, TCallback>(uriEndpoint, DefaultBindingFactory);
 }
Exemple #2
0
 static public Proxy<TProxyInterface> Create<TProxyInterface>(DbusEndpointUriComponents dbusEndpointUri, string relativeAddress, IBindingFactory bindingFactory)
     where TProxyInterface : class
 {
     System.Uri uriEndpoint = dbusEndpointUri.CreateUri(relativeAddress);
     return Create<TProxyInterface>(uriEndpoint, bindingFactory);
 }