コード例 #1
0
 public ShellOperationAwaiter(EditorShell.Operation operation)
 {
     _operation = operation;
 }
コード例 #2
0
ファイル: EditorShellTests.cs プロジェクト: wlgys8/UnityShell
        private async Task <int> GetOperationTask(EditorShell.Operation operation)
        {
            int code = await operation;

            return(code);
        }
コード例 #3
0
ファイル: EditorShellTests.cs プロジェクト: wlgys8/UnityShell
 public ShellOperationYieldable(EditorShell.Operation operation)
 {
     _operation = operation;
 }
コード例 #4
0
ファイル: EditorShellTests.cs プロジェクト: wlgys8/UnityShell
        private async void KillAfter1Second(EditorShell.Operation operation)
        {
            await Task.Delay(1000);

            operation.Kill();
        }