- Timestamp:
- 03/09/09 15:16:47 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/New Persistence Exploration/Persistence/Persistence/DeSerializer.cs
r1314 r1317 98 98 CompositeStart start = (CompositeStart)token; 99 99 object instance = null; 100 if (this.FindC ustomSerializer(start.Type) != null) {100 if (this.FindCompoundSerializer(start.Type) != null) { 101 101 instance = new ParentReference(); 102 102 compositeStack.Push(new CustomObject(instance)); … … 112 112 private void CompositeEndHandler(IParseToken token) { 113 113 CompositeEnd end = (CompositeEnd)token; 114 ICompoundSerializer customSerializer = this.FindC ustomSerializer(end.Type);114 ICompoundSerializer customSerializer = this.FindCompoundSerializer(end.Type); 115 115 if (customSerializer != null) { 116 116 CustomObject customObject = (CustomObject)compositeStack.Pop(); … … 124 124 } 125 125 } 126 private ICompoundSerializer FindC ustomSerializer(Type type) {126 private ICompoundSerializer FindCompoundSerializer(Type type) { 127 127 foreach (ICompoundSerializer serializer in customSerializers) { 128 128 if (serializer.CanSerialize(type))
Note: See TracChangeset
for help on using the changeset viewer.