public EncryptedDictionaryConverter(IDataProtector dataProtector, JsonSerializerOptions options, EncryptedArrayConverter <KeyValuePair <TKey, TValue> > arrayConverter) { _dataProtector = dataProtector; _options = options; _arrayConverter = arrayConverter; }
public EncryptedEnumerableConverter(IDataProtector dataProtector, JsonSerializerOptions options, EncryptedArrayConverter <T> arrayConverter) { _dataProtector = dataProtector; _options = options; _arrayConverter = arrayConverter; _elementType = typeof(T); _arrayType = _elementType.MakeArrayType(); }