Search Results for

    Show / Hide Table of Contents

    Class TextChangeEventArgs

    Inheritance
    object
    EventArgs
    TextChangeEventArgs
    Inherited Members
    EventArgs.Empty
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Microsoft.CodeAnalysis.Text
    Assembly: Microsoft.CodeAnalysis.dll
    Syntax
    public class TextChangeEventArgs : EventArgs

    Constructors

    TextChangeEventArgs(SourceText, SourceText, params TextChangeRange[])

    Declaration
    public TextChangeEventArgs(SourceText oldText, SourceText newText, params TextChangeRange[] changes)
    Parameters
    Type Name Description
    SourceText oldText
    SourceText newText
    TextChangeRange[] changes

    TextChangeEventArgs(SourceText, SourceText, IEnumerable<TextChangeRange>)

    Declaration
    public TextChangeEventArgs(SourceText oldText, SourceText newText, IEnumerable<TextChangeRange> changes)
    Parameters
    Type Name Description
    SourceText oldText
    SourceText newText
    IEnumerable<TextChangeRange> changes

    Properties

    Changes

    Declaration
    public IReadOnlyList<TextChangeRange> Changes { get; }
    Property Value
    Type Description
    IReadOnlyList<TextChangeRange>

    NewText

    Declaration
    public SourceText NewText { get; }
    Property Value
    Type Description
    SourceText

    OldText

    Declaration
    public SourceText OldText { get; }
    Property Value
    Type Description
    SourceText
    In this article
    Back to top Generated by DocFX | Copyright (c) 2018- The NUnit Project - Licensed under CC BY-NC-SA 4.0