InjectionOptions Enum
Options for handling injection attacks.
Namespace
CsvHelper.Configuration
Interfaces
  • IComparable
  • ISpanFormattable
  • IFormattable
  • IConvertible
Base Types
  • object
  • ValueType
  • Enum
graph BT Type-->Base0["Enum"] Base0-->Base1["ValueType"] Base1-->Base2["object"] Type-.->Interface0["IComparable"] Type-.->Interface1["ISpanFormattable"] Type-.->Interface2["IFormattable"] Type-.->Interface3["IConvertible"] Type["InjectionOptions"] class Type type-node

Syntax

public enum InjectionOptions

Fields

Name Field Type Constant Value Summary
Escape InjectionOptions 1
Escape injection characters.
static
Exception InjectionOptions 3
Throw an exception if injection characters are detected.
static
None InjectionOptions 0
No injection protection.
static
Strip InjectionOptions 2
Strip injection characters.
static