/// <summary> /// Initializes a new instance of the <see cref="SvnInfoResult"/> class. /// </summary> /// <param name="repositoryId">The UUID of the Subversion repository.</param> /// <param name="repositoryRoot">The repository root Uri.</param> /// <param name="lastChangedAuthor">The author of the last revision.</param> /// <param name="revision">The revision of the node.</param> /// <param name="lastChangedRevision">The last changed revision of the node.</param> /// <param name="uri">The full Uri of the node.</param> /// <param name="path">The path of the file. The local path if requisting working version, /// otherwise the name of the file at the specified version.</param> /// <param name="fullPath">The path in a normalized format.</param> /// <param name="nodeKind">The kind of the Subversion node.</param> public SvnInfoResult( Guid repositoryId, Uri repositoryRoot, string lastChangedAuthor, long revision, long lastChangedRevision, Uri uri, string path, string fullPath, SvnKind nodeKind) { #pragma warning disable SA1123 // Do not place regions within elements #region DupFinder Exclusion #pragma warning restore SA1123 // Do not place regions within elements repositoryRoot.NotNull(nameof(repositoryRoot)); uri.NotNull(nameof(uri)); path.NotNull(nameof(path)); RepositoryId = repositoryId; RepositoryRoot = repositoryRoot; LastChangedAuthor = lastChangedAuthor; LastChangedRevision = lastChangedRevision; Revision = revision; Uri = uri; Path = path; FullPath = fullPath; NodeKind = nodeKind; #endregion }
/// <summary> /// Initializes a new instance of the <see cref="SvnInfoResult"/> class. /// </summary> /// <param name="repositoryId">The UUID of the Subversion repository.</param> /// <param name="repositoryRoot">The repository root Uri.</param> /// <param name="lastChangedAuthor">The author of the last revision.</param> /// <param name="revision">The revision of the node.</param> /// <param name="lastChangedRevision">The last changed revision of the node.</param> /// <param name="uri">The full Uri of the node.</param> /// <param name="path">The path of the file. The local path if requisting working version, /// otherwise the name of the file at the specified version.</param> /// <param name="fullPath">The path in a normalized format.</param> /// <param name="nodeKind">The kind of the Subversion node.</param> public SvnInfoResult( Guid repositoryId, Uri repositoryRoot, string lastChangedAuthor, long revision, long lastChangedRevision, Uri uri, string path, string fullPath, SvnKind nodeKind) { repositoryRoot.NotNull(nameof(repositoryRoot)); uri.NotNull(nameof(uri)); path.NotNull(nameof(path)); RepositoryId = repositoryId; RepositoryRoot = repositoryRoot; LastChangedAuthor = lastChangedAuthor; LastChangedRevision = lastChangedRevision; Revision = revision; Uri = uri; Path = path; FullPath = fullPath; NodeKind = nodeKind; }