IComputeRequest.cs
 1  // Copyright (c) Microsoft Corporation
 2  // The Microsoft Corporation licenses this file to you under the MIT license.
 3  // See the LICENSE file in the project root for more information.
 4  
 5  using System;
 6  
 7  namespace Community.PowerToys.Run.Plugin.ValueGenerator
 8  {
 9      public interface IComputeRequest
10      {
11          public byte[] Result { get; set; }
12  
13          public string Description { get; }
14  
15          public bool IsSuccessful { get; set; }
16  
17          public string ErrorMessage { get; set; }
18  
19          bool Compute();
20  
21          public string ResultToString();
22      }
23  }