Пример #1
0
 /// <summary>
 /// 从构造上下文中获取对象
 /// </summary>
 /// <returns></returns>
 private object GetObjectFromConstruct(object id)
 {
     return(ConstructContext.Get(id));
 }
Пример #2
0
 /// <summary>
 /// 从构造上下文中获取对象
 /// </summary>
 /// <param name="id"></param>
 /// <returns></returns>
 private object GetObjectFromConstruct(object rootId, object id)
 {
     return(ConstructContext.Get(rootId, id));
 }
Пример #3
0
 /// <summary>
 /// 从构造上下文中获取对象
 /// </summary>
 /// <returns></returns>
 private object GetObjectFromConstruct(object id)
 {
     return(ConstructContext.Get(this.ObjectType, id));
 }