SourceText.WithChanges Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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
- changes
- IEnumerable<TextChange>