コード例 #1
0
        private static async Task CleanupWorkspacesAsync()
        {
            Console2.WriteStartHeader("Clean Up Workspaces");
            Stopwatch stopwatch = new Stopwatch();

            stopwatch.Start();

            WorkspaceHelper workspaceHelper = new WorkspaceHelper(_connectionManager.RsapiClient);
            await workspaceHelper.CleanupWorkspacesAsync();

            stopwatch.Stop();
            DisplayTimeElapsed(stopwatch.Elapsed);
        }