public StreamDeckConfigHost(IStreamDeckConfiguration configuration, ExportConfigArguments arguments, IHostApplicationLifetime applicationLifetime) { this.configuration = configuration; this.path = arguments.ManifestExportPath; this.codePath = arguments.CodePath; this.applicationLifetime = applicationLifetime; }
public bool TryGetExportConfigArguments(out ExportConfigArguments arguments) { if (string.IsNullOrEmpty(ManifestExportPath)) { arguments = null; return(false); } arguments = new ExportConfigArguments() { ManifestExportPath = this.ManifestExportPath, SdkPath = this.ManifestExportSdkPath, }; return(true); }