Find Jobs
Hire Freelancers

C# Serialization Help

$30-100 USD

Cerrado
Publicado hace más de 21 años

$30-100 USD

Pagado a la entrega
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.
ID del proyecto: 2886676

Información sobre el proyecto

1 propuesta
Proyecto remoto
Activo hace 21 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
1 freelancer está ofertando un promedio de $43 USD por este trabajo
Avatar del usuario
See private message.
$42,50 USD en 14 días
4,1 (3 comentarios)
2,1
2,1

Sobre este cliente

Bandera de UNITED STATES
United States
5,0
392
Forma de pago verificada
Miembro desde jun 11, 2002

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.