13 references to versionsKey
Microsoft.Maui.Essentials (13)
VersionTracking\VersionTracking.shared.cs (13)
210
string LastInstalledVersion => versionTrail[
versionsKey
]?.LastOrDefault() ?? string.Empty;
238
IsFirstLaunchEver = !preferences.ContainsKey(
versionsKey
, sharedName) || !preferences.ContainsKey(buildsKey, sharedName);
243
{
versionsKey
, new List<string>() },
251
{
versionsKey
, ReadHistory(
versionsKey
).ToList() },
256
IsFirstLaunchForCurrentVersion = !versionTrail[
versionsKey
].Contains(CurrentVersion) || CurrentVersion != LastInstalledVersion;
260
versionTrail[
versionsKey
].RemoveAll(v => v == CurrentVersion);
261
versionTrail[
versionsKey
].Add(CurrentVersion);
274
WriteHistory(
versionsKey
, versionTrail[
versionsKey
]);
289
public string? PreviousVersion => GetPrevious(
versionsKey
);
293
public string? FirstInstalledVersion => versionTrail[
versionsKey
].FirstOrDefault();
297
public IReadOnlyList<string> VersionHistory => versionTrail[
versionsKey
].ToArray();