ICodeDocumentPropertyChangeEventSink Interface
Provides the base requirements for an object that can be notified of when an ICodeDocument's properties, such as ParseData or FileName, are changed.
public interface ICodeDocumentPropertyChangeEventSink
Remarks
Objects implementing this event sink interface can be registered as a service with an ISyntaxLanguage using the RegisterService(object, object) method. Any object implementing this interface will be notified automatically when related events occur.
Methods
NotifyFileNameChanged(ICodeDocument, StringPropertyChangedEventArgs)
Occurs after the value of the FileName property has changed.
void NotifyFileNameChanged(ICodeDocument document, StringPropertyChangedEventArgs e)
Parameter | Type | Description |
---|---|---|
document | ICodeDocument | The ICodeDocument whose FileName property is changed. |
e | StringPropertyChangedEventArgs | The StringPropertyChangedEventArgs that contains the event data. |
NotifyParseDataChanged(ICodeDocument, ParseDataPropertyChangedEventArgs)
Occurs after the value of the ParseData property has changed.
void NotifyParseDataChanged(ICodeDocument document, ParseDataPropertyChangedEventArgs e)
Parameter | Type | Description |
---|---|---|
document | ICodeDocument | The ICodeDocument whose ParseData property is changed. |
e | ParseDataPropertyChangedEventArgs | The ParseDataPropertyChangedEventArgs that contains the event data. |