Méthode | Description | |
---|---|---|
CreateTestFile ( this isf, string fileName, string content = null ) : void |
Simple wrapper to create the given file (and close the handle)
|
|
GetIdentityRootDirectory ( this isf ) : string |
The actual root of the store (housekeeping files are kept here in NetFX)
|
|
GetUserRootDirectory ( this isf ) : string |
Where the user's files go
|
|
IsTimeCloseToNow ( DateTimeOffset time ) : bool |
Returns true if the given time is within a minute of the current time
|
|
ReadAllText ( this stream ) : string | ||
ReadAllText ( this isf, string fileName ) : string | ||
WipeStores ( ) : void | ||
WriteAllText ( this stream, string content ) : void | ||
WriteAllText ( this isf, string fileName, string content ) : void |
Méthode | Description | |
---|---|---|
TestHelper ( ) : System.Collections.Generic |
public static CreateTestFile ( this isf, string fileName, string content = null ) : void | ||
isf | this | |
fileName | string | |
content | string | |
Résultat | void |
public static GetIdentityRootDirectory ( this isf ) : string | ||
isf | this | |
Résultat | string |
public static GetUserRootDirectory ( this isf ) : string | ||
isf | this | |
Résultat | string |
public static IsTimeCloseToNow ( DateTimeOffset time ) : bool | ||
time | DateTimeOffset | |
Résultat | bool |
public static ReadAllText ( this stream ) : string | ||
stream | this | |
Résultat | string |
public static ReadAllText ( this isf, string fileName ) : string | ||
isf | this | |
fileName | string | |
Résultat | string |
public static WriteAllText ( this stream, string content ) : void | ||
stream | this | |
content | string | |
Résultat | void |
public static WriteAllText ( this isf, string fileName, string content ) : void | ||
isf | this | |
fileName | string | |
content | string | |
Résultat | void |