ArgumentDirectoryPathGuard Class

Summary

Argument directory path validator.
Namespace
oehen.arguard.Filesystem
Base Types
  • object
graph BT Type-->Base0["object"] Type["ArgumentDirectoryPathGuard"] class Type type-node

Syntax

public static class ArgumentDirectoryPathGuard

Methods

Name Value Summary
ThrowIfDirectoryNotExists(string, string) string
Throws an System.IO.DirectoryNotFoundException if directory path in directoryPath not exists.
static

Extension Methods

Name Value Summary
ThrowIfNotTypeOf<T>(string) T
Throws an System.InvalidOperationException if argument is not type of T.
GitHub