ARCValidationPackage Type
represents the locally installed version of a validation package, e.g. the path to the local file and the date it was cached.
Record fields
Record Field | Description |
|
|
Full Usage:
FileName
Field type: string
|
|
Full Usage:
LocalPath
Field type: string
|
|
|
|
Instance members
Instance member | Description |
Full Usage:
this.PrettyPrint
Returns: string
|
|
Static members
Static member | Description |
Full Usage:
ARCValidationPackage.create (fileName, cacheDate, localPath, metadata)
Parameters:
string
cacheDate : DateTimeOffset
localPath : string
metadata : ValidationPackageMetadata
Returns: ARCValidationPackage
|
|
Full Usage:
ARCValidationPackage.getSemanticVersionString vp
Parameters:
ARCValidationPackage
Returns: string
|
|
Full Usage:
ARCValidationPackage.ofPackageIndex (packageIndex, ?Date, ?CacheFolder)
Parameters:
ValidationPackageIndex
-
The input package index entry
?Date : DateTimeOffset
-
Optional. The date to set the CacheDate to. Defaults to the current date.
?CacheFolder : string
Returns: ARCValidationPackage
|
Creates a new ARCValidationPackage from a ValidationPackageIndex, with the CacheDate set to the current or optionally a custom date, and the LocalPath set to the default cache folder or custom folder.
|
Full Usage:
ARCValidationPackage.ofPackageName (packageName, ?Date, ?Path)
Parameters:
string
-
?Date : DateTimeOffset
-
?Path : string
-
Returns: ARCValidationPackage
|
Creates a new ARCValidationPackage from a package name only, with the CacheDate set to the current or optionally a custom date, and the LocalPath set to the default cache folder or custom folder.
|
Full Usage:
ARCValidationPackage.updateCacheDate date package
Parameters:
DateTimeOffset
-
The date to set the CacheDate to
package : ARCValidationPackage
-
The input package
Returns: ARCValidationPackage
|
returns a copy of the input ARCValidationPackage with the CacheDate set to the given date.
|