This repository has been archived by the owner on Mar 16, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #327 from NuGet/dev
[ReleasePrep][2018.07.16]RI of dev into master
- Loading branch information
Showing
82 changed files
with
4,840 additions
and
1,153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,80 +1,10 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
// Copyright (c) .NET Foundation. All rights reserved. | ||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. | ||
|
||
namespace NuGet.Services.Metadata.Catalog | ||
{ | ||
public static class Constants | ||
{ | ||
static Constants() | ||
{ | ||
CatalogRoot = new Uri("http://nuget.org/catalog#Root"); | ||
CatalogPage = new Uri("http://nuget.org/catalog#Page"); | ||
|
||
Package = new Uri("http://nuget.org/schema#Package"); | ||
DeletePackage = new Uri("http://nuget.org/schema#DeletePackage"); | ||
DeleteRegistration = new Uri("http://nuget.org/schema#DeleteRegistration"); | ||
Resolver = new Uri("http://nuget.org/schema#Resolver"); | ||
|
||
Range = new Uri("http://nuget.org/gallery#Range"); | ||
|
||
RdfType = new Uri("http://www.w3.org/1999/02/22-rdf-syntax-ns#type"); | ||
Integer = new Uri("http://www.w3.org/2001/XMLSchema#integer"); | ||
DateTime = new Uri("http://www.w3.org/2001/XMLSchema#dateTime"); | ||
} | ||
|
||
public static Uri Package | ||
{ | ||
get; | ||
private set; | ||
} | ||
public static Uri DeletePackage | ||
{ | ||
get; | ||
private set; | ||
} | ||
public static Uri DeleteRegistration | ||
{ | ||
get; | ||
private set; | ||
} | ||
public static Uri CatalogRoot | ||
{ | ||
get; | ||
private set; | ||
} | ||
public static Uri CatalogPage | ||
{ | ||
get; | ||
private set; | ||
} | ||
public static Uri Resolver | ||
{ | ||
get; | ||
private set; | ||
} | ||
public static Uri Range | ||
{ | ||
get; | ||
private set; | ||
} | ||
|
||
public static Uri RdfType | ||
{ | ||
get; | ||
private set; | ||
} | ||
public static Uri Integer | ||
{ | ||
get; | ||
private set; | ||
} | ||
public static Uri DateTime | ||
{ | ||
get; | ||
private set; | ||
} | ||
public const string Sha512 = "SHA512"; | ||
} | ||
} | ||
} |
Oops, something went wrong.