Based on standard practices, we need to have a copyright and license notice at the top of each source file. Removed existing copyrights and updated/added copyright notices for .h, .cpp, .cs, .ps1, and .psm1 files. Updated module manifests for consistency to have Author = "PowerShell" and Company = "Microsoft Corporation". Removed multiple line breaks. Separate PR coming to update contribution document for new source files: #6140 Manually reviewed each change. Fix #6073
23 lines
716 B
C#
23 lines
716 B
C#
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// Licensed under the MIT License.
|
|
using System;
|
|
|
|
namespace mvc.Controllers
|
|
{
|
|
internal static class Constants
|
|
{
|
|
public const string HeaderSeparator = ", ";
|
|
public const string ApplicationJson = "application/json";
|
|
public const string LinkUriTemplate = "<{0}?maxlinks={1}&linknumber={2}&type={3}>; rel=\"{4}\"";
|
|
public const string MalformedUrlLinkHeader = "{url}; foo";
|
|
public const string NoRelLinkHeader = "<url>; foo=\"bar\"";
|
|
public const string NoUrlLinkHeader = "<>; rel=\"next\"";
|
|
|
|
}
|
|
|
|
internal static class StatusCodes
|
|
{
|
|
public const Int32 ApplicationError = 500;
|
|
}
|
|
}
|