I have a couple of C# objects like this:
class Foo {
}
class Bar {
Foo m_foo;
Foo foo {
get {
return m_foo;
}
set {
m_foo = value;
}
}
}
What I get when these are serialized is a Foo element nested in a Bar
element. Instead I want it to somehow reference it. Is this possible?
class Foo {
}
class Bar {
Foo m_foo;
Foo foo {
get {
return m_foo;
}
set {
m_foo = value;
}
}
}
What I get when these are serialized is a Foo element nested in a Bar
element. Instead I want it to somehow reference it. Is this possible?
Comment