/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/EditorFeatures/VisualBasic/LineCommit/ICommitFormatter.vb
25 строк
1 KB
Jonathon Marolf
update headers
23 янв 2020, 04:01
Не верифицирован
23 янв 2020, 04:01
91571a3
Код
Авторство
О чём код?
' 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 file in the project root for more information. Imports System.Threading Imports Microsoft.VisualStudio.Text Namespace Microsoft.CodeAnalysis.Editor.VisualBasic.LineCommit Friend Interface ICommitFormatter ''' <summary> ''' Commits a region by formatting and case correcting it. It is assumed that an ''' ITextUndoTransaction is open the underlying text buffer, as multiple edits may be done ''' by this function. Further, if the operation is cancelled, the buffer may be left in a ''' partially committed state that must be rolled back by the transaction. ''' </summary> Sub CommitRegion( spanToFormat As SnapshotSpan, isExplicitFormat As Boolean, useSemantics As Boolean, dirtyRegion As SnapshotSpan, baseSnapshot As ITextSnapshot, baseTree As SyntaxTree, cancellationToken As CancellationToken) End Interface End Namespace