Skip to content

0ef3fb9b c4bc a0ea f480 1d7652b6e83e

Axel Kesseler edited this page Mar 1, 2023 · 14 revisions

SettingsValidationExtension Class

Provides settings related operations for the persistent logger.

Inheritance Hierarchy

System.Object
  Plexdata.LogWriter.Internals.Extensions.SettingsValidationExtension
Namespace: Plexdata.LogWriter.Internals.Extensions
Assembly: Plexdata.LogWriter.Persistent (in Plexdata.LogWriter.Persistent.dll) Version: 1.0.7.1

Syntax

C#

internal static class SettingsValidationExtension

The SettingsValidationExtension type exposes the following members.

Constructors

 

Name Description
Private methodStatic member SettingsValidationExtension Default static constructor.
  Back to Top

Methods

 

Name Description
Public methodStatic memberCode example EnsureFullFilePathOrThrow Validates filename and path.
Public methodStatic member EnsureFullPathAndWriteAccessOrThrow Validates filename, path and file access.
  Back to Top

Fields

 

Name Description
Private fieldStatic member DefaultDirectory The default directory to be used as fallback if the filename does not include a folder path.
Private fieldStatic member InvalidFileNameCharacters The list of invalid filename characters.
Private fieldStatic member InvalidPathNameCharacters The list of invalid path name characters.
Private fieldStatic member PathSeparatorCharacters The list of supported path separator characters.
  Back to Top

Remarks

This extension class provides operations related to settings validation for the persistent logger. For the moment these operations are limited to file name and file path validation as well as to the validation of required file permissions.

See Also

Reference

Plexdata.LogWriter.Internals.Extensions Namespace

Clone this wiki locally