- Timestamp:
- 03/13/09 10:34:57 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/New Persistence Exploration/Persistence/Persistence/XmlFormatter.cs
r1330 r1338 51 51 } 52 52 53 private string FormatBegin(ISerializationToken token) { 53 private string FormatBegin(ISerializationToken token) { 54 54 BeginToken beginToken = (BeginToken)token; 55 55 string result = Prefix + … … 58 58 { 59 59 {"name", beginToken.Accessor.Name}, 60 {"type", beginToken.Accessor.Get().GetType(). ToString()},60 {"type", beginToken.Accessor.Get().GetType().AssemblyQualifiedName}, 61 61 {"id", beginToken.Id.ToString()} 62 62 }, NodeType.Start) + "\n"; … … 74 74 Dictionary<string, string> attributes = 75 75 new Dictionary<string, string> { 76 {"type", dataToken.Accessor.Get().GetType(). ToString()}};77 if ( dataToken.Accessor.Name != "")76 {"type", dataToken.Accessor.Get().GetType().AssemblyQualifiedName}}; 77 if ( !string.IsNullOrEmpty(dataToken.Accessor.Name) ) 78 78 attributes.Add("name", dataToken.Accessor.Name); 79 79 if ( dataToken.Id != null )
Note: See TracChangeset
for help on using the changeset viewer.