BindingContext 类 
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
基于命令行分析程序结果、注入的服务和其他值源创建对象实例。
public ref class BindingContext sealed : IServiceProvider
	public sealed class BindingContext : IServiceProvider
	type BindingContext = class
    interface IServiceProvider
	Public NotInheritable Class BindingContext
Implements IServiceProvider
		- 继承
 - 
				BindingContext
 
- 实现
 
属性
| Console | 
		 在当前调用期间应向其写入输出的控制台。  | 
        	
| ParseResult | 
		 当前调用的解析结果。  | 
        	
方法
| AddService(Type, Func<IServiceProvider,Object>) | 
		 将指定的服务工厂添加到绑定上下文。  | 
        	
| AddService<T>(Func<IServiceProvider,T>) | 
		 将指定的服务工厂添加到绑定上下文。  | 
        	
| Equals(Object) | 
		 确定指定对象是否等于当前对象。 (继承自 Object) | 
        	
| GetHashCode() | 
		 作为默认哈希函数。 (继承自 Object) | 
        	
| GetService(Type) | 
		 获取指定类型的服务对象。  | 
        	
| GetType() | 
		 获取当前实例的 Type。 (继承自 Object) | 
        	
| MemberwiseClone() | 
		 创建当前 Object 的浅表副本。 (继承自 Object) | 
        	
| ToString() | 
		 返回表示当前对象的字符串。 (继承自 Object) |