namespace ArxOne.Qnap; using System; using System.Collections.Generic; using System.IO; public class QpkgRepositorySource { public string? SourceID { get; } /// /// The source relative directory /// public string SourceRelativeDirectory { get; } /// /// Gets or sets the get raw control. /// /// /// The get raw control. /// public Func> GetRawControl { get; } internal QpkgRepositoryCache? Cache { get; set; } public QpkgRepositorySource(string sourceRelativeDirectory, Func> getRawControl, string? sourceID = null) { SourceRelativeDirectory = sourceRelativeDirectory; GetRawControl = getRawControl; SourceID = sourceID; } }