File: src\sourcelink\src\Common\Utilities\Names.cs
Web Access
Project: src\src\sourcelink\src\SourceLink.Common\Microsoft.SourceLink.Common.csproj (Microsoft.SourceLink.Common)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the License.txt file in the project root for more information.

namespace Microsoft.Build.Tasks.SourceControl
{
    internal static class Names
    {
        internal static class SourceRoot
        {
            public const string Name = nameof(SourceRoot);

            public const string SourceControl = nameof(SourceControl);
            public const string RepositoryUrl = nameof(RepositoryUrl);
            public const string ScmRepositoryUrl = nameof(ScmRepositoryUrl);
            public const string RevisionId = nameof(RevisionId);
            public const string ContainingRoot = nameof(ContainingRoot);
            public const string NestedRoot = nameof(NestedRoot);
            public const string MappedPath = nameof(MappedPath);
            public const string SourceLinkUrl = nameof(SourceLinkUrl);
            public const string BranchName = nameof(BranchName);

            public const string MappedPathFullName = nameof(SourceRoot) + "." + nameof(MappedPath);
            public const string SourceLinkUrlFullName = nameof(SourceRoot) + "." + nameof(SourceLinkUrl);
            public const string RepositoryUrlFullName = nameof(SourceRoot) + "." + nameof(RepositoryUrl);
            public const string ScmRepositoryUrlFullName = nameof(SourceRoot) + "." + nameof(ScmRepositoryUrl);
            public const string RevisionIdFullName = nameof(SourceRoot) + "." + nameof(RevisionId);
        }
    }
}