IntellisenseProvider.cs
上传用户:hbhltzc
上传日期:2022-06-04
资源大小:1925k
文件大小:1k
源码类别:
xml/soap/webservice
开发平台:
Visual C++
- using System;
- using System.Collections.Generic;
- using System.Text;
- using System.Xml.Schema;
- namespace XmlNotepad {
- public interface IIntellisenseProvider {
- Uri BaseUri { get; }
- TreeNode ContextNode {get;set;}
- void SetContextNode(TreeNode node);
- bool IsNameEditable { get; }
- bool IsValueEditable { get; }
- XmlSchemaType GetSchemaType();
- string GetDefaultValue();
- IIntellisenseList GetExpectedNames();
- IIntellisenseList GetExpectedValues();
- IXmlBuilder Builder { get; }
- IXmlEditor Editor { get; }
- }
- public interface IIntellisenseList {
- // If open is true then the user can enter something other than
- // what is in the list of values returned below.
- bool IsOpen { get; }
- // Count of items in the list
- int Count { get; }
- // Returns intellisense string at given position.
- string GetValue(int i);
- // Returns tooltip for given item
- string GetTooltip(int i);
- }
- }