view SilverlightExampleApp/SilverlightExampleApp.Interfaces/Services/IClientDataServiceClient.cs @ 75:c01dd64f078b

Fixed false positive on the int values
author Steven Hollidge <stevenhollidge@hotmail.com>
date Mon, 23 Apr 2012 21:29:47 +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();
}