Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/09/09 15:16:47 (15 years ago)
Author:
epitzer
Message:

refactoring of serializers & update of serializer tests. (#506)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/New Persistence Exploration/Persistence/Persistence/DeSerializer.cs

    r1314 r1317  
    9898      CompositeStart start = (CompositeStart)token;
    9999      object instance = null;
    100       if (this.FindCustomSerializer(start.Type) != null) {
     100      if (this.FindCompoundSerializer(start.Type) != null) {
    101101        instance = new ParentReference();
    102102        compositeStack.Push(new CustomObject(instance));
     
    112112    private void CompositeEndHandler(IParseToken token) {
    113113      CompositeEnd end = (CompositeEnd)token;
    114       ICompoundSerializer customSerializer = this.FindCustomSerializer(end.Type);
     114      ICompoundSerializer customSerializer = this.FindCompoundSerializer(end.Type);
    115115      if (customSerializer != null) {
    116116        CustomObject customObject = (CustomObject)compositeStack.Pop();
     
    124124      }
    125125    }
    126     private ICompoundSerializer FindCustomSerializer(Type type) {
     126    private ICompoundSerializer FindCompoundSerializer(Type type) {
    127127      foreach (ICompoundSerializer serializer in customSerializers) {
    128128        if (serializer.CanSerialize(type))
Note: See TracChangeset for help on using the changeset viewer.