Class FileExistenceTester
Default implementation of ITestForFileExistence which simply wraps a call to System.IO.File.Exists(System.String).
Inheritance
System.Object
FileExistenceTester
Implements
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 SourceDoesFileExist(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 |
|