Click here to Skip to main content
15,898,134 members
Home / Discussions / C#
   

C#

 
AnswerRe: XML: Deserialize but don't Serialize Pin
led mike6-Nov-06 9:21
led mike6-Nov-06 9:21 
AnswerRe: XML: Deserialize but don't Serialize Pin
beatles16927-Nov-06 0:28
beatles16927-Nov-06 0:28 
GeneralRe: XML: Deserialize but don't Serialize Pin
Clive Pottinger8-Nov-06 14:52
Clive Pottinger8-Nov-06 14:52 
GeneralRe: XML: Deserialize but don't Serialize Pin
Clive Pottinger8-Nov-06 16:54
Clive Pottinger8-Nov-06 16:54 
QuestionXML Deserialization question Pin
Clive Pottinger6-Nov-06 5:49
Clive Pottinger6-Nov-06 5:49 
AnswerRe: XML Deserialization question Pin
S. Senthil Kumar6-Nov-06 6:41
S. Senthil Kumar6-Nov-06 6:41 
GeneralRe: XML Deserialization question [modified] Pin
Clive Pottinger6-Nov-06 7:25
Clive Pottinger6-Nov-06 7:25 
AnswerRe: XML Deserialization question Pin
Clive Pottinger6-Nov-06 7:52
Clive Pottinger6-Nov-06 7:52 
The specific sequence of operations I see happening is this:

teacher nodes begin deserialising
-- Teacher object is created (oops I forgot the constructors in my example)
---- Teacher name is deserialised: set to "Johnson"
---- teacher/class nodes begin deserialising
------ Class object is created
------ class name is deserialised: set to "Hydrodynamics 101"
------ teacher/class/student nodes begin deserialising
-------- Student object is created
-------- student name is deserialised: set to "Billy"
------ all Student objects created
------ Student[] passed to Class.AddStudent
-------- Student["Billy"].ClassesToGoTo is set ("Hydrodynamics 101" is added)
******** Student["Billy"].Instructor should be set to ("Johnson")
******** Teacher["Johnson"].StudentList should have "Billy" added
-------- All students in Student[] processed
---- all Class objects created
---- Class[] passed to Teacher.AddClasses
+----- Class["Hydrodynamics 101"].teacher is set (oops missed defining that too)
+----- Teacher["Johnson"].ClassList is set ("Hydrodynamics 101" is added)
------ all classes in Class[] processed
-- all Teacher objects created
-- Teacher[] passed to unspecified routine
done

Again, notice that the ***** lines for Student processing require information that is not set until the +--- lines when the Class objects are processed. That is my problem.

Clive Pottinger,
Hamilton ON

GeneralRe: XML Deserialization question Pin
S. Senthil Kumar7-Nov-06 5:30
S. Senthil Kumar7-Nov-06 5:30 
AnswerRe: XML Deserialization question Pin
Clive Pottinger8-Nov-06 15:10
Clive Pottinger8-Nov-06 15:10 
QuestionNearest neighbour algorithm Pin
Islam Khalil Saber6-Nov-06 4:35
Islam Khalil Saber6-Nov-06 4:35 
AnswerRe: Nearest neighbour algorithm Pin
J4amieC6-Nov-06 4:42
J4amieC6-Nov-06 4:42 
AnswerCross posting Pin
leckey6-Nov-06 6:41
leckey6-Nov-06 6:41 
Questiondatagridview help needed Pin
giddy_guitarist6-Nov-06 4:34
giddy_guitarist6-Nov-06 4:34 
AnswerRe: datagridview help needed Pin
Rey99997-Nov-06 6:36
Rey99997-Nov-06 6:36 
GeneralRe: datagridview help needed Pin
giddy_guitarist7-Nov-06 21:59
giddy_guitarist7-Nov-06 21:59 
QuestionTesting the presence of a reference Pin
Maercu6-Nov-06 4:23
Maercu6-Nov-06 4:23 
AnswerRe: Testing the presence of a reference Pin
led mike6-Nov-06 5:08
led mike6-Nov-06 5:08 
AnswerRe: Testing the presence of a reference Pin
liRetro6-Nov-06 5:51
liRetro6-Nov-06 5:51 
AnswerRe: Testing the presence of a reference Pin
Maercu6-Nov-06 21:46
Maercu6-Nov-06 21:46 
QuestionWhich class I should use in communication? Pin
mertkan656-Nov-06 4:11
mertkan656-Nov-06 4:11 
QuestionWeird problem... [modified] Pin
Support1236-Nov-06 3:52
Support1236-Nov-06 3:52 
AnswerRe: Weird problem... Pin
ednrgc6-Nov-06 4:09
ednrgc6-Nov-06 4:09 
GeneralRe: Weird problem... Pin
Support1236-Nov-06 4:34
Support1236-Nov-06 4:34 
AnswerRe: Weird problem... Pin
Pete O'Hanlon6-Nov-06 4:25
mvePete O'Hanlon6-Nov-06 4:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.