Class Utilities
Syntax
public static class Utilities
Properties
NetworkNotReachable
Declaration
public static bool NetworkNotReachable { get; }
Property Value
Methods
AssembliesForPackage(String)
Returns the Assembly instances which contain one or more scripts in a package, given the list of files in the package.
Declaration
public static IEnumerable<Assembly> AssembliesForPackage(string packageRootPath)
Parameters
Type |
Name |
Description |
String |
packageRootPath |
|
Returns
CreatePackageId(String, String)
Declaration
public static string CreatePackageId(string name, string version)
Parameters
Returns
Declaration
public static string ExtractPackage(string fullPackagePath, string workingPath, string outputDirectory, string packageName, bool deleteOutputDir = true)
Parameters
Returns
GetMonoPath()
Declaration
public static string GetMonoPath()
Returns
GetOSAgnosticPath(String)
Declaration
public static string GetOSAgnosticPath(string filePath)
Parameters
Type |
Name |
Description |
String |
filePath |
|
Returns
GetPathFromRoot(String, String)
Declaration
public static string GetPathFromRoot(string filePath, string root)
Parameters
Returns
IsPreviewVersion(String)
Declaration
public static bool IsPreviewVersion(string version)
Parameters
Type |
Name |
Description |
String |
version |
|
Returns
IsTestAssembly(Assembly)
Declaration
public static bool IsTestAssembly(Assembly assembly)
Parameters
Returns