/// <summary>
 /// Initializes a new instance of the <see cref="SolutionDetails" /> class.
 /// </summary>
 /// <param name="dsd">The DSD.</param>
 /// <param name="helpText">The help text.</param>
 /// <param name="appName">Name of the application.</param>
 /// <param name="appRepoName">Name of the application repo.</param>
 /// <param name="version">The version.</param>
 /// <param name="aboutScreenOtherText">The about screen other text.</param>
 public SolutionDetails(LicenseCallback dsd, string helpText = null, string appName = null,
     string appRepoName = null, Version version = null, string aboutScreenOtherText = null)
 {
     AppRepo = appRepoName;
     HelpText = helpText;
     this.AppName = appName;
     AboutScreenOtherText = aboutScreenOtherText;
     Ld = new LicensingDetails() {Callback = dsd, CurrentVersion = version};
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SolutionDetails" /> class.
 /// </summary>
 /// <param name="dsd">The DSD.</param>
 /// <param name="helpText">The help text.</param>
 /// <param name="appName">Name of the application.</param>
 /// <param name="appRepoName">Name of the application repo.</param>
 /// <param name="version">The version.</param>
 /// <param name="aboutScreenOtherText">The about screen other text.</param>
 public SolutionDetails(LicenseCallback dsd, string helpText = null, string appName = null,
                        string appRepoName = null, Version version = null, string aboutScreenOtherText = null)
 {
     AppRepo              = appRepoName;
     HelpText             = helpText;
     this.AppName         = appName;
     AboutScreenOtherText = aboutScreenOtherText;
     Ld = new LicensingDetails()
     {
         Callback = dsd, CurrentVersion = version
     };
 }
Exemple #3
0
 public void licenseImage(ImageLicenseType type, LicenseCallback callback)
 {
     LicensingImage = true;
     ThreadPool.QueueUserWorkItem(state =>
     {
         ThreadManager.invoke(new Action(delegate()
         {
             LicensingImage = false;
             callback.Invoke(true, false, "");
         }));
     });
 }