Skip to content

Commit

Permalink
Framework Generation constants for Search-by-TFM (#9270)
Browse files Browse the repository at this point in the history
* Added framework generation constant strings

* edited netcoreapp, xml docs
  • Loading branch information
advay26 authored Oct 4, 2022
1 parent 3405276 commit 5e27c1e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/NuGetGallery.Core/Services/AssetFrameworkHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,19 @@ private static bool HasBuildItemsForPackageId(IEnumerable<ContentItem> items, st

return false;
}

/// <summary>
/// Framework Generation shortname identifiers used by the Search Service for framework filtering.
/// </summary>
public static class FrameworkGenerationIdentifiers
{
public const string Net = "net";

public const string NetFramework = "netframework";

public const string NetCoreApp = "netcoreapp";

public const string NetStandard = "netstandard";
}
}
}

0 comments on commit 5e27c1e

Please sign in to comment.