コード例 #1
0
 /// <summary>
 ///    Initializes a new instance of the <see cref="TypeInspector" /> class.
 /// </summary>
 /// <param name="cache"></param>
 /// <param name="settings"></param>
 public TypeInspector(ISerializationInfoCache cache, Settings settings)
 {
     _Cache              = cache;
     _Settings           = settings;
     WhiteListMode       = false;
     PropertiesToExclude = new List <string>();
 }
コード例 #2
0
 /// <summary>
 ///    Initializes a new instance of the <see cref="TypeInspector" /> class.
 /// </summary>
 public TypeInspector()
 {
     _Cache              = new WeakSerializationInfoCache();
     _Settings           = Settings.Default;
     WhiteListMode       = false;
     PropertiesToExclude = new List <string>();
 }