A type-safe collection of option/value pairs. This class acts as the basis for setting, getting, saving and loading parameters to all Clean Content APIs. More specifically is acts as a base class for the SecureRequest class. More...
Public Member Functions | |
| ScrubOption.Action | GetOption (ScrubOption op) |
| Get a scrub target option. | |
| AnalyzeOption.Action | GetOption (AnalyzeOption op) |
| Get an analyze target option. | |
| DirectoryInfo | GetOption (DirectoryOption op) |
| Get a directory option. | |
| FileInfo | GetOption (FileOption op) |
| Get a file option using a FileInfo object. | |
| String[] | GetOption (StringListOption op) |
| Get a string list option. | |
| String | GetOption (StringOption op) |
| Get a string option. | |
| FileFormat[] | GetOption (FileFormatListOption op) |
| Get a file format list option. | |
| FileFormat | GetOption (FileFormatOption op) |
| Get a file format option. | |
| int | GetOption (EnumOption op) |
| Get an enumeration option. | |
| long | GetOption (IntegerOption op) |
| Get an integer option. | |
| bool | GetOption (BooleanOption op) |
| Get a boolean option. | |
| void | ReadXML (FileInfo file) |
| Read the current option set from an XML file created using WriteXML. | |
| void | SetOption (HandlerOption op, ElementHandler handler) |
| Set an element handler option. | |
| void | SetOption (ScrubOption op, ScrubOption.Action value) |
| Set a scrub target option. | |
| void | SetOption (AnalyzeOption op, AnalyzeOption.Action value) |
| Set an analyze target option. | |
| void | SetOption (DirectoryOption op, DirectoryInfo value) |
| Set a directory option. | |
| void | SetOption (FileOption op, Stream value) |
| Set a file option using a Stream object. | |
| void | SetOption (FileOption op, FileInfo value) |
| Set a file option using a FileInfo object. | |
| void | SetOption (DurationOption op, TimeSpan value) |
| Set a duration option using a TimeSpan object. | |
| void | SetOption (DateOption op, DateTime value) |
| Set a date option using a DateTime object. | |
| void | SetOption (StringListOption op, String[] values) |
| Set a string list option. | |
| void | SetOption (StringOption op, String value) |
| Set a string option. | |
| void | SetOption (FileFormatListOption op, FileFormat[] values) |
| Set a file format list option. | |
| void | SetOption (FileFormatOption op, FileFormat value) |
| Set a file format option. | |
| void | SetOption (EnumListOption op, int[] values) |
| Set an enumeration list option. | |
| void | SetOption (EnumOption op, int value) |
| Set an enumeration option. | |
| void | SetOption (IntegerOption op, long value) |
| Set an integer option. | |
| void | SetOption (BooleanOption op, bool value) |
| Set a boolean option. | |
| void | WriteXML (FileInfo file) |
| Write the current option set to an XML file. | |
A type-safe collection of option/value pairs. This class acts as the basis for setting, getting, saving and loading parameters to all Clean Content APIs. More specifically is acts as a base class for the SecureRequest class.
| ScrubOption.Action CleanContent::OptionSet::GetOption | ( | ScrubOption | op | ) |
Get a scrub target option.
| op | The option to set |
| AnalyzeOption.Action CleanContent::OptionSet::GetOption | ( | AnalyzeOption | op | ) |
Get an analyze target option.
| op | The option to get |
| DirectoryInfo CleanContent::OptionSet::GetOption | ( | DirectoryOption | op | ) |
Get a directory option.
| op | The option to get |
| FileInfo CleanContent::OptionSet::GetOption | ( | FileOption | op | ) |
Get a file option using a FileInfo object.
| op | The option to get |
| String [] CleanContent::OptionSet::GetOption | ( | StringListOption | op | ) |
Get a string list option.
| op | The option to get |
| String CleanContent::OptionSet::GetOption | ( | StringOption | op | ) |
Get a string option.
| op | The option to get |
| FileFormat [] CleanContent::OptionSet::GetOption | ( | FileFormatListOption | op | ) |
Get a file format list option.
| op | The option to get |
| FileFormat CleanContent::OptionSet::GetOption | ( | FileFormatOption | op | ) |
Get a file format option.
| op | The option to get |
| int CleanContent::OptionSet::GetOption | ( | EnumOption | op | ) |
Get an enumeration option.
| op | The option to get |
| long CleanContent::OptionSet::GetOption | ( | IntegerOption | op | ) |
Get an integer option.
| op | The option to set |
| bool CleanContent::OptionSet::GetOption | ( | BooleanOption | op | ) |
Get a boolean option.
| op | The option to get |
| void CleanContent::OptionSet::ReadXML | ( | FileInfo | file | ) |
Read the current option set from an XML file created using WriteXML.
| file | File to read |
| void CleanContent::OptionSet::SetOption | ( | HandlerOption | op, | |
| ElementHandler | handler | |||
| ) |
Set an element handler option.
| op | The option to set | |
| handler | The value the option should take |
| void CleanContent::OptionSet::SetOption | ( | ScrubOption | op, | |
| ScrubOption.Action | value | |||
| ) |
Set a scrub target option.
| op | The option to set | |
| value | The value the option should take |
| void CleanContent::OptionSet::SetOption | ( | AnalyzeOption | op, | |
| AnalyzeOption.Action | value | |||
| ) |
Set an analyze target option.
| op | The option to set | |
| value | The value the option should take |
| void CleanContent::OptionSet::SetOption | ( | DirectoryOption | op, | |
| DirectoryInfo | value | |||
| ) |
Set a directory option.
| op | The option to set | |
| value | The value the option should take |
| void CleanContent::OptionSet::SetOption | ( | FileOption | op, | |
| Stream | value | |||
| ) |
Set a file option using a Stream object.
| op | The option to set | |
| value | The value the option should take |
| void CleanContent::OptionSet::SetOption | ( | FileOption | op, | |
| FileInfo | value | |||
| ) |
Set a file option using a FileInfo object.
| op | The option to set | |
| value | The value the option should take |
| void CleanContent::OptionSet::SetOption | ( | DurationOption | op, | |
| TimeSpan | value | |||
| ) |
Set a duration option using a TimeSpan object.
| op | The option to set | |
| value | The value the option should take |
| void CleanContent::OptionSet::SetOption | ( | DateOption | op, | |
| DateTime | value | |||
| ) |
Set a date option using a DateTime object.
| op | The option to set | |
| value | The value the option should take |
| void CleanContent::OptionSet::SetOption | ( | StringListOption | op, | |
| String[] | values | |||
| ) |
Set a string list option.
| op | The option to set | |
| values | The value the option should take |
| void CleanContent::OptionSet::SetOption | ( | StringOption | op, | |
| String | value | |||
| ) |
Set a string option.
| op | The option to set | |
| value | The value the option should take |
| void CleanContent::OptionSet::SetOption | ( | FileFormatListOption | op, | |
| FileFormat[] | values | |||
| ) |
Set a file format list option.
| op | The option to set | |
| values | The value the option should take |
| void CleanContent::OptionSet::SetOption | ( | FileFormatOption | op, | |
| FileFormat | value | |||
| ) |
Set a file format option.
| op | The option to set | |
| value | The value the option should take |
| void CleanContent::OptionSet::SetOption | ( | EnumListOption | op, | |
| int[] | values | |||
| ) |
Set an enumeration list option.
| op | The option to set | |
| values | The values the option should take |
| void CleanContent::OptionSet::SetOption | ( | EnumOption | op, | |
| int | value | |||
| ) |
Set an enumeration option.
| op | The option to set | |
| value | The value the option should take |
| void CleanContent::OptionSet::SetOption | ( | IntegerOption | op, | |
| long | value | |||
| ) |
Set an integer option.
| op | The option to set | |
| value | The value the option should take |
| void CleanContent::OptionSet::SetOption | ( | BooleanOption | op, | |
| bool | value | |||
| ) |
Set a boolean option.
| op | The option to set | |
| value | The value the option should take |
| void CleanContent::OptionSet::WriteXML | ( | FileInfo | file | ) |
Write the current option set to an XML file.
| file | File to write |