diff SilverlightExampleApp/SilverlightExampleApp.Interfaces/Services/IClientDataServiceClient.cs @ 59:3591c26bd63e

MVVMLight added
author Steven Hollidge <stevenhollidge@hotmail.com>
date Sat, 21 Apr 2012 19:20:28 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SilverlightExampleApp/SilverlightExampleApp.Interfaces/Services/IClientDataServiceClient.cs	Sat Apr 21 19:20:28 2012 +0100
@@ -0,0 +1,34 @@
+using System.ServiceModel;
+using System.ServiceModel.Description;
+
+public interface IClientDataServiceClient
+{
+    System.Net.CookieContainer CookieContainer { get; set; }
+    ChannelFactory<ClientDataService> ChannelFactory { get; }
+    ClientCredentials ClientCredentials { get; }
+    CommunicationState State { get; }
+    IClientChannel InnerChannel { get; }
+    ServiceEndpoint Endpoint { get; }
+    event System.EventHandler<GetCompletedEventArgs> GetCompleted;
+    event System.EventHandler<GetAllCompletedEventArgs> GetAllCompleted;
+    event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> InsertCompleted;
+    event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> UpdateCompleted;
+    event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> DeleteCompleted;
+    event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> OpenCompleted;
+    event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> CloseCompleted;
+    void GetAsync(int id);
+    void GetAsync(int id, object userState);
+    void GetAllAsync();
+    void GetAllAsync(object userState);
+    void InsertAsync(object item);
+    void InsertAsync(object item, object userState);
+    void UpdateAsync(object item);
+    void UpdateAsync(object item, object userState);
+    void DeleteAsync(object item);
+    void DeleteAsync(object item, object userState);
+    void OpenAsync();
+    void OpenAsync(object userState);
+    void CloseAsync();
+    void CloseAsync(object userState);
+    void Abort();
+}
\ No newline at end of file