internal PathSelectionResult(
     PathSelectionResultType resultType,
     IUnixFileEntry?document,
     Stack <IUnixDirectoryEntry> foundPathSegments,
     IReadOnlyCollection <string>?missingPathSegments)
 {
     ResultType           = resultType;
     _document            = document;
     _foundPathSegments   = foundPathSegments;
     _missingPathSegments = missingPathSegments ?? Array.Empty <string>();
 }
Beispiel #2
0
 internal PathSelectionResult(
     PathSelectionResultType resultType,
     [CanBeNull] IUnixFileEntry document,
     [NotNull][ItemNotNull] Stack <IUnixDirectoryEntry> foundPathSegments,
     [CanBeNull][ItemNotNull] IReadOnlyCollection <string> missingPathSegments)
 {
     ResultType           = resultType;
     _document            = document;
     _foundPathSegments   = foundPathSegments;
     _missingPathSegments = missingPathSegments ?? Array.Empty <string>();
 }