ArgumentFilePathGuard Class

Summary

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

Syntax

public static class ArgumentFilePathGuard

Methods

Name Value Summary
ThrowIfFileNotExists(string, string) string
Throws an System.IO.FileNotFoundException if filePath filepath not exists.
static

Extension Methods

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