C# Класс Microsoft.Cci.EditDescriptor

Наследование: IEditDescriptor
Показать файл Открыть проект

Открытые методы

Метод Описание
EditDescriptor ( EditEventKind kind, IDefinition affectedDefinition, IDefinition modifiedParent, IDefinition originalParent, ISourceDocument modifiedSourceDocument, ISourceDocument originalSourceDocument ) : System

Allocates an object that describes an edit to a compilation as being either the addition, deletion or modification of a definition.

Приватные методы

Метод Описание
ObjectInvariant ( ) : void

Описание методов

EditDescriptor() публичный Метод

Allocates an object that describes an edit to a compilation as being either the addition, deletion or modification of a definition.
public EditDescriptor ( EditEventKind kind, IDefinition affectedDefinition, IDefinition modifiedParent, IDefinition originalParent, ISourceDocument modifiedSourceDocument, ISourceDocument originalSourceDocument ) : System
kind EditEventKind The kind of edit that has been performed (addition, deletion or modification).
affectedDefinition IDefinition The definition that has been added, deleted or modified.
modifiedParent IDefinition The new version of the parent of the affected definition (see also this.OriginalParent). /// If the edit is an addition or modification, this.ModifiedParent is the actual parent of this.AffectedDefinition. /// If this.AffectedDefinition does not have a parent then this.ModifiedParent is the same as this.AffectedDefinition.
originalParent IDefinition The original parent of the affected definition (see also this.ModifiedParent). /// If the edit is a deletion, this.OriginalParent is the parent of this.AffectedDefinition. /// If this.AffectedDefinition does not have a parent then this.OriginalParent is the same as this.AffectedDefinition.
modifiedSourceDocument ISourceDocument The source document that is the result of the edit described by this edit instance.
originalSourceDocument ISourceDocument The source document that has been edited as described by this edit instance.
Результат System