Compartir a través de


SourceText.WithChanges Método

Definición

Sobrecargas

WithChanges(TextChange[])

Construye un nuevo SourceText a partir de este texto con los cambios especificados.

WithChanges(IEnumerable<TextChange>)

Construye un nuevo SourceText a partir de este texto con los cambios especificados.

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

Construye un nuevo SourceText a partir de este texto con los cambios especificados.

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

Parámetros

changes
TextChange[]

Devoluciones

Excepciones

Si algún cambio se superpone a otros cambios.

Comentarios

Los cambios no tienen que estar ordenados. Sin embargo, WithChanges(IEnumerable<TextChange>) funcionará mejor si son.

Se aplica a

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

Construye un nuevo SourceText a partir de este texto con los cambios especificados.

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

Parámetros

Devoluciones

Se aplica a