Table of Contents

Class XmlRepository

Namespace
Alternet.Syntax.CodeCompletion
Assembly
Alternet.Syntax.Parsers.Advanced.v9.dll

Represents properties and methods to perform code completion functionality for Xml schema-based parser.

public class XmlRepository : CodeCompletionRepository, IXmlRepository, ICodeCompletionRepository, IDisposable
Inheritance
XmlRepository
Implements

Constructors

XmlRepository(bool, ISyntaxTree)

Initializes a new instance of the XmlRepository class with specified parameters.

Properties

AlphaImages

Represents collection of alpha images used for code completion.

AlphaImagesHighDpi

Gets Alpha ImageList attached to this CodeCompletionRepository for high DPI.

Images

Represents collection of images used for code completion.

ImagesHighDpi

Represents collection of images used for code completion for high DPI.

Schema

Gets or sets an XmlSchema used to define XML document structure.

Methods

CodeCompletion(string, Point, CodeCompletionArgs, ISyntaxNode)

Performs code completion for the specified text representing language element.

CreateListMembers()
FillAttribute(IListMembers, XmlSchemaAttribute, ISyntaxNode, bool)
FillAttributes(IListMembers, XmlSchemaType, ISyntaxNode, bool)
FillElement(IListMembers, XmlSchemaGroupBase, XmlSchemaObject, ISyntaxNode, Point, bool)
FillElements(IListMembers, XmlSchemaType, ISyntaxNode, Point, bool)
FillFacetElement(IListMembers, XmlSchemaFacet, ISyntaxNode)
FillGroupElements(IListMembers, XmlSchemaGroupBase, ISyntaxNode, Point, bool)
FillRestrictions(IListMembers, XmlSchemaSimpleType, ISyntaxNode)
FillSchemaElement(IListMembers, XmlSchemaObject, bool)
FillSchemaElements(IListMembers, XmlSchema, bool)
FillTemplates(IListMembers, bool)
GetAttributeType(XmlSchemaType, string)
GetCodeSnippets(string)

Returns code snippets for the given language.

GetElementName(XmlSchemaElement)
GetNodePath(ISyntaxNode)
GetSchemaType(string)
GetSchemaType(XmlSchemaObject, out string)
InitTemplates()
IsIdentifierChar(char)
LoadImages()
LoadRootSchemaTypes(XmlSchemaObjectCollection)
LoadSchemaTypes(string, XmlSchemaObjectCollection)
Members_ClosePopup(object, ClosingEventArgs)
UpdateSchemaTypes()