public Worker(ClassLibrary.ArtistInfo WorkerArtist, int WorkerAge, string WorkerName, string WorkerNo) { this.WorkerArtist = WorkerArtist; this.WorkerAge = WorkerAge; this.WorkerName = WorkerName; this.WorkerNo = WorkerNo; }
public void SetWorkerInformation(ClassLibrary.ArtistInfo WorkerArtist, int WorkerAge, string WorkerName, string WorkerNo) { OtherClient.ServiceReference2.Worker inValue = new OtherClient.ServiceReference2.Worker(); inValue.WorkerArtist = WorkerArtist; inValue.WorkerAge = WorkerAge; inValue.WorkerName = WorkerName; inValue.WorkerNo = WorkerNo; OtherClient.ServiceReference2.SetWorkerInformationResponse retVal = ((OtherClient.ServiceReference2.ICustomService)(this)).SetWorkerInformation(inValue); }
public System.Threading.Tasks.Task <OtherClient.ServiceReference2.SetWorkerInformationResponse> SetWorkerInformationAsync(ClassLibrary.ArtistInfo WorkerArtist, int WorkerAge, string WorkerName, string WorkerNo) { OtherClient.ServiceReference2.Worker inValue = new OtherClient.ServiceReference2.Worker(); inValue.WorkerArtist = WorkerArtist; inValue.WorkerAge = WorkerAge; inValue.WorkerName = WorkerName; inValue.WorkerNo = WorkerNo; return(((OtherClient.ServiceReference2.ICustomService)(this)).SetWorkerInformationAsync(inValue)); }