bool _strictBinding = false;
IDictionary _properties;
- TypeFilterLevel _filterLevel = TypeFilterLevel.Low;
-
- public static BinaryCore DefaultInstance = new BinaryCore ();
+ TypeFilterLevel _filterLevel;
+ public static BinaryCore DefaultInstance = new BinaryCore (TypeFilterLevel.Low);
+ public static readonly BinaryCore DefaultClientInstance = new BinaryCore (TypeFilterLevel.Full);
+
public BinaryCore (object owner, IDictionary properties, string[] allowedProperties)
{
_properties = properties;
Init ();
}
- public BinaryCore ()
+ public BinaryCore (TypeFilterLevel filterLevel)
{
+ _filterLevel = filterLevel;
_properties = new Hashtable ();
Init ();
}