Changeset 1784


Ignore:
Timestamp:
Aug 9, 2010, 4:50:32 PM (11 years ago)
Author:
kopal
Message:
  • now Enumerations will be serialized without errors
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/WorkspaceManager/Model/XMLSerialization.cs

    r1782 r1784  
    246246                return false;
    247247            }
     248            if (o is Enum)
     249            {
     250                return true;
     251            }
     252
    248253            return (o.GetType().IsPrimitive || o.GetType().FullName.Substring(0, 6).Equals("System"));
    249254        }
Note: See TracChangeset for help on using the changeset viewer.