15 return type == typeof(
string);
22 string text = value as string;
23 if (
string.IsNullOrEmpty(text))
28 if (!
string.IsNullOrEmpty(text))
32 throw new ConfigurationErrorsException();
37 throw new ConfigurationErrorsException();
Validates the rules governing the use of the tempFilesLocation configuration switch.
static readonly char AltDirectorySeparatorChar
Provides a platform-specific alternate character used to separate directory levels in a path string t...
static readonly char DirectorySeparatorChar
Provides a platform-specific character used to separate directory levels in a path string that reflec...
Represents type declarations: class types, interface types, array types, value types,...
override bool CanValidate(Type type)
Determines whether the type of the object can be validated.
override void Validate(object value)
Determines whether the value of an object is valid.
static bool IsPathRooted(string path)
Gets a value indicating whether the specified path string contains a root.
Performs operations on T:System.String instances that contain file or directory path information....