Struct PathObject
Assembly: RedLoader.dll
Syntax
Constructors
PathObject(string)
Declaration
public PathObject(string path)
Parameters
Type |
Name |
Description |
string |
path |
|
Properties
Path
Declaration
public readonly string Path { get; }
Property Value
Methods
DirectoryExists()
Declaration
public bool DirectoryExists()
Returns
FileExists()
Declaration
Returns
GetFiles()
Declaration
public IEnumerable<string> GetFiles()
Returns
GetFiles(string)
Declaration
public IEnumerable<string> GetFiles(string searchPattern)
Parameters
Type |
Name |
Description |
string |
searchPattern |
|
Returns
ReadJson<T>()
Declaration
Returns
Type Parameters
ReadText()
Declaration
Returns
WriteJson(object)
Declaration
public void WriteJson(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
WriteText(string)
Declaration
public void WriteText(string text)
Parameters
Type |
Name |
Description |
string |
text |
|
Operators
operator /(PathObject, PathObject)
Declaration
public static PathObject operator /(PathObject path1, PathObject path2)
Parameters
Returns
operator /(PathObject, string)
Declaration
public static PathObject operator /(PathObject path1, string path2)
Parameters
Returns
implicit operator string(PathObject)
Declaration
public static implicit operator string(PathObject path)
Parameters
Returns