Пример #1
0
		// checkpoint byps.gen.cs.GenRemoteStub:133
		public async Task<IList<FileInfo>> FindFilesAsync(String path, FindOptions findOptions){
			BRequest_FileSystemService_findFiles req = new BRequest_FileSystemService_findFiles();			
			req.pathValue = path;
			req.findOptionsValue = findOptions;
			Task<IList<FileInfo>> task = Task<IList<FileInfo>>.Factory.FromAsync(transport.BeginSend<IList<FileInfo>>, transport.EndSend<IList<FileInfo>>, req, null);
			return await task;
		}
Пример #2
0
        public virtual void FindFiles(String path, FindOptions findOptions, BAsyncResult <IList <FileInfo> > asyncResult)
        {
            BRequest_FileSystemService_findFiles req = new BRequest_FileSystemService_findFiles();

            req.pathValue        = path;
            req.findOptionsValue = findOptions;
            transport.sendMethod(req, asyncResult);
        }
Пример #3
0
        // checkpoint byps.gen.cs.GenRemoteStub:133
        public async Task <IList <FileInfo> > FindFilesAsync(String path, FindOptions findOptions)
        {
            BRequest_FileSystemService_findFiles req = new BRequest_FileSystemService_findFiles();

            req.pathValue        = path;
            req.findOptionsValue = findOptions;
            Task <IList <FileInfo> > task = Task <IList <FileInfo> > .Factory.FromAsync(transport.BeginSend <IList <FileInfo> >, transport.EndSend <IList <FileInfo> >, req, null);

            return(await task);
        }
Пример #4
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            BRequest_FileSystemService_findFiles obj = (BRequest_FileSystemService_findFiles)obj1;
            BOutputBin bout = (BOutputBin)bout1;
            BBufferBin bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.pathValue);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.findOptionsValue, false, null);
        }
Пример #5
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            BRequest_FileSystemService_findFiles obj = (BRequest_FileSystemService_findFiles)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_FileSystemService_findFiles()));

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.pathValue = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.findOptionsValue = (com.wilutions.jsfs.FindOptions)bin.readObj(false, null);

            return(obj);
        }
Пример #6
0
		public virtual void FindFiles(String path, FindOptions findOptions, BAsyncResult<IList<FileInfo>> asyncResult) {
			BRequest_FileSystemService_findFiles req = new BRequest_FileSystemService_findFiles();			
			req.pathValue = path;
			req.findOptionsValue = findOptions;
			transport.sendMethod(req, asyncResult);
		}