Dev2.Common.EnvironmentVariables.GetWorkspacePath C# (CSharp) Method

GetWorkspacePath() public static method

Gets the workspace path.
public static GetWorkspacePath ( System.Guid workspaceID ) : string
workspaceID System.Guid The workspace ID.
return string
        public static string GetWorkspacePath(Guid workspaceID)
        {
            return workspaceID == Guid.Empty
                       ? Path.Combine(ApplicationPath, "Resources")
                       : Path.Combine( Path.Combine(WorkspacePath, workspaceID.ToString()),"Resources");
        }
EnvironmentVariables