Dela via


IMarkupSourceProvider Members

Include Protected Members
Include Inherited Members

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Interface to the host provider of source to the MarkupDocumentTreeManager class.

The IMarkupSourceProvider type exposes the following members.

Methods

 

Name

Description

Public method

ClearErrors

Clears previously reported errors.

Public method

CreateChanger

Creates a changer for the source this provider represents.

Public method

CreateReader

Creates a reader for the source this provider represents.

Public method

ErrorsEncountered

Called whenever source errors are encountered.

Public method

GetSourceVersion

Returns an identifier for the current version of the source.

Public method

GetTextRange

Gets a range of characters in the source this provider represents

Public method

ReportDocumentUpdateState

Reports changes to the document state.

Top

Properties

 

Name

Description

Public property

AssemblyReferences

Gets the assemblies referenced by the project this source file is associated with.

Public property

DefaultNamespace

Gets the default namespace, if any, for the source file.

Public property

FileName

Gets the name of the file to use in error messages.

Public property

LocalAssemblyName

Gets the local assembly name.

Top

Events

 

Name

Description

Public event

AssemblyReferencesChanged

Occurs when the set of references the source provider is referencing has changed.

Public event

SourceChange

Occurs when the source changes or the list of referenced assemblies changes.

Top

See Also

Reference

IMarkupSourceProvider Interface

Microsoft.Windows.Design.Documents Namespace