SourceText.WithChanges 方法

定义

重载

WithChanges(TextChange[])

使用指定的更改从此文本构造新的 SourceText。

WithChanges(IEnumerable<TextChange>)

使用指定的更改从此文本构造新的 SourceText。

WithChanges(TextChange[])

Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs

使用指定的更改从此文本构造新的 SourceText。

public:
 Microsoft::CodeAnalysis::Text::SourceText ^ WithChanges(... cli::array <Microsoft::CodeAnalysis::Text::TextChange> ^ changes);
public Microsoft.CodeAnalysis.Text.SourceText WithChanges (params Microsoft.CodeAnalysis.Text.TextChange[] changes);
member this.WithChanges : Microsoft.CodeAnalysis.Text.TextChange[] -> Microsoft.CodeAnalysis.Text.SourceText
Public Function WithChanges (ParamArray changes As TextChange()) As SourceText

参数

changes
TextChange[]

返回

例外

如果有任何更改与其他更改重叠。

注解

更改不必按排序顺序排列。 但是, WithChanges(IEnumerable<TextChange>) 将性能更好(如果为 )。

适用于

WithChanges(IEnumerable<TextChange>)

Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs
Source:
SourceText.cs

使用指定的更改从此文本构造新的 SourceText。

public:
 virtual Microsoft::CodeAnalysis::Text::SourceText ^ WithChanges(System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::Text::TextChange> ^ changes);
public virtual Microsoft.CodeAnalysis.Text.SourceText WithChanges (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Text.TextChange> changes);
abstract member WithChanges : seq<Microsoft.CodeAnalysis.Text.TextChange> -> Microsoft.CodeAnalysis.Text.SourceText
override this.WithChanges : seq<Microsoft.CodeAnalysis.Text.TextChange> -> Microsoft.CodeAnalysis.Text.SourceText
Public Overridable Function WithChanges (changes As IEnumerable(Of TextChange)) As SourceText

参数

返回

适用于