Esempio n. 1
0
 public CollectionTraceDecorator(AzureMobileServicesProxy proxy, Func <MobileServiceClient, IMobileServiceTable <TDataObject> > requestDelegate, Predicate <TDataObject> filterDelegate, Func <TDataObject, TResult> convertDelegate)
 {
     _proxy                     = proxy;
     _requestDelegate           = requestDelegate;
     _filterDelegate            = filterDelegate;
     _convertDelegate           = convertDelegate;
     _resultsLoop               = new MessagesLoopDecorator <TResult>(r => OnGotUpdate(r), deferreStart: true);
     _resultsLoop.GoingToAwait += ResultsLoop_GoingToAwait;
 }
Esempio n. 2
0
 public AzureMobileServiceImpl(string serverEndpointAddress)
 {
     _proxy = new AzureMobileServicesProxy(serverEndpointAddress);
 }