InjectionCharactersAttribute Class
Gets the characters that are used for injection attacks.
Namespace
CsvHelper.Configuration.Attributes
Interfaces
Base Types
  • Attribute
graph BT Type-->Base0["Attribute"] Type-.->Interface0["IClassMapper"] click Interface0 "/CsvHelper/api/CsvHelper.Configuration.Attributes/IClassMapper" Type["InjectionCharactersAttribute"] class Type type-node

Syntax

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public class InjectionCharactersAttribute : Attribute, IClassMapper

Attributes

Type Description
AttributeUsage

Constructors

Name Summary
InjectionCharactersAttribute(string) Gets the characters that are used for injection attacks.

Properties

Name Property Type Summary
InjectionCharacters char[]
Gets the characters that are used for injection attacks. Default is '=', '@', '+', '-', '\t', '\r'.

Methods

Name Return Value Summary
ApplyTo(CsvConfiguration) void
Applies configuration.