Find Jobs
Hire Freelancers

C# Serialization Help

$30-100 USD

Đã đóng
Đã đăng vào hơn 21 năm trước

$30-100 USD

Thanh toán khi bàn giao
This is a simple project. I need to be able to serialize out an object graph. This object graph really has nothing special about it besides: - it has delegates in it (which I do not want to serialize) - it has a couple of heterogenous containers in it. - there is the possibility of recursion. - i want it to behave nicely when new versions and data members come later (without writing a custom serializer for each subclass) What I am looking for is for someone to take the code (attached) and get the 2 serialization methods in the unit tests ([login to view URL]) working. I really need this done soon, so speed is of the essence. I am not against using custom serialization (even though I do not know why I would need to in a simple case like this) as long as that could be done only in the base class (ie, subclasses would not have to implement this) A knowledge of NUnit (easy) would help you do this quicker. (nunit getting started pdf is included) Specifically, get the two broken unit tests to work. and make sure hookUpInitialListeners() method in DefaultComponentModel is called after deserialization. Component code is in [login to view URL] and [login to view URL] (test components) If there are bugs in your code, I am going to expect you to help get them fixed. Happy bidding. Attached is the code . . .. // create model to serialize DefaultComponentModel model = new DefaultComponentModel(); StartComponent sc = new StartComponent(); ValidAdjustComponent ec = new ValidAdjustComponent(); ThreePathComponent oc = new ThreePathComponent(); [login to view URL] = "test string for serialization"; [login to view URL](sc); [login to view URL](ec); [login to view URL](oc); ComponentLink link = new ComponentLink(sc, ec); [login to view URL](link); link = new ComponentLink(ec, oc); [login to view URL](link); // write it out string fileName = "[login to view URL]"; Stream stream = new FileStream(fileName, [login to view URL], [login to view URL], [login to view URL]); [login to view URL](stream, model); [login to view URL](); // read it back in stream = new FileStream(fileName, [login to view URL], [login to view URL], [login to view URL]); DefaultComponentModel model2 = (DefaultComponentModel) [login to view URL](stream); [login to view URL](); ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased. ## Platform XP ## Deadline information I will review the code to make sure it meets conditions before acceptance.
Mã dự án: 2886676

Về dự án

1 đề xuất
Dự án từ xa
Hoạt động 21 năm trước

Bạn muốn kiếm tiền?

Lợi ích khi chào giá trên Freelancer

Thiết lập ngân sách và thời gian
Nhận thanh toán cho công việc
Phác thảo đề xuất của bạn
Miễn phí đăng ký và cháo giá cho công việc
1 freelancer chào giá trung bình $43 USD cho công việc này
Avatar người dùng
See private message.
$42,50 USD trong 14 ngày
4,1 (3 nhận xét)
2,1
2,1

Về khách hàng

Cờ của UNITED STATES
United States
5,0
392
Phương thức thanh toán đã xác thực
Thành viên từ thg 6 11, 2002

Xác thực khách hàng

Cảm ơn bạn! Chúng tôi đã gửi email chứa đường link để bạn lấy tín dụng miễn phí.
Đã xảy ra lỗi trong khi gửi email của bạn. Hãy thử lại.
Người Dùng Đã Đăng Ký Tổng Số Việc Đã Đăng
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Đang tải xem trước
Đã cấp quyền truy cập vị trí.
Phiên đăng nhập của bạn đã hết hạn và bạn đã bị đăng xuất. Hãy đăng nhập lại.