Show / Hide Table of Contents

Class FileExistenceTester

Default implementation of ITestForFileExistence which simply wraps a call to System.IO.File.Exists(System.String).

Inheritance
System.Object
FileExistenceTester
Implements
ITestForFileExistence
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ZptSharp.Mvc5
Assembly: ZptSharp.Mvc5.dll
Syntax
public class FileExistenceTester : ITestForFileExistence

Methods

| Improve this Doc View Source

DoesFileExist(String)

Gets a value indicating whether a file exists at the specified path.

Declaration
public bool DoesFileExist(string path)
Parameters
Type Name Description
System.String path

The path to the file.

Returns
Type Description
System.Boolean

true if a file exists at the specified path; false otherwise.

Implements

ITestForFileExistence
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX