Skip to content

Commit f14bce6

Browse files
committed
Make HasCurrentFrameInfo a property
1 parent 6dc85ad commit f14bce6

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

specs/ExtendedProcessFailed.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ interface ICoreWebView2FrameInfoCollectionIterator : IUnknown {
522522
/// `TRUE` when the iterator has not run out of frames' info. If the
523523
/// collection over which the iterator is iterating is empty or if the
524524
/// iterator has gone past the end of the collection, then this is `FALSE`.
525-
HRESULT HasCurrentFrameInfo([out, retval] BOOL* hasCurrent);
525+
[propget] HRESULT HasCurrentFrameInfo([out, retval] BOOL* hasCurrent);
526526

527527
/// Move the iterator to the next frame's info in the collection.
528528
HRESULT MoveNext([out, retval] BOOL* hasNext);
@@ -622,9 +622,9 @@ namespace Microsoft.Web.WebView2.Core
622622
623623

624624
/// The reason for the process failure. The reason is always
625-
/// `CoreWebView2ProcessFailedReason..Unexpected` when `ProcessFailedKind`
625+
/// `CoreWebView2ProcessFailedReason.Unexpected` when `ProcessFailedKind`
626626
/// is `CoreWebView2ProcessFailedKind.BrowserProcessExited`, and
627-
/// `CoreWebView2ProcessFailedReason..Unresponsive` when `ProcessFailedKind`
627+
/// `CoreWebView2ProcessFailedReason.Unresponsive` when `ProcessFailedKind`
628628
/// is `CoreWebView2ProcessFailedKind.RenderProcessUnresponsive`.
629629
/// For other process failure kinds, the reason may be any of the reason
630630
/// values.
@@ -670,13 +670,13 @@ namespace Microsoft.Web.WebView2.Core
670670
/// ICoreWebView2FrameInfoCollection`.
671671
runtimeclass CoreWebView2FrameInfoCollectionIterator
672672
{
673-
/// Get the current `CoreWebView2FrameInfo` of the iterator.
674-
CoreWebView2FrameInfo GetCurrentFrameInfo();
675-
676673
/// `true` when the iterator has not run out of frames' info. If the
677674
/// collection over which the iterator is iterating is empty or if the
678675
/// iterator has gone past the end of the collection, then this is `false`.
679-
Int32 HasCurrentFrameInfo();
676+
Boolean HasCurrentFrameInfo { get; };
677+
678+
/// Get the current `CoreWebView2FrameInfo` of the iterator.
679+
CoreWebView2FrameInfo GetCurrentFrameInfo();
680680

681681
/// Move the iterator to the next frame's info in the collection.
682682
Boolean MoveNext();

0 commit comments

Comments
 (0)