Mercurial > silverbladetech
view SilverlightExampleApp/SilverlightExampleApp.Interfaces/Services/IClientDataServiceClient.cs @ 117:9eadccc3b46c
REST working, next step unit tests
author | stevenh7776 |
---|---|
date | Sun, 27 May 2012 15:06:35 +0100 |
parents | 3591c26bd63e |
children |
line wrap: on
line source
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(); }