日期:2014-05-17 浏览次数:21008 次
[ServiceContract]
public interface IGetAssembly
{
[OperationContract]
Dictionary<RemoteFileInfo, List<RemoteFileInfo>> GetAssembliesDic();
}
[DataContract]
public class RemoteFileInfo
{
[DataMember]
public string FileName;
[DataMember]
public long Length;
[DataMember]
public string Version;
[DataMember]
public byte[] FileByte;
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(ConfigurationName = "IGetAssembly")]
public interface IGetAssembly
{
[System.ServiceModel.OperationContractAttribute(AsyncPattern = true, Action = "http://tempuri.org/IGetAssembly/GetAssembliesDic", ReplyAction = "http://tempuri.org/IGetAssembly/GetAssembliesDicResponse")]
System.IAsyncResult BeginGetAssembliesDic(System.AsyncCallback callback, object asyncState);
System.Collections.Generic.Dictionary<GetAssembliesService.RemoteFileInfo, System.Collections.ObjectModel.ObservableCollection<GetAssembliesService.RemoteFileInfo>> EndGetAssembliesDic(System.IAsyncResult result);
[System.ServiceModel.OperationContractAttribute(AsyncPattern = true, Action = "http://tempuri.org/IGetAssembly/GetAssemblyStream", ReplyAction = "http://tempuri.org/IGetAssembly/GetAssemblyStreamResponse")]
System.IAsyncResult BeginGetAssemblyStream(GetAssembliesService.DownloadRequest request, System.AsyncCallback callback, object asyncState);
GetAssembliesService.RemoteFileInfo EndGetAssemblyStream(System.IAsyncResult result);
}