Skip to content

Commit 5aa2dfa

Browse files
committed
Added missing XML comments
1 parent 832a368 commit 5aa2dfa

File tree

1 file changed

+9
-0
lines changed
  • Microsoft.Toolkit.HighPerformance/Streams/Sources/Interfaces

1 file changed

+9
-0
lines changed

Microsoft.Toolkit.HighPerformance/Streams/Sources/Interfaces/ISpanOwner.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,19 @@
66

77
namespace Microsoft.Toolkit.HighPerformance.Streams
88
{
9+
/// <summary>
10+
/// An interface for types acting as sources for <see cref="Span{T}"/> instances.
11+
/// </summary>
912
internal interface ISpanOwner
1013
{
14+
/// <summary>
15+
/// Gets the length of the underlying memory area.
16+
/// </summary>
1117
int Length { get; }
1218

19+
/// <summary>
20+
/// Gets a <see cref="Span{T}"/> instance wrapping the underlying memory area.
21+
/// </summary>
1322
Span<byte> Span { get; }
1423
}
1524
}

0 commit comments

Comments
 (0)