5using System.Collections.Generic;
12 internal class SourceModel
105 public string Identifier
119 _identifier =
string.Empty;
127 public bool Explicit {
get;
set; }
132 public List<string> TrustLevel
146 _trustLevel =
new List<string>();
151 private string _name =
string.Empty;
152 private string _arg =
string.Empty;
153 private string _type =
string.Empty;
154 private string _data =
string.Empty;
155 private string _identifier =
string.Empty;
156 private List<string> _trustLevel =
new List<string>();
173 public static SourceModel FromWinGetSource(WinGetSource source)
175 return new SourceModel()
181 Identifier = source.Identifier,
182 Explicit = source.Explicit,
183 TrustLevel = source.TrustLevel