Mercurial > silverbladetech
comparison 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 |
comparison
equal
deleted
inserted
replaced
58:241e2f22ed3c | 59:3591c26bd63e |
---|---|
1 using System.ServiceModel; | |
2 using System.ServiceModel.Description; | |
3 | |
4 public interface IClientDataServiceClient | |
5 { | |
6 System.Net.CookieContainer CookieContainer { get; set; } | |
7 ChannelFactory<ClientDataService> ChannelFactory { get; } | |
8 ClientCredentials ClientCredentials { get; } | |
9 CommunicationState State { get; } | |
10 IClientChannel InnerChannel { get; } | |
11 ServiceEndpoint Endpoint { get; } | |
12 event System.EventHandler<GetCompletedEventArgs> GetCompleted; | |
13 event System.EventHandler<GetAllCompletedEventArgs> GetAllCompleted; | |
14 event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> InsertCompleted; | |
15 event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> UpdateCompleted; | |
16 event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> DeleteCompleted; | |
17 event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> OpenCompleted; | |
18 event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> CloseCompleted; | |
19 void GetAsync(int id); | |
20 void GetAsync(int id, object userState); | |
21 void GetAllAsync(); | |
22 void GetAllAsync(object userState); | |
23 void InsertAsync(object item); | |
24 void InsertAsync(object item, object userState); | |
25 void UpdateAsync(object item); | |
26 void UpdateAsync(object item, object userState); | |
27 void DeleteAsync(object item); | |
28 void DeleteAsync(object item, object userState); | |
29 void OpenAsync(); | |
30 void OpenAsync(object userState); | |
31 void CloseAsync(); | |
32 void CloseAsync(object userState); | |
33 void Abort(); | |
34 } |