mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-07-04 13:42:56 +00:00
Co-authored-by: krut_ni <nils.kruthoff@dlr.de> Co-authored-by: Thorsten Sommer <mail@tsommer.org>
8 lines
318 B
C#
8 lines
318 B
C#
using System.Net.Http.Headers;
|
|
|
|
namespace AIStudio.Tools;
|
|
|
|
public readonly record struct EnterpriseEnvironment(string ConfigurationServerUrl, Guid ConfigurationId, EntityTagHeaderValue? ETag)
|
|
{
|
|
public bool IsActive => !string.IsNullOrWhiteSpace(this.ConfigurationServerUrl) && this.ConfigurationId != Guid.Empty;
|
|
} |