Share via


TeamExplorerModel 类

继承层次结构

System.Object
  Microsoft.TeamFoundation.Controls.WPF.TeamExplorer.Framework.TeamExplorerModel

命名空间:  Microsoft.TeamFoundation.Controls.WPF.TeamExplorer.Framework
程序集:  Microsoft.TeamFoundation.Controls(在 Microsoft.TeamFoundation.Controls.dll 中)

语法

声明
Public Class TeamExplorerModel _
    Implements IDisposable, IServiceContainer, IServiceProvider
public class TeamExplorerModel : IDisposable, 
    IServiceContainer, IServiceProvider

TeamExplorerModel 类型公开以下成员。

构造函数

  名称 说明
公共方法 TeamExplorerModel

页首

属性

  名称 说明
受保护的属性 CompositionContainer
受保护的属性 CompositionService
公共属性 IsDiscoveryCompleted
公共属性 IsDiscoveryRunning
公共属性 PageCandidates
公共属性 ParentServiceProvider
公共属性 SectionCandidates

页首

方法

  名称 说明
公共方法 DiscoverPluginsAsync
公共方法 Dispose
公共方法 Equals 确定指定的对象是否等于当前对象。 (继承自 Object。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
受保护的方法 GetCompositionService
公共方法 GetHashCode 用作特定类型的哈希函数。 (继承自 Object。)
公共方法 GetService
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

扩展方法

  名称 说明
公共扩展方法 GetService<T>() 已重载。 (由 IServiceProviderExtensions 定义。)
公共扩展方法 GetService<T, V>() 已重载。 (由 IServiceProviderExtensions 定义。)

页首

显式接口实现

  名称 说明
显式接口实现私有方法 IServiceContainer.AddService(Type, ServiceCreatorCallback)
显式接口实现私有方法 IServiceContainer.AddService(Type, Object)
显式接口实现私有方法 IServiceContainer.AddService(Type, ServiceCreatorCallback, Boolean)
显式接口实现私有方法 IServiceContainer.AddService(Type, Object, Boolean)
显式接口实现私有方法 IServiceProvider.GetService
显式接口实现私有方法 IServiceContainer.RemoveService(Type)
显式接口实现私有方法 IServiceContainer.RemoveService(Type, Boolean)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参见

参考

Microsoft.TeamFoundation.Controls.WPF.TeamExplorer.Framework 命名空间